summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2016-03-14 11:22:53 -0400
committerMichael Sterrett <mr_bones_@gentoo.org>2016-03-14 11:23:28 -0400
commit675002d835c013fc3fff2836a740779a966f1535 (patch)
tree48843f3b0b2882240d43dc22ffea2892ad4a1ab4 /games-strategy
parentdev-python/python-neutronclient: amd64/x86 stable, (ALLARCHES policy) wrt bug... (diff)
downloadgentoo-675002d835c013fc3fff2836a740779a966f1535.tar.gz
gentoo-675002d835c013fc3fff2836a740779a966f1535.tar.bz2
gentoo-675002d835c013fc3fff2836a740779a966f1535.zip
games-strategy/naev: version bump (bug #577240)
Package-Manager: portage-2.2.26
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/naev/Manifest2
-rw-r--r--games-strategy/naev/naev-0.6.1.ebuild82
2 files changed, 84 insertions, 0 deletions
diff --git a/games-strategy/naev/Manifest b/games-strategy/naev/Manifest
index 4ec87502aa55..149dc19df4fb 100644
--- a/games-strategy/naev/Manifest
+++ b/games-strategy/naev/Manifest
@@ -1,2 +1,4 @@
DIST naev-0.6.0.tar.bz2 1054649 SHA256 0f0b498c7642e36dfaa15f284e13b9aa2d20e4aa01ed812fb7854583e7161cac SHA512 263c404a9ec4d4dafdf2ea9afc1ea58679792916b9143b7646918210b9f5f4656fe315e0b83c7983646206d03329b3314430acc8a5cbea3da830d183702cde4b WHIRLPOOL 53a425ddd13b791c1b3469e6ed16a897609391e821056dc55e8b7484d5c394fee6956fe5c6e8be503c8bd1c6f382ad103200a2acefbfe5c17035851b3d0e1778
+DIST naev-0.6.1.tar.bz2 1047908 SHA256 71d4cf06d2af1a1b84dfb9ed0fd5e4b9b2295f119fc65079d8d36f102ba00b4b SHA512 4766c80b49de5a7e748948f0404ac54edbc5afa80618150d1f993d66c7462ea73bfc5220d73073cb51cd76ff5dc6ecdf935d6f843051943136ceefaea9837203 WHIRLPOOL 655585f8dc6ccebda2195459d1e4a29aa7cf333c9fbbcf01b9748a68892cc60cb9524943db667c2edb1ab00fa4f24de46877554c85e8c637463da7a48df8d1f7
DIST ndata-0.6.0.zip 302646395 SHA256 07ccb9f50652bceb8064fa1e48cd9df2b4ce0e3c52b60f27398cdfc3186ac52b SHA512 dc55a49132543477ad42d17224ceacc146b68ebc1f37e4325b1ffe61c64571ec47e012194103f59d664b64eb021c19741e184aca00d800d39efcdc3646146974 WHIRLPOOL 7a002a3de45bb121afad52e75c08e1a15a16ca5613ed3190f73335de93862389aa6376b0601744c756bfe76e77be048d877a9200c2046f4868e390ce5973e2b4
+DIST ndata-0.6.1.zip 303984255 SHA256 3d7c807637f3f4795db0aab29f02a76ee25398ecb53208f08a60be1197a86996 SHA512 71c3024e1713b094b63cb0de3c70239d61c54142b715e61d5206c5eb3cb8c7a851fc1b388ecf891110dd8bb5c2b3759af71d20f39cb6e629c71b27386a57d7fe WHIRLPOOL 7b065701263e5eee1d193801f06230be6cdb48417e1485913e5423f6b1af0cd8c6cce7f6c19903c86f22fb2c9854cb1f6959169c9f7cdc222c2b04585239167a
diff --git a/games-strategy/naev/naev-0.6.1.ebuild b/games-strategy/naev/naev-0.6.1.ebuild
new file mode 100644
index 000000000000..d40fddb81c7b
--- /dev/null
+++ b/games-strategy/naev/naev-0.6.1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit flag-o-matic gnome2-utils games
+
+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
+ >=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() {
+ egamesconf \
+ --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 "${GAMES_DATADIR}"/${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
+
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}