forked from funtoo/games-kit
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merged: flora: b5b6ddcbf736b509be67f12c4715e5e80d13e05d faustoo: 7518f05db70fcf45245b66f6ab2849ed13e0382a fusion809: b569e83ca29e63dd4d329fb646ec10949c16d0c1 gentoo-staging: 09c9eb58644c8cec9c0f5adf9cf99f31b56deb71
- Loading branch information
1 parent
e4aa902
commit 5a64c4d
Showing
10 changed files
with
189 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST snes9x-1.56.tar.gz 2876904 BLAKE2B b58dd5c31627cbb374183adb5fe0328739bbebda8c6907ab7f9153085c45d612e51c91ad3223cc10694c9c36a00f69c303c5865d3b022f2769353884056a91b2 SHA512 b8c9438a451ed9a52a66dc04e2bea841aaa9403a2fd266e7042555f93a159ced76061233220eb6fac0f106cea08835c13ef008b2432f6d658689e0fa8ee563e6 | ||
DIST snes9x-1.57.tar.gz 2959157 BLAKE2B 6307976247eb3a3bcb506028d75d9054ea853db5c629870a89832fd93ee2fe256799b9191922c67fcd8ef1ed2344d16326212001661c5038a88f290346b9f35c SHA512 d17ec45eeae8f57c618a51243ac54bc3a2a3f09632e4e50c51781cf8557362dbfa7856d9d4ecdebeea344041c2686e2256f6bcd2dcc71660fcf336cf887dcb1c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
# Copyright 1999-2018 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 | ||
|
||
inherit autotools flag-o-matic gnome2-utils xdg-utils | ||
|
||
DESCRIPTION="Super Nintendo Entertainment System (SNES) emulator" | ||
HOMEPAGE="https://github.com/snes9xgit/snes9x" | ||
SRC_URI="https://github.com/snes9xgit/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" | ||
|
||
LICENSE="Snes9x GPL-2 GPL-2+ LGPL-2.1 LGPL-2.1+ ISC MIT ZLIB Info-ZIP" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd" | ||
IUSE="alsa debug gtk joystick multilib netplay nls opengl oss png pulseaudio portaudio wayland xinerama +xv" | ||
RESTRICT="bindist" | ||
|
||
RDEPEND=" | ||
sys-libs/zlib:=[minizip] | ||
x11-libs/libX11 | ||
x11-libs/libXext | ||
png? ( media-libs/libpng:0= ) | ||
gtk? ( | ||
dev-libs/glib:2 | ||
dev-libs/libxml2 | ||
>=x11-libs/gtk+-3.22:3[wayland?] | ||
x11-libs/libXrandr | ||
x11-misc/xdg-utils | ||
alsa? ( media-libs/alsa-lib ) | ||
joystick? ( media-libs/libsdl2[joystick] ) | ||
opengl? ( | ||
media-libs/libepoxy | ||
virtual/opengl | ||
) | ||
portaudio? ( >=media-libs/portaudio-19_pre ) | ||
pulseaudio? ( media-sound/pulseaudio ) | ||
xv? ( x11-libs/libXv ) | ||
wayland? ( dev-libs/wayland ) | ||
) | ||
xinerama? ( x11-libs/libXinerama )" | ||
DEPEND="${RDEPEND} | ||
virtual/pkgconfig | ||
x11-base/xorg-proto | ||
nls? ( dev-util/intltool )" | ||
|
||
S="${WORKDIR}/${P}/unix" | ||
|
||
PATCHES=( | ||
"${FILESDIR}"/${PN}-1.53-cross-compile.patch | ||
"${FILESDIR}"/${PN}-1.56-build-system.patch | ||
) | ||
|
||
src_prepare() { | ||
cd "${WORKDIR}"/${P} || die | ||
rm -r unzip || die | ||
default | ||
cd unix || die | ||
eautoreconf | ||
if use gtk; then | ||
cd ../gtk || die | ||
eautoreconf | ||
fi | ||
} | ||
|
||
src_configure() { | ||
append-ldflags -Wl,-z,noexecstack | ||
|
||
# build breaks when zlib/zip support is disabled | ||
local myeconfargs=( | ||
--enable-gzip | ||
--enable-zip | ||
--with-system-zip | ||
$(use_enable joystick gamepad) | ||
$(use_enable debug debugger) | ||
$(use_enable netplay) | ||
$(use_enable png screenshot) | ||
$(use_enable xinerama) | ||
) | ||
econf "${myeconfargs[@]}" | ||
|
||
if use gtk; then | ||
cd ../gtk || die | ||
myeconfargs=( | ||
--with-gtk3 | ||
--with-zlib | ||
--with-system-zip | ||
--without-gtk2 | ||
$(use_enable nls) | ||
$(use_with opengl) | ||
$(use_with joystick) | ||
$(use_with xv) | ||
$(use_with netplay) | ||
$(use_with alsa) | ||
$(use_with oss) | ||
$(use_with pulseaudio) | ||
$(use_with portaudio) | ||
$(use_with png screenshot) | ||
$(use_with wayland) | ||
) | ||
econf "${myeconfargs[@]}" | ||
fi | ||
} | ||
|
||
src_compile() { | ||
emake | ||
use gtk && emake -C ../gtk | ||
} | ||
|
||
src_install() { | ||
dobin ${PN} | ||
|
||
dodoc ../docs/{snes9x.conf.default,{changes,control-inputs,controls,snapshots}.txt} | ||
|
||
if use gtk; then | ||
emake -C ../gtk DESTDIR="${D}" install | ||
dodoc ../gtk/{AUTHORS,doc/README} | ||
fi | ||
|
||
docinto html | ||
dodoc {.,..}/docs/*.html | ||
} | ||
|
||
pkg_preinst() { | ||
use gtk && gnome2_icon_savelist | ||
} | ||
|
||
pkg_postinst() { | ||
if use gtk ; then | ||
gnome2_icon_cache_update | ||
xdg_desktop_database_update | ||
fi | ||
} | ||
|
||
pkg_postrm() { | ||
if use gtk ; then | ||
gnome2_icon_cache_update | ||
xdg_desktop_database_update | ||
fi | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="project"> | ||
<email>[email protected]</email> | ||
<name>Gentoo Games Project</name> | ||
</maintainer> | ||
<upstream> | ||
<remote-id type="sourceforge">stella</remote-id> | ||
</upstream> | ||
</pkgmetadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare | ||
DEPEND=sys-libs/zlib:=[minizip] x11-libs/libX11 x11-libs/libXext png? ( media-libs/libpng:0= ) gtk? ( dev-libs/glib:2 dev-libs/libxml2 >=x11-libs/gtk+-3.22 x11-libs/libXrandr x11-misc/xdg-utils alsa? ( media-libs/alsa-lib ) joystick? ( media-libs/libsdl2[joystick] ) opengl? ( media-libs/libepoxy virtual/opengl ) portaudio? ( >=media-libs/portaudio-19_pre ) pulseaudio? ( media-sound/pulseaudio ) xv? ( x11-libs/libXv ) ) xinerama? ( x11-libs/libXinerama ) virtual/pkgconfig x11-base/xorg-proto nls? ( dev-util/intltool ) >=app-portage/elt-patches-20170317 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 >=app-portage/elt-patches-20170317 >=sys-apps/sed-4 | ||
DEPEND=sys-libs/zlib:=[minizip] x11-libs/libX11 x11-libs/libXext png? ( media-libs/libpng:0= ) gtk? ( dev-libs/glib:2 dev-libs/libxml2 >=x11-libs/gtk+-3.0:3 x11-libs/libXrandr x11-misc/xdg-utils alsa? ( media-libs/alsa-lib ) joystick? ( media-libs/libsdl2[joystick] ) opengl? ( media-libs/libepoxy virtual/opengl ) portaudio? ( >=media-libs/portaudio-19_pre ) pulseaudio? ( media-sound/pulseaudio ) xv? ( x11-libs/libXv ) ) xinerama? ( x11-libs/libXinerama ) virtual/pkgconfig x11-base/xorg-proto nls? ( dev-util/intltool ) >=app-portage/elt-patches-20170317 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 >=app-portage/elt-patches-20170317 >=sys-apps/sed-4 | ||
DESCRIPTION=Super Nintendo Entertainment System (SNES) emulator | ||
EAPI=6 | ||
HOMEPAGE=https://github.com/snes9xgit/snes9x | ||
IUSE=alsa debug gtk joystick multilib netplay nls opengl oss png pulseaudio portaudio xinerama +xv | ||
KEYWORDS=~amd64 ~ppc64 ~x86 ~x86-fbsd | ||
LICENSE=Snes9x GPL-2 GPL-2+ LGPL-2.1 LGPL-2.1+ ISC MIT ZLIB Info-ZIP | ||
RDEPEND=sys-libs/zlib:=[minizip] x11-libs/libX11 x11-libs/libXext png? ( media-libs/libpng:0= ) gtk? ( dev-libs/glib:2 dev-libs/libxml2 >=x11-libs/gtk+-3.22 x11-libs/libXrandr x11-misc/xdg-utils alsa? ( media-libs/alsa-lib ) joystick? ( media-libs/libsdl2[joystick] ) opengl? ( media-libs/libepoxy virtual/opengl ) portaudio? ( >=media-libs/portaudio-19_pre ) pulseaudio? ( media-sound/pulseaudio ) xv? ( x11-libs/libXv ) ) xinerama? ( x11-libs/libXinerama ) | ||
RDEPEND=sys-libs/zlib:=[minizip] x11-libs/libX11 x11-libs/libXext png? ( media-libs/libpng:0= ) gtk? ( dev-libs/glib:2 dev-libs/libxml2 >=x11-libs/gtk+-3.0:3 x11-libs/libXrandr x11-misc/xdg-utils alsa? ( media-libs/alsa-lib ) joystick? ( media-libs/libsdl2[joystick] ) opengl? ( media-libs/libepoxy virtual/opengl ) portaudio? ( >=media-libs/portaudio-19_pre ) pulseaudio? ( media-sound/pulseaudio ) xv? ( x11-libs/libXv ) ) xinerama? ( x11-libs/libXinerama ) | ||
RESTRICT=bindist | ||
SLOT=0 | ||
SRC_URI=https://github.com/snes9xgit/snes9x/archive/1.56.tar.gz -> snes9x-1.56.tar.gz | ||
_eclasses_=autotools dc412f38566b91012efd58b9c203e6c3 epatch 8233751dc5105a6ae8fcd86ce2bb0247 epunt-cxx e99babeaa7d98c1caaa6a61a79902210 estack 5ac2a138d0b33354b764d84f9e835db8 eutils 1fb064d93b3ffd05c2fb19ef430a4aa1 flag-o-matic 02908f00f002f0f07c5b74783d778325 gnome2-utils 22ebae0b986793be079d9d93fa16a8ea libtool e32ea84bf82cf8987965b574672dba93 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee xdg-utils 9ef13b5c5bcf0c50d6aa53692d8e441c | ||
_md5_=27144ccfc4a48899012be225c67344b8 | ||
_md5_=2bf84a626998bc309b649f57afdfdace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare | ||
DEPEND=sys-libs/zlib:=[minizip] x11-libs/libX11 x11-libs/libXext png? ( media-libs/libpng:0= ) gtk? ( dev-libs/glib:2 dev-libs/libxml2 >=x11-libs/gtk+-3.22:3[wayland?] x11-libs/libXrandr x11-misc/xdg-utils alsa? ( media-libs/alsa-lib ) joystick? ( media-libs/libsdl2[joystick] ) opengl? ( media-libs/libepoxy virtual/opengl ) portaudio? ( >=media-libs/portaudio-19_pre ) pulseaudio? ( media-sound/pulseaudio ) xv? ( x11-libs/libXv ) wayland? ( dev-libs/wayland ) ) xinerama? ( x11-libs/libXinerama ) virtual/pkgconfig x11-base/xorg-proto nls? ( dev-util/intltool ) >=app-portage/elt-patches-20170317 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 >=app-portage/elt-patches-20170317 >=sys-apps/sed-4 | ||
DESCRIPTION=Super Nintendo Entertainment System (SNES) emulator | ||
EAPI=6 | ||
HOMEPAGE=https://github.com/snes9xgit/snes9x | ||
IUSE=alsa debug gtk joystick multilib netplay nls opengl oss png pulseaudio portaudio wayland xinerama +xv | ||
KEYWORDS=~amd64 ~ppc64 ~x86 ~x86-fbsd | ||
LICENSE=Snes9x GPL-2 GPL-2+ LGPL-2.1 LGPL-2.1+ ISC MIT ZLIB Info-ZIP | ||
RDEPEND=sys-libs/zlib:=[minizip] x11-libs/libX11 x11-libs/libXext png? ( media-libs/libpng:0= ) gtk? ( dev-libs/glib:2 dev-libs/libxml2 >=x11-libs/gtk+-3.22:3[wayland?] x11-libs/libXrandr x11-misc/xdg-utils alsa? ( media-libs/alsa-lib ) joystick? ( media-libs/libsdl2[joystick] ) opengl? ( media-libs/libepoxy virtual/opengl ) portaudio? ( >=media-libs/portaudio-19_pre ) pulseaudio? ( media-sound/pulseaudio ) xv? ( x11-libs/libXv ) wayland? ( dev-libs/wayland ) ) xinerama? ( x11-libs/libXinerama ) | ||
RESTRICT=bindist | ||
SLOT=0 | ||
SRC_URI=https://github.com/snes9xgit/snes9x/archive/1.57.tar.gz -> snes9x-1.57.tar.gz | ||
_eclasses_=autotools dc412f38566b91012efd58b9c203e6c3 epatch 8233751dc5105a6ae8fcd86ce2bb0247 epunt-cxx e99babeaa7d98c1caaa6a61a79902210 estack 5ac2a138d0b33354b764d84f9e835db8 eutils 1fb064d93b3ffd05c2fb19ef430a4aa1 flag-o-matic 02908f00f002f0f07c5b74783d778325 gnome2-utils 22ebae0b986793be079d9d93fa16a8ea libtool e32ea84bf82cf8987965b574672dba93 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee xdg-utils 9ef13b5c5bcf0c50d6aa53692d8e441c | ||
_md5_=885d1fc46fcb41966f711746c8f65e8c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
DEFINED_PHASES=configure install postinst postrm preinst prepare | ||
DEFINED_PHASES=configure install postinst postrm prepare | ||
DEPEND=media-libs/libsdl2[joystick?,opengl,video] media-libs/libpng:0= sys-libs/zlib >=app-portage/elt-patches-20170317 >=sys-apps/sed-4 | ||
DESCRIPTION=Stella Atari 2600 VCS Emulator | ||
DESCRIPTION=Multi-platform Atari 2600 VCS Emulator | ||
EAPI=6 | ||
HOMEPAGE=https://stella-emu.github.io/ | ||
HOMEPAGE=https://stella-emu.github.io | ||
IUSE=joystick | ||
KEYWORDS=~amd64 ~x86 | ||
LICENSE=GPL-2+ BSD | ||
RDEPEND=media-libs/libsdl2[joystick?,opengl,video] media-libs/libpng:0= sys-libs/zlib | ||
SLOT=0 | ||
SRC_URI=https://github.com/stella-emu/stella/releases/download/5.1.3/stella-5.1.3-src.tar.xz | ||
_eclasses_=desktop 2ccd1dd1dd7bfb8795eea024a4f91bb6 epatch 8233751dc5105a6ae8fcd86ce2bb0247 epunt-cxx e99babeaa7d98c1caaa6a61a79902210 estack 5ac2a138d0b33354b764d84f9e835db8 eutils 1fb064d93b3ffd05c2fb19ef430a4aa1 gnome2-utils 22ebae0b986793be079d9d93fa16a8ea ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee xdg-utils 9ef13b5c5bcf0c50d6aa53692d8e441c | ||
_md5_=c25b647c5ade3b620bacbadf7c576a62 | ||
_eclasses_=desktop 2ccd1dd1dd7bfb8795eea024a4f91bb6 epatch 8233751dc5105a6ae8fcd86ce2bb0247 epunt-cxx e99babeaa7d98c1caaa6a61a79902210 estack 5ac2a138d0b33354b764d84f9e835db8 eutils 1fb064d93b3ffd05c2fb19ef430a4aa1 flag-o-matic 02908f00f002f0f07c5b74783d778325 gnome2-utils 22ebae0b986793be079d9d93fa16a8ea ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee xdg-utils 9ef13b5c5bcf0c50d6aa53692d8e441c | ||
_md5_=1704145b81164e097640d59320f6fdad |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters