diff options
| author | eroen | 2013-03-17 02:10:22 +0100 |
|---|---|---|
| committer | eroen | 2013-03-17 02:10:22 +0100 |
| commit | 0a6bf51666c163a7b814dca82875916cf2ef48fe (patch) | |
| tree | b49e3a08e1b89f35429f182103199ed17bdf0c72 /games-emulation/psemu-padjoy/psemu-padjoy-0.82.ebuild | |
| parent | a510794c5615dd5051c2de6e69036778179dae00 (diff) | |
| download | eroen-overlay-0a6bf51666c163a7b814dca82875916cf2ef48fe.tar.gz eroen-overlay-0a6bf51666c163a7b814dca82875916cf2ef48fe.tar.bz2 eroen-overlay-0a6bf51666c163a7b814dca82875916cf2ef48fe.tar.xz | |
psemu-padjoy-0.82: multilib build
Diffstat (limited to 'games-emulation/psemu-padjoy/psemu-padjoy-0.82.ebuild')
| -rw-r--r-- | games-emulation/psemu-padjoy/psemu-padjoy-0.82.ebuild | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/games-emulation/psemu-padjoy/psemu-padjoy-0.82.ebuild b/games-emulation/psemu-padjoy/psemu-padjoy-0.82.ebuild index 398fe06a..9ac8a262 100644 --- a/games-emulation/psemu-padjoy/psemu-padjoy-0.82.ebuild +++ b/games-emulation/psemu-padjoy/psemu-padjoy-0.82.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-padjoy/psemu-padjoy-0.82.ebuild,v 1.7 2007/04/09 17:00:56 nyhm Exp $ -inherit games +inherit eutils multilib games DESCRIPTION="PSEmu plugin to use joysticks/gamepads in PSX-emulators" HOMEPAGE="http://www.ammoq.com/" @@ -10,19 +10,26 @@ SRC_URI="http://members.chello.at/erich.kitzmueller/ammoq/padJoy${PV//.}.tgz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~ppc x86" +KEYWORDS="~ppc x86 ~amd64" IUSE="" -DEPEND="=x11-libs/gtk+-1*" +DEPEND="amd64? ( app-emulation/emul-linux-x86-gtklibs ) + !amd64? ( =x11-libs/gtk+-1* )" S=${WORKDIR}/padJoy/src +pkg_setup() { + use amd64 && multilib_toolchain_setup x86 +} + src_unpack() { unpack ${A} cd "${S}" sed -i \ -e "s:-O2 -fomit-frame-pointer:${CFLAGS}:" Makefile \ || die "sed failed" + epatch "${FILESDIR}"/cc.patch + epatch_user } src_install() { |
