public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/naev/
Date: Tue,  1 Dec 2020 23:05:26 +0000 (UTC)	[thread overview]
Message-ID: <1606861927.c9f8ba0276d96d8d28e7ac2c0061043fb1fad760.marecki@gentoo> (raw)

commit:     c9f8ba0276d96d8d28e7ac2c0061043fb1fad760
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Sun Jul 19 22:47:33 2020 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> 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 <azamat.hackimov <AT> gmail.com>
Signed-off-by: Marek Szuba <marecki <AT> 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 @@
 	</flag>
 	</use>
 	<upstream>
-		<remote-id type="sourceforge">naev</remote-id>
+		<remote-id type="github">naev/naev</remote-id>
 	</upstream>
 </pkgmetadata>

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
+}


             reply	other threads:[~2020-12-01 23:05 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-01 23:05 Marek Szuba [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
2019-12-06 20:32 David Seifert
2018-05-02 19:28 Pacho Ramos
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=1606861927.c9f8ba0276d96d8d28e7ac2c0061043fb1fad760.marecki@gentoo \
    --to=marecki@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