Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
merged:

  flora: b5b6ddcbf736b509be67f12c4715e5e80d13e05d
  faustoo: 7518f05db70fcf45245b66f6ab2849ed13e0382a
  fusion809: b569e83ca29e63dd4d329fb646ec10949c16d0c1
  gentoo-staging: 09c9eb58644c8cec9c0f5adf9cf99f31b56deb71
  • Loading branch information
danielrobbins committed Dec 7, 2018
1 parent e4aa902 commit 5a64c4d
Show file tree
Hide file tree
Showing 10 changed files with 189 additions and 30 deletions.
1 change: 1 addition & 0 deletions games-emulation/snes9x/Manifest
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
1 change: 0 additions & 1 deletion games-emulation/snes9x/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
</maintainer>
<use>
<flag name="netplay">Enable playing ROMs over the network (not recommended)</flag>
<flag name="xrandr">Enable support for the X xrandr extension</flag>
</use>
<upstream>
<remote-id type="google-code">snes9x-gtk</remote-id>
Expand Down
3 changes: 2 additions & 1 deletion games-emulation/snes9x/snes9x-1.56.ebuild
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
Expand All @@ -22,7 +23,7 @@ RDEPEND="
gtk? (
dev-libs/glib:2
dev-libs/libxml2
>=x11-libs/gtk+-3.22
>=x11-libs/gtk+-3.0:3
x11-libs/libXrandr
x11-misc/xdg-utils
alsa? ( media-libs/alsa-lib )
Expand Down
139 changes: 139 additions & 0 deletions games-emulation/snes9x/snes9x-1.57.ebuild
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
}
11 changes: 11 additions & 0 deletions games-emulation/stella/metadata.xml
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>
33 changes: 14 additions & 19 deletions games-emulation/stella/stella-5.1.3.ebuild
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
inherit desktop gnome2-utils

DESCRIPTION="Stella Atari 2600 VCS Emulator"
HOMEPAGE="https://stella-emu.github.io/"
SRC_URI="https://github.com/stella-emu/stella/releases/download/${PV}/${P}-src.tar.xz"
inherit desktop flag-o-matic gnome2-utils

DESCRIPTION="Multi-platform Atari 2600 VCS Emulator"
HOMEPAGE="https://stella-emu.github.io"
SRC_URI="https://github.com/stella-emu/${PN}/releases/download/${PV}/${P}-src.tar.xz"

LICENSE="GPL-2+ BSD"
SLOT="0"
Expand All @@ -19,6 +21,9 @@ RDEPEND="
"
DEPEND="${RDEPEND}"

DOCS=(Announce.txt Changes.txt Copyright.txt README-SDL.txt Readme.txt Todo.txt)
HTML_DOCS=(docs/.)

src_prepare() {
default
sed -i \
Expand All @@ -33,6 +38,7 @@ src_prepare() {

src_configure() {
# not an autoconf script
CXX=$(tc-getCXX) \
./configure \
--prefix="/usr" \
--bindir="/usr/bin" \
Expand All @@ -43,26 +49,15 @@ src_configure() {
}

src_install() {
default
local i

DOCS="Announce.txt Changes.txt Copyright.txt README-SDL.txt Readme.txt Todo.txt" \
default

for i in 16 22 24 32 48 64 128 ; do
newicon -s ${i} src/common/stella-${i}x${i}.png stella.png
done
domenu src/unix/stella.desktop
HTML_DOCS="docs/*" einstalldocs
einstalldocs
}

pkg_preinst() {
gnome2_icon_savelist
}

pkg_postinst() {
gnome2_icon_cache_update
}

pkg_postrm() {
gnome2_icon_cache_update
}
pkg_postinst() { gnome2_icon_cache_update; }
pkg_postrm() { gnome2_icon_cache_update; }
6 changes: 3 additions & 3 deletions metadata/md5-cache/games-emulation/snes9x-1.56
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
14 changes: 14 additions & 0 deletions metadata/md5-cache/games-emulation/snes9x-1.57
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
10 changes: 5 additions & 5 deletions metadata/md5-cache/games-emulation/stella-5.1.3
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
1 change: 0 additions & 1 deletion profiles/use.local.desc
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ games-emulation/pcsxr:sdl - Use SDL sound backend (other parts of SDL are used u
games-emulation/ppsspp:headless - Build headless version of the PPSSPP
games-emulation/ppsspp:system-ffmpeg - Use the system-wide media-video/ffmpeg instead of bundled
games-emulation/snes9x:netplay - Enable playing ROMs over the network (not recommended)
games-emulation/snes9x:xrandr - Enable support for the X xrandr extension
games-emulation/vbam:link - Enable GBA linking functionality
games-emulation/zsnes:debug - Enable the builtin debugger
games-emulation/zsnes:pax_kernel - Triggers a paxmarking of the binary
Expand Down

0 comments on commit 5a64c4d

Please sign in to comment.