Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/snes9x/
Date: Thu, 27 May 2021 07:57:26
Message-Id: 1622102233.e04d380d8a8bf5849123d6181ab1aaedd13c732e.polynomial-c@gentoo
1 commit: e04d380d8a8bf5849123d6181ab1aaedd13c732e
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 27 07:57:00 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu May 27 07:57:13 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e04d380d
7
8 games-emulation/snes9x: Removed old
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11
12 games-emulation/snes9x/Manifest | 1 -
13 games-emulation/snes9x/snes9x-1.59.2.ebuild | 128 ----------------------------
14 2 files changed, 129 deletions(-)
15
16 diff --git a/games-emulation/snes9x/Manifest b/games-emulation/snes9x/Manifest
17 index 35dbc3e331c..c477123ee77 100644
18 --- a/games-emulation/snes9x/Manifest
19 +++ b/games-emulation/snes9x/Manifest
20 @@ -1,2 +1 @@
21 -DIST snes9x-1.59.2.tar.gz 2819803 BLAKE2B 3e077fe68dbc6ae9acf7625c1371971300cfb72143e0e98841dc8d75be5ccc45812d79d7810d28d1a5dc5c17a69cf0f9483e9c69e91437d864a4cbaf34852b35 SHA512 84d2dfc12a991b77b30ba9a591d285ecd4cc5fbb418282900209db9191d61611123ffa7d715b7abeed9b891e9af88ab4c46616502523a881127e2ede008236e4
22 DIST snes9x-1.60.tar.gz 2863228 BLAKE2B 0ac3bdd2403221f1013e2b5438aacc4e7d361e943ac7edc56f8ef22827d81484e0b162b84f739ce0f68fe58021124275fd908ccdde99e1e1d6d6c9c0a6e3d17b SHA512 840b006a8fbd479fd5ceb2d94af4ef6470c5e27a3e6c8ddb0dffc8d3e51f465669144cd428bfce28b2ed4f68e70d8f252f2d8a2cae602ba797791d7e483c14c9
23
24 diff --git a/games-emulation/snes9x/snes9x-1.59.2.ebuild b/games-emulation/snes9x/snes9x-1.59.2.ebuild
25 deleted file mode 100644
26 index ca9a701ff2b..00000000000
27 --- a/games-emulation/snes9x/snes9x-1.59.2.ebuild
28 +++ /dev/null
29 @@ -1,128 +0,0 @@
30 -# Copyright 1999-2019 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -inherit autotools flag-o-matic meson xdg
36 -
37 -DESCRIPTION="Super Nintendo Entertainment System (SNES) emulator"
38 -HOMEPAGE="https://github.com/snes9xgit/snes9x"
39 -SRC_URI="https://github.com/snes9xgit/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
40 -
41 -LICENSE="Snes9x GPL-2 GPL-2+ LGPL-2.1 LGPL-2.1+ ISC MIT ZLIB Info-ZIP"
42 -SLOT="0"
43 -KEYWORDS="~amd64 ~ppc64 ~x86"
44 -IUSE="alsa debug gtk multilib netplay opengl oss png pulseaudio portaudio wayland xinerama +xv"
45 -RESTRICT="bindist"
46 -
47 -RDEPEND="
48 - sys-libs/zlib:=[minizip]
49 - x11-libs/libX11
50 - x11-libs/libXext
51 - png? ( media-libs/libpng:0= )
52 - gtk? (
53 - dev-libs/glib:2
54 - media-libs/libsdl2[joystick]
55 - >=x11-libs/gtk+-3.22:3[wayland?]
56 - x11-libs/libXrandr
57 - x11-misc/xdg-utils
58 - alsa? ( media-libs/alsa-lib )
59 - opengl? (
60 - media-libs/libepoxy
61 - virtual/opengl
62 - )
63 - portaudio? ( >=media-libs/portaudio-19_pre )
64 - pulseaudio? ( media-sound/pulseaudio )
65 - xv? ( x11-libs/libXv )
66 - wayland? ( dev-libs/wayland )
67 - )
68 - xinerama? ( x11-libs/libXinerama )"
69 -DEPEND="${RDEPEND}
70 - x11-base/xorg-proto"
71 -BDEPEND="virtual/pkgconfig"
72 -
73 -S="${WORKDIR}/${P}/unix"
74 -
75 -PATCHES=(
76 - "${FILESDIR}"/${PN}-1.53-cross-compile.patch
77 - "${FILESDIR}"/${PN}-1.59-build-system.patch
78 -)
79 -
80 -src_prepare() {
81 - cd "${WORKDIR}/${P}" || die
82 - rm -r unzip || die
83 - default
84 - cd unix || die
85 - eautoreconf
86 - if use gtk ; then
87 - export EMESON_SOURCE="${WORKDIR}/${P}/gtk"
88 - fi
89 -}
90 -
91 -src_configure() {
92 - append-ldflags -Wl,-z,noexecstack
93 -
94 - # build breaks when zlib/zip support is disabled
95 - local myeconfargs=(
96 - --enable-gamepad
97 - --enable-gzip
98 - --enable-zip
99 - --with-system-zip
100 - $(use_enable debug debugger)
101 - $(use_enable netplay)
102 - $(use_enable png screenshot)
103 - $(use_enable xinerama)
104 - )
105 - econf "${myeconfargs[@]}"
106 -
107 - if use gtk; then
108 - local emesonargs=(
109 - -Dalsa="$(usex alsa true false)"
110 - -Ddebugger="$(usex debug true false)"
111 - -Dgtk2=false
112 - -Dgtk3=true
113 - -Dopengl="$(usex opengl true false)"
114 - -Doss="$(usex oss true false)"
115 - -Dportaudio="$(usex portaudio true false)"
116 - -Dpulseaudio="$(usex pulseaudio true false)"
117 - -Dscreenshot="$(usex png true false)"
118 - -Dsystem-zip=true
119 - -Dxv="$(usex xv true false)"
120 - -Dzlib=true
121 - -Dwayland="$(usex wayland true false)"
122 - )
123 - meson_src_configure
124 - fi
125 -}
126 -
127 -src_compile() {
128 - emake
129 - use gtk && meson_src_compile
130 -}
131 -
132 -src_install() {
133 - dobin ${PN}
134 -
135 - dodoc ../docs/{changes,control-inputs,controls,snapshots}.txt
136 - dodoc snes9x.conf.default
137 -
138 - if use gtk ; then
139 - meson_src_install
140 - dodoc ../gtk/AUTHORS
141 - fi
142 -
143 - docinto html
144 - dodoc {.,..}/docs/*.html
145 -}
146 -
147 -pkg_preinst() {
148 - use gtk && xdg_pkg_preinst
149 -}
150 -
151 -pkg_postinst() {
152 - use gtk && xdg_pkg_postinst
153 -}
154 -
155 -pkg_postrm() {
156 - use gtk && xdg_pkg_postrm
157 -}