Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/nestopia/
Date: Wed, 09 Feb 2022 18:54:14
Message-Id: 1644432658.30b84d03e116543ed1df04a5e1165cc7ab8f0dd9.ionen@gentoo
1 commit: 30b84d03e116543ed1df04a5e1165cc7ab8f0dd9
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 9 18:50:56 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 9 18:50:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30b84d03
7
8 games-emulation/nestopia: add 1.51.1
9
10 This version switches from GTK to FLTK, removes the switch for
11 optional gui and the support for libao/jack (most USE are gone).
12
13 Dropped [video] from libsdl2, it's only used for input+audio and
14 fltk[opengl] handles the display.
15
16 Closes: https://bugs.gentoo.org/832960
17 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
18
19 games-emulation/nestopia/Manifest | 1 +
20 games-emulation/nestopia/nestopia-1.51.1.ebuild | 42 +++++++++++++++++++++++++
21 2 files changed, 43 insertions(+)
22
23 diff --git a/games-emulation/nestopia/Manifest b/games-emulation/nestopia/Manifest
24 index a891a84a0cce..38f8e069f410 100644
25 --- a/games-emulation/nestopia/Manifest
26 +++ b/games-emulation/nestopia/Manifest
27 @@ -1 +1,2 @@
28 DIST nestopia-1.50.tar.gz 1529804 BLAKE2B ef2fdf6ffb6ff9bb5f222730869d6deadb892c0a3996e97750afee692ec1d3b997e2bfe353a4fe26b9771781f659de83dda5e4676e221f4b9beaa512d6873ca4 SHA512 6ea389d4891c7cfa36517495735ea0f34ba9427e51757113d0fe2b72d5ce5b11d7e6b7c02fd1e4e347a13bba06823e334800ff15036872e09b8561c10c7cb568
29 +DIST nestopia-1.51.1.tar.gz 1578970 BLAKE2B 5db7a380239c207843d5edadf5a174059d4566cd7b68aca01515db4940be3a6f6d02421f1499df28d4ac026ec435650452eb43306d1e49487063a06bce16b961 SHA512 68da5e9ab7b848d895a8893a18ef50d90758258fbf7f86ca5df0fe95e74bad761aa436dca79b402439a12fd4dd1430b22e45ee202168be3f9f751190a7ae6131
30
31 diff --git a/games-emulation/nestopia/nestopia-1.51.1.ebuild b/games-emulation/nestopia/nestopia-1.51.1.ebuild
32 new file mode 100644
33 index 000000000000..c6bdbe0d6fb8
34 --- /dev/null
35 +++ b/games-emulation/nestopia/nestopia-1.51.1.ebuild
36 @@ -0,0 +1,42 @@
37 +# Copyright 1999-2022 Gentoo Authors
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=8
41 +
42 +inherit autotools xdg
43 +
44 +DESCRIPTION="Portable Nintendo Entertainment System emulator written in C++"
45 +HOMEPAGE="http://0ldsk00l.ca/nestopia/"
46 +
47 +if [[ ${PV} == 9999 ]]; then
48 + inherit git-r3
49 + EGIT_REPO_URI="https://github.com/0ldsk00l/nestopia.git"
50 +else
51 + SRC_URI="https://github.com/0ldsk00l/nestopia/archive/${PV}.tar.gz -> ${P}.tar.gz"
52 + KEYWORDS="~amd64 ~x86"
53 +fi
54 +
55 +LICENSE="GPL-2+"
56 +SLOT="0"
57 +IUSE="doc"
58 +
59 +RDEPEND="
60 + app-arch/libarchive:=
61 + media-libs/libglvnd
62 + media-libs/libsdl2[joystick,sound]
63 + sys-libs/zlib:=
64 + x11-libs/fltk:1[opengl]"
65 +DEPEND="${RDEPEND}"
66 +BDEPEND="
67 + sys-devel/autoconf-archive
68 + virtual/pkgconfig"
69 +
70 +src_prepare() {
71 + default
72 +
73 + eautoreconf
74 +}
75 +
76 +src_configure() {
77 + econf $(use_enable doc)
78 +}