initial commit
This commit is contained in:
3
games-emulation/pcsx-r/Manifest
Normal file
3
games-emulation/pcsx-r/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
AUX pcsx-r-datadir.patch 1088 RMD160 a21d8ba66e3d316c84511d8c09b6922643013869 SHA1 4f179f9ba29bb8a69d59b803590ae10fcf6d1c20 SHA256 b33931c20630ef7731ff4d0265525ba6fb3fd0597d08a44362fc30f04acc91bb
|
||||
DIST pcsxr-1.9.92.tar.bz2 1471890 RMD160 18026e1efc348aecf67f271ad97ea70da4bccfc0 SHA1 d0f336f49cdc2edbec23e75a01d10c8d5406ed58 SHA256 fb96dbf17ea2d5215b58338534351143e8ef7316c25504991ba76309fc931611
|
||||
EBUILD pcsx-r-1.9.92.ebuild 1480 RMD160 7f808bb316706b70eb3d60f0a82ab3fb18a1afc6 SHA1 bb0207c6c6027b18c41ec71c07b038bb5c798cbc SHA256 87d573bcbfb67d3aed7ca5a62837826dec91b23790d8f0e4e8dd97f87d2e8941
|
37
games-emulation/pcsx-r/files/pcsx-r-datadir.patch
Normal file
37
games-emulation/pcsx-r/files/pcsx-r-datadir.patch
Normal file
@ -0,0 +1,37 @@
|
||||
diff --git a/data/Makefile.am b/data/Makefile.am
|
||||
index 9930320..a507993 100644
|
||||
--- a/data/Makefile.am
|
||||
+++ b/data/Makefile.am
|
||||
@@ -1,7 +1,7 @@
|
||||
glade_DATA = pcsx.glade2
|
||||
gladedir = $(datadir)/pcsx
|
||||
|
||||
-desktopdir = $(datadir)/applications
|
||||
+desktopdir = /usr/share/applications
|
||||
desktop_DATA = pcsx.desktop
|
||||
|
||||
EXTRA_DIST = $(glade_DATA) pcsx.desktop
|
||||
diff --git a/gui/Makefile.am b/gui/Makefile.am
|
||||
index eacfd67..a1e1002 100644
|
||||
--- a/gui/Makefile.am
|
||||
+++ b/gui/Makefile.am
|
||||
@@ -1,5 +1,5 @@
|
||||
INCLUDES = -DPACKAGE_DATA_DIR=\"${datadir}/pcsx/\" \
|
||||
- -DPIXMAPDIR=\"${datadir}/pixmaps/\" \
|
||||
+ -DPIXMAPDIR=\"/usr/share/pixmaps/\" \
|
||||
-DLOCALE_DIR=\"${datadir}/locale/\" \
|
||||
$(GTK2_CFLAGS) $(GLADE2_CFLAGS) \
|
||||
-I$(top_srcdir)/libpcsxcore -I$(top_srcdir)/include \
|
||||
diff --git a/pixmaps/Makefile.am b/pixmaps/Makefile.am
|
||||
index ea6e2d2..2f04173 100644
|
||||
--- a/pixmaps/Makefile.am
|
||||
+++ b/pixmaps/Makefile.am
|
||||
@@ -1,7 +1,7 @@
|
||||
pixmapdir = "$(datadir)/pcsx"
|
||||
pixmap_DATA = pcsx.jpg
|
||||
|
||||
-icondir = "$(datadir)/pixmaps"
|
||||
+icondir = "/usr/share/pixmaps"
|
||||
icon_DATA = pcsx-icon.png
|
||||
|
||||
EXTRA_DIST = pcsx.jpg pcsx-icon.png
|
67
games-emulation/pcsx-r/pcsx-r-1.9.92.ebuild
Normal file
67
games-emulation/pcsx-r/pcsx-r-1.9.92.ebuild
Normal file
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user