From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-869671-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3867259CA3 for <garchives@archives.gentoo.org>; Mon, 14 Mar 2016 15:23:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C976021C04E; Mon, 14 Mar 2016 15:23:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5A1BA21C04E for <gentoo-commits@lists.gentoo.org>; Mon, 14 Mar 2016 15:23:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EBEFC34087C for <gentoo-commits@lists.gentoo.org>; Mon, 14 Mar 2016 15:23:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0D4F51F2 for <gentoo-commits@lists.gentoo.org>; Mon, 14 Mar 2016 15:23:50 +0000 (UTC) From: "Michael Sterrett" <mr_bones_@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Sterrett" <mr_bones_@gentoo.org> Message-ID: <1457969008.675002d835c013fc3fff2836a740779a966f1535.mr_bones_@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/naev/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-strategy/naev/Manifest games-strategy/naev/naev-0.6.1.ebuild X-VCS-Directories: games-strategy/naev/ X-VCS-Committer: mr_bones_ X-VCS-Committer-Name: Michael Sterrett X-VCS-Revision: 675002d835c013fc3fff2836a740779a966f1535 X-VCS-Branch: master Date: Mon, 14 Mar 2016 15:23:50 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e436c18b-e961-4da3-b5d5-545690e2d418 X-Archives-Hash: d27481a27bc8e835ce7dd06fb2bee5eb commit: 675002d835c013fc3fff2836a740779a966f1535 Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> AuthorDate: Mon Mar 14 15:22:53 2016 +0000 Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> CommitDate: Mon Mar 14 15:23:28 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=675002d8 games-strategy/naev: version bump (bug #577240) Package-Manager: portage-2.2.26 games-strategy/naev/Manifest | 2 + games-strategy/naev/naev-0.6.1.ebuild | 82 +++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) diff --git a/games-strategy/naev/Manifest b/games-strategy/naev/Manifest index 4ec8750..149dc19 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 0000000..d40fddb --- /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 +}