Skip to content

Commit

Permalink
added lots of cool stuff D:
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Abraham committed Aug 23, 2012
1 parent 0f79909 commit 1f7dc2d
Show file tree
Hide file tree
Showing 15 changed files with 518 additions and 0 deletions.
2 changes: 2 additions & 0 deletions games-emulation/epsxe/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DIST epsxe-1-6-0.jpg 5093 RMD160 e3c56c1baae4e17e05f30826f1951b3c4b1790ad SHA1 8877d0276d5670da7200967c3b5f223607d0b82f SHA256 ec7c75e2464d9cf8ec9b70d066c241f9b1c2f23018fe16b57ad1d4491796b198
DIST epsxe160lin.zip 180407 RMD160 410b1a509bb2767927d46b6a97e2b0a3c7d80fc5 SHA1 4201537ee9fe12f313af81fb3b0882b61b1d65b4 SHA256 a15f92c54b4d5813ac5257282efdbeeddbdbbf08dd45655770e5d5b268735fdd
64 changes: 64 additions & 0 deletions games-emulation/epsxe/epsxe-1.6.0-r4.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=3

inherit games fdo-mime

DESCRIPTION="ePSXe PlayStation Emulator"
HOMEPAGE="http://www.epsxe.com/"
SRC_URI="http://www.epsxe.com/files/epsxe${PV//.}lin.zip
http://img.uptodown.net/icons/${PN}-1-6-0.jpg"

LICENSE="freedist"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="opengl"
RESTRICT="strip"

DEPEND="app-arch/unzip"
RDEPEND="games-emulation/psemu-peopsspu
opengl? ( games-emulation/psemu-gpupetexgl2
games-emulation/psemu-gpupetemesagl )
!opengl? ( games-emulation/psemu-peopssoftgpu )
amd64? ( app-emulation/emul-linux-x86-gtklibs )
x86? ( x11-libs/gtk+:1 )"

S=${WORKDIR}

src_install() {
local dir="${GAMES_PREFIX_OPT}/${PN}"
dogamesbin "${FILESDIR}"/epsxe
sed -i \
-e "s:GAMES_PREFIX_OPT:${GAMES_PREFIX_OPT}:" \
-e "s:GAMES_LIBDIR:$(games_get_libdir):" \
"${D}${GAMES_BINDIR}"/epsxe \
|| die
exeinto "${dir}"
doexe epsxe || die
insinto "${dir}"
doins keycodes.lst || die
insinto "$(games_get_libdir)"/psemu/cheats
doins cheats/* || die
dodoc docs/* || die
newicon "${DISTDIR}"/${PN}-1-6-0.jpg ${PN}.jpg || die
domenu "${FILESDIR}"/epsxe.desktop || die
prepgamesdirs
}

pkg_postinst() {
fdo-mime_desktop_database_update
games_pkg_postinst
ewarn " "
ewarn "You need at least plugins for sound and video and"
ewarn "a BIOS file! "
ewarn " "
ewarn "Plugins can also be added to ~/.epsxe/plugins "
ewarn "manually. "
ewarn " "
}

pkg_postrm() {
fdo-mime_desktop_database_update
}
73 changes: 73 additions & 0 deletions games-emulation/epsxe/files/epsxe
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
#!/bin/sh

PSEMUDIR=GAMES_LIBDIR/psemu
EPSXEDIR=GAMES_PREFIX_OPT/epsxe

mkdir -p ~/.epsxe
cd ~/.epsxe
cleanlinks
mkdir -p memcards bios cfg cheats snap sstates patches plugins

shopt -s nullglob

for f in `find "${EPSXEDIR}" -maxdepth 1 -type f -printf '%f '` ; do
[[ -e "${f}" ]] && continue
ln -s "${EPSXEDIR}/${f}" "${f}" >& /dev/null
done

if [[ -d "${PSEMUDIR}" ]] ; then
if [[ -d "${PSEMUDIR}/plugins" ]] ; then
for plugin in `find "${PSEMUDIR}/plugins" -maxdepth 1 -type f -printf '%f '` ; do
if [[ ! -e "plugins/${plugin}" ]] ; then
echo "Loading new plugin: ${plugin}"
ln -s "${PSEMUDIR}/plugins/${plugin}" "plugins/${plugin}"
fi
done
fi

if [[ -d "${PSEMUDIR}/cfg" ]] ; then
for configlib in `find "${PSEMUDIR}/cfg" -maxdepth 1 -iname '*.cfg' -prune -o -type f -printf '%f '`; do
if [[ ! -e "cfg/${configlib}" ]] ; then
echo "Loading config utility: ${configlib}"
ln -s "${PSEMUDIR}/cfg/${configlib}" "cfg/${configlib}"
fi
done

for config in `find "${PSEMUDIR}/cfg" -maxdepth 1 -iname '*.cfg' -type f -printf '%f '`; do
if [[ ! -e "cfg/${config}" ]] ; then
echo "Loading default config: ${config}"
cp "${PSEMUDIR}/cfg/${config}" "cfg/${config}"
fi
done
fi

if [[ -d "${PSEMUDIR}/cheats" ]] ; then
for cheat in `find "${PSEMUDIR}/cheats" -maxdepth 1 -type f -printf '%f '`; do
if [[ ! -e "cheats/${cheat}" ]] ; then
ln -s "${PSEMUDIR}/cheats/${cheat}" "cheats/${cheat}"
fi
done
fi

if [[ -d "${PSEMUDIR}/bios" ]] ; then
for bios in `find "${PSEMUDIR}/bios" -maxdepth 1 -type f -printf '%f '`; do
if [[ ! -e "bios/${bios}" ]] ; then
ln -s "${PSEMUDIR}/bios/${bios}" "bios/${bios}"
fi
done
fi
fi

# check for bios
if [[ -z "`cd bios && ls`" ]] ; then
# if the bios directory is empty, then ... well ...
echo
echo "*** Put your BIOS file into ~/.epsxe/bios/"
echo " or ePSXe may not work!"
echo
fi

# execute program (with args)
export LD_PRELOAD="libpthread.so.0:${LD_PRELOAD}" # fix for Bug #26121
exec ./epsxe "$@"

10 changes: 10 additions & 0 deletions games-emulation/epsxe/files/epsxe.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Desktop Entry]
Name=ePSXe
GenericName=Emulator
Comment=ePSXe PlayStation Emulator
Categories=Game
Exec=/usr/games/bin/epsxe
Icon=epsxe.jpg
StartupNotify=true
Terminal=false
Type=Application
1 change: 1 addition & 0 deletions games-emulation/pcsx-r/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST pcsxr-1.9.92.tar.bz2 24091 RMD160 06d517c82c04f40489da389b76fb6c60fa1cb4aa SHA1 7475fecd7135c68e70d41da000d63e0d8442ca5d SHA256 5dd04d2217d2bda3d337507c45cd762db9daea56c4f6a44f3664d17ee68cf2f0
67 changes: 67 additions & 0 deletions games-emulation/pcsx-r/pcsx-r-1.9.92.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2

inherit eutils autotools games

MY_PN="${PN/-/}"
DESCRIPTION="PCSX-Reloaded: a fork of PCSX, the discontinued Playstation emulator"
HOMEPAGE="http://pcsxr.codeplex.com"
SRC_URI="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=pcsxr&DownloadId=140521&FileTime=129254829621800000&Build=17027 -> pcsxr-1.9.92.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~ppc"
IUSE="alsa opengl"

RDEPEND="x11-libs/gtk+:2
gnome-base/libglade
media-libs/libsdl
sys-libs/zlib
app-arch/bzip2
x11-libs/libXv
x11-libs/libXtst
alsa? ( media-libs/alsa-lib )
opengl? ( virtual/opengl
x11-libs/libXxf86vm )"

DEPEND="${RDEPEND}
!games-emulation/pcsx
!games-emulation/pcsx-df
x86? ( dev-lang/nasm )"

S="${WORKDIR}/${MY_PN}-${PV}"

src_prepare() {
cd "${S}" || die
# fix plugin path
for i in $(grep -irl 'games/psemu' *);
do
einfo "Fixing plugin loading path for ${i}"
sed -i "$i" -e "s:games/psemu:psemu:g" || die "sed failed"
done

# fix icon and .desktop path
epatch "${FILESDIR}/${PN}-datadir.patch"

# regenerate for changes to spread
eautoreconf
}

src_configure() {
egamesconf \
$(use_enable alsa) \
$(use_enable opengl) \
|| die "econf failed"
}

src_install() {
emake DESTDIR="${D}" install \
|| die "emake install failed"

dodoc README doc/keys.txt doc/tweaks.txt ChangeLog
prepgamesdirs
}

100 changes: 100 additions & 0 deletions media-sound/decibel-audio-player/ChangeLog
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
# ChangeLog for media-sound/decibel-audio-player
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/decibel-audio-player/ChangeLog,v 1.24 2011/11/20 10:18:45 xarthisius Exp $

20 Nov 2011; Kacper Kowalik <[email protected]>
-decibel-audio-player-1.00.ebuild, decibel-audio-player-1.04.ebuild:
ppc/ppc64 stable wrt #372169, drop old

19 Sep 2011; Andreas Schuerch <[email protected]>
decibel-audio-player-1.04.ebuild:
x86 stable, thanks JD. Bug 372169

16 Sep 2011; Tony Vroon <[email protected]>
decibel-audio-player-1.04.ebuild:
Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo &
Elijah "Armageddon" El Lazkani in bug #372169 filed by Pacho Ramos.

*decibel-audio-player-1.04 (07 Jun 2010)

07 Jun 2010; Steve Dibb <[email protected]>
+decibel-audio-player-1.04.ebuild:
Version bump, bug 320093

09 May 2010; Raúl Porcel <[email protected]>
decibel-audio-player-1.00.ebuild:
Drop sparc keyword

*decibel-audio-player-1.03 (19 Apr 2010)

19 Apr 2010; Steve Dibb <[email protected]>
+decibel-audio-player-1.03.ebuild, metadata.xml:
Version bump, bug 299045; thanks to nightmorph for ebuild; drop sparc due
to media-plugins/gst-plugins-wavpack dep

22 Jul 2009; Samuli Suominen <[email protected]>
decibel-audio-player-1.00.ebuild, metadata.xml:
Rename USE cdaudio to cdda.

19 Jul 2009; nixnut <[email protected]> decibel-audio-player-1.00.ebuild:
ppc stable #273113

16 Jul 2009; Alexis Ballier <[email protected]>
decibel-audio-player-1.00.ebuild, metadata.xml:
Rename gnome useflag to gnome-keyring and use split gnome-python ebuilds
as deps, by Josh Saddler <[email protected]>, bug #273151

01 Jul 2009; Markus Meier <[email protected]>
decibel-audio-player-1.00.ebuild:
amd64 stable, bug #273113

19 Jun 2009; Brent Baude <[email protected]>
decibel-audio-player-1.00.ebuild:
stable ppc64, bug 273113

11 Jun 2009; Christian Faulhammer <[email protected]>
decibel-audio-player-1.00.ebuild:
stable x86, bug 273113

24 Feb 2009; Joseph Jezak <[email protected]>
decibel-audio-player-0.10.ebuild:
Marked ppc stable for bug #233766.

*decibel-audio-player-1.00 (23 Nov 2008)

23 Nov 2008; Alexis Ballier <[email protected]>
-decibel-audio-player-0.11.ebuild, +decibel-audio-player-1.00.ebuild:
Version bump, by Josh

24 Oct 2008; Alexis Ballier <[email protected]>
decibel-audio-player-0.10.ebuild, decibel-audio-player-0.11.ebuild:
Add postinst message about the Decibel guide, by Josh

19 Oct 2008; Alexis Ballier <[email protected]>
decibel-audio-player-0.10.ebuild, decibel-audio-player-0.11.ebuild:
allow gst-plugins-cdio for cdaudio playback, by Josh, bug #242734

*decibel-audio-player-0.11 (21 Aug 2008)

21 Aug 2008; Alexis Ballier <[email protected]>
+decibel-audio-player-0.11.ebuild:
version bump, thanks Josh, bug #235346.

17 Aug 2008; Markus Meier <[email protected]>
decibel-audio-player-0.10.ebuild:
x86 stable, bug #233766

08 Aug 2008; Markus Rothe <[email protected]>
decibel-audio-player-0.10.ebuild:
Stable on ppc64; bug #233766

07 Aug 2008; Markus Meier <[email protected]>
decibel-audio-player-0.10.ebuild:
amd64 stable, bug #233766

*decibel-audio-player-0.10 (16 May 2008)

16 May 2008; Alexis Ballier <[email protected]> +metadata.xml,
+decibel-audio-player-0.10.ebuild:
Initial import, proxying Josh, bug #219329

2 changes: 2 additions & 0 deletions media-sound/decibel-audio-player/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DIST decibel-audio-player-1.04.tar.gz 342495 RMD160 0fe3b33c13ac2ef40b396ef04a0894fae311b928 SHA1 cbfd086406db8d048e77160c3d2ef9b7c981125f SHA256 26630fc238f1184538cc6d77c90d1041043f76b3bbea4c5be27ee75c945f0057
DIST decibel-audio-player-1.08.tar.gz 372301 RMD160 3c56d4d3974caeea78def17cc86a2fe79120a1b8 SHA1 b611bfc724ccef8f5517ebab218e70bf2975c857 SHA256 90143fd95849ba8d8a7e78d16050d0e56c509a20ce17d3b2d26684245e0986c1
40 changes: 40 additions & 0 deletions media-sound/decibel-audio-player/decibel-audio-player-1.04.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/decibel-audio-player/decibel-audio-player-1.04.ebuild,v 1.4 2011/11/20 10:18:45 xarthisius Exp $

DESCRIPTION="A GTK+ audio player which aims at being very straightforward to use."
HOMEPAGE="http://decibel.silent-blade.org"
SRC_URI="http://decibel.silent-blade.org/uploads/Main/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86"
IUSE="aac cdda gnome gnome-keyring libnotify musepack wavpack"

RDEPEND="media-libs/mutagen
dev-python/dbus-python
dev-python/gst-python
dev-python/imaging
>=media-plugins/gst-plugins-meta-0.10-r2
aac? ( media-plugins/gst-plugins-faad )
cdda? ( || ( media-plugins/gst-plugins-cdio
media-plugins/gst-plugins-cdparanoia )
dev-python/cddb-py )
gnome? ( dev-python/gnome-python-base )
gnome-keyring? ( dev-python/gnome-keyring-python )
libnotify? ( dev-python/notify-python )
musepack? ( media-plugins/gst-plugins-musepack )
wavpack? ( media-plugins/gst-plugins-wavpack )"
DEPEND="sys-devel/gettext"

src_install() {
emake DESTDIR="${D}" prefix=/usr \
install || die "emake install failed"
dodoc doc/ChangeLog || die "dodoc failed"
}

pkg_postinst() {
elog "Please read the Decibel guide at"
elog "http://www.gentoo.org/proj/en/desktop/sound/decibel.xml; it contains"
elog "information on how to enable various features and audio formats."
}
Loading

0 comments on commit 1f7dc2d

Please sign in to comment.