public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/naev/
Date: Wed,  2 May 2018 19:28:31 +0000 (UTC)	[thread overview]
Message-ID: <1525289282.1053d7cf800986e9453769eb12e49b79bc894e28.pacho@gentoo> (raw)

commit:     1053d7cf800986e9453769eb12e49b79bc894e28
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Wed May  2 18:40:19 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Wed May  2 19:28:02 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1053d7cf

games-strategy/naev: Stop using games.eclass

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 games-strategy/naev/naev-0.6.1-r1.ebuild | 79 ++++++++++++++++++++++++++++++++
 1 file changed, 79 insertions(+)

diff --git a/games-strategy/naev/naev-0.6.1-r1.ebuild b/games-strategy/naev/naev-0.6.1-r1.ebuild
new file mode 100644
index 00000000000..c7932c3eb32
--- /dev/null
+++ b/games-strategy/naev/naev-0.6.1-r1.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit flag-o-matic gnome2-utils
+
+DESCRIPTION="A 2D space trading and combat game, in a similar vein to Escape Velocity"
+HOMEPAGE="http://blog.naev.org/"
+SRC_URI="mirror://sourceforge/naev/${P}.tar.bz2
+	mirror://sourceforge/naev/ndata-${PV}.zip"
+
+LICENSE="GPL-2 GPL-3 public-domain CC-BY-3.0 CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug +mixer +openal"
+
+RDEPEND="
+	media-libs/libsdl2[X,sound,video]
+	dev-libs/libzip
+	dev-libs/libxml2
+	>=media-libs/freetype-2:2
+	>=media-libs/libvorbis-1.2.1
+	>=media-libs/libpng-1.2:0=
+	virtual/glu
+	virtual/opengl
+	dev-lang/lua:0
+	mixer? ( media-libs/sdl2-mixer )
+	openal? ( media-libs/openal )
+"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+"
+
+src_unpack() {
+	unpack ${P}.tar.bz2
+}
+
+src_configure() {
+	econf \
+		--docdir=/usr/share/doc/${PF} \
+		--enable-lua=shared \
+		$(use_enable debug) \
+		$(use_with openal) \
+		$(use_with mixer sdlmixer)
+}
+
+src_compile() {
+	emake V=1
+}
+
+src_install() {
+	emake \
+		DESTDIR="${D}" \
+		appicondir=/usr/share/pixmaps \
+		appdatadir=/usr/share/appdata \
+		Graphicsdir=/usr/share/applications \
+		install
+	insinto /usr/share/${PN}
+	newins "${DISTDIR}"/ndata-${PV}.zip ndata
+
+	local res
+	for res in 16 32 64 128; do
+		newicon -s ${res} extras/logos/logo${res}.png naev.png
+	done
+
+	rm -f "${D}"/usr/share/doc/${PF}/LICENSE
+}
+
+pkg_preinst() {
+	gnome2_icon_savelist
+}
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+	gnome2_icon_cache_update
+}


             reply	other threads:[~2018-05-02 19:28 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-02 19:28 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-26  8:47 [gentoo-commits] repo/gentoo:master commit in: games-strategy/naev/ Ionen Wolkens
2025-02-22  3:07 Ionen Wolkens
2025-01-09  8:39 Ionen Wolkens
2024-12-27 22:16 Ionen Wolkens
2024-12-24  6:15 Ionen Wolkens
2024-06-28 14:45 Ionen Wolkens
2024-06-21 12:49 Ionen Wolkens
2024-02-22  6:16 Ionen Wolkens
2024-02-02  8:13 Ionen Wolkens
2024-01-23  9:11 Ionen Wolkens
2024-01-15  7:29 Ionen Wolkens
2024-01-08 12:59 Ionen Wolkens
2023-12-24 10:02 Ionen Wolkens
2023-08-06  4:32 Ionen Wolkens
2023-07-20 12:02 Ionen Wolkens
2023-05-11 17:01 Ionen Wolkens
2023-04-24  3:43 Ionen Wolkens
2023-02-13 11:46 Ionen Wolkens
2023-02-05 12:11 Ionen Wolkens
2023-01-20 22:48 Ionen Wolkens
2023-01-20 22:48 Ionen Wolkens
2023-01-17  6:03 Ionen Wolkens
2023-01-14 14:42 Ionen Wolkens
2023-01-13  0:51 Ionen Wolkens
2023-01-11 11:26 Ionen Wolkens
2022-12-30  7:19 Ionen Wolkens
2022-12-23  9:13 Ionen Wolkens
2022-08-11  7:37 Ionen Wolkens
2022-07-21  5:38 Ionen Wolkens
2022-04-18 14:38 Ionen Wolkens
2022-04-03  1:37 Ionen Wolkens
2022-02-16  6:58 Ionen Wolkens
2022-02-05 23:39 Ionen Wolkens
2022-01-21 14:35 Ionen Wolkens
2022-01-03  2:08 Ionen Wolkens
2021-12-02 12:21 Ionen Wolkens
2021-05-27 21:06 David Seifert
2021-05-27 21:06 David Seifert
2021-03-30 11:53 David Seifert
2021-03-30 10:47 David Seifert
2021-03-30 10:47 David Seifert
2021-02-17  9:37 David Seifert
2021-02-17  9:37 David Seifert
2021-01-17  7:49 Sam James
2020-12-01 23:05 Marek Szuba
2020-12-01 23:05 Marek Szuba
2019-12-06 20:32 David Seifert
2018-05-02 19:28 Pacho Ramos
2017-12-21  1:57 David Seifert
2016-03-14 15:23 Michael Sterrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1525289282.1053d7cf800986e9453769eb12e49b79bc894e28.pacho@gentoo \
    --to=pacho@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox