From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4808C1382C5 for ; Tue, 1 Dec 2020 23:05:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3656E088D; Tue, 1 Dec 2020 23:05:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BB187E088D for ; Tue, 1 Dec 2020 23:05:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3D60E340CEE for ; Tue, 1 Dec 2020 23:05:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B3C2538A for ; Tue, 1 Dec 2020 23:05:26 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1606861927.c9f8ba0276d96d8d28e7ac2c0061043fb1fad760.marecki@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/metadata.xml games-strategy/naev/naev-0.7.0.ebuild X-VCS-Directories: games-strategy/naev/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: c9f8ba0276d96d8d28e7ac2c0061043fb1fad760 X-VCS-Branch: master Date: Tue, 1 Dec 2020 23:05:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d911e345-2b1d-4026-a105-47afe67c0725 X-Archives-Hash: 540c8b0113a21f145d716013ecd82df9 commit: c9f8ba0276d96d8d28e7ac2c0061043fb1fad760 Author: Azamat H. Hackimov gmail com> AuthorDate: Sun Jul 19 22:47:33 2020 +0000 Commit: Marek Szuba gentoo org> CommitDate: Tue Dec 1 22:32:07 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9f8ba02 games-strategy/naev: update to 0.7.0 Migrate to EAPI 7, use github sources. Closes: https://bugs.gentoo.org/546562 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Azamat H. Hackimov gmail.com> Signed-off-by: Marek Szuba gentoo.org> games-strategy/naev/Manifest | 2 ++ games-strategy/naev/metadata.xml | 2 +- games-strategy/naev/naev-0.7.0.ebuild | 68 +++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 1 deletion(-) diff --git a/games-strategy/naev/Manifest b/games-strategy/naev/Manifest index bf071dd302e..23ec384b96d 100644 --- a/games-strategy/naev/Manifest +++ b/games-strategy/naev/Manifest @@ -1,2 +1,4 @@ DIST naev-0.6.1.tar.bz2 1047908 BLAKE2B 3763440c64f89c5ceb5993a3e4ee356d0cc615df8b70dba14ce0fb35d12a0a136e82958349887d9c5a719e14d9ddfc47beb524b88650ea6f7a6859a6422d6898 SHA512 4766c80b49de5a7e748948f0404ac54edbc5afa80618150d1f993d66c7462ea73bfc5220d73073cb51cd76ff5dc6ecdf935d6f843051943136ceefaea9837203 +DIST naev-0.7.0-ndata.zip 319608404 BLAKE2B e6edd79282171d4b327d220b33af37720e09f7137a26697de472e3494587525de5d9509865bfccc1093f5d4befa11faa10e0d4f4c59ea8621ecd8d564eb546fe SHA512 5fa8faad36e410f0d2af1c80e6fedbffdd020da72dc96b329ce623e9836490cfb515c1bb88719045491366ca96a32888374029eec6cd14ed86ac8597750995ca +DIST naev-0.7.0.tar.bz2 1076658 BLAKE2B 582bbfbc16e33d16600c19928ed6810dfe5fd3165930e6a51ec9b65d25305cd0bbfaf6f4cced12c5b7f76163ed4dc36b7108e81f4a4e82dc626c6045d3fe769f SHA512 9f8a2912e9f4f29ed6e276b008d4010da3ccdd309de5bb4360c393f2704aa7aff6e18db9e5d3657b4229e911ddec9b2a3312cf182c3c48a91a007a91138d84ae DIST ndata-0.6.1.zip 303984255 BLAKE2B 154d8b326e2596cfe16fc646e7d482c07d7015253b6933889d12b93a2ee7e28649b1f3ffcb0c0ed2bfe9d1e3654623cab00113486d05fe6fd1262ce989bf9c25 SHA512 71c3024e1713b094b63cb0de3c70239d61c54142b715e61d5206c5eb3cb8c7a851fc1b388ecf891110dd8bb5c2b3759af71d20f39cb6e629c71b27386a57d7fe diff --git a/games-strategy/naev/metadata.xml b/games-strategy/naev/metadata.xml index fd273f3193a..935309187f7 100644 --- a/games-strategy/naev/metadata.xml +++ b/games-strategy/naev/metadata.xml @@ -12,6 +12,6 @@ - naev + naev/naev diff --git a/games-strategy/naev/naev-0.7.0.ebuild b/games-strategy/naev/naev-0.7.0.ebuild new file mode 100644 index 00000000000..20d6fd69fb5 --- /dev/null +++ b/games-strategy/naev/naev-0.7.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit xdg-utils + +DESCRIPTION="A 2D space trading and combat game, in a similar vein to Escape Velocity" +HOMEPAGE="https://naev.org/ https://github.com/naev/naev" +SRC_URI="https://github.com/naev/naev/releases/download/${P}/${P}.tar.bz2 + https://github.com/naev/naev/releases/download/${P}/${P}-ndata.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}" +BDEPEND="virtual/pkgconfig" + +src_unpack() { + unpack ${P}.tar.bz2 +} + +src_configure() { + econf \ + --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/metainfo \ + Graphicsdir=/usr/share/applications \ + install + insinto /usr/share/${PN} + newins "${DISTDIR}/${P}-ndata.zip" ndata + + rm -f "${D}/usr/share/doc/${PF}/LICENSE" +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +}