summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-09-20 15:31:42 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-09-20 15:31:42 +0000
commit8b4ff9014646fb60ea48d848da854d0eb3fbf950 (patch)
treef233626ed0be274020bedcdbed22b8e3d7f63ad9 /games-emulation/psemu-cdr/psemu-cdr-1.8.ebuild
parentFinished the removal of patches from $FILESDIR. All the patches are downloade... (diff)
downloadhistorical-8b4ff9014646fb60ea48d848da854d0eb3fbf950.tar.gz
historical-8b4ff9014646fb60ea48d848da854d0eb3fbf950.tar.bz2
historical-8b4ff9014646fb60ea48d848da854d0eb3fbf950.zip
remove gtk2 use flag ; tidy
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'games-emulation/psemu-cdr/psemu-cdr-1.8.ebuild')
-rw-r--r--games-emulation/psemu-cdr/psemu-cdr-1.8.ebuild38
1 files changed, 16 insertions, 22 deletions
diff --git a/games-emulation/psemu-cdr/psemu-cdr-1.8.ebuild b/games-emulation/psemu-cdr/psemu-cdr-1.8.ebuild
index 77d3b2052849..0acdf83fba02 100644
--- a/games-emulation/psemu-cdr/psemu-cdr-1.8.ebuild
+++ b/games-emulation/psemu-cdr/psemu-cdr-1.8.ebuild
@@ -1,46 +1,40 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-cdr/psemu-cdr-1.8.ebuild,v 1.6 2005/04/24 03:30:51 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-cdr/psemu-cdr-1.8.ebuild,v 1.7 2005/09/20 15:31:42 mr_bones_ Exp $
-inherit games eutils
+inherit eutils games
-S=${WORKDIR}
DESCRIPTION="PSEmu plugin to read from CD-ROM"
HOMEPAGE="http://www.pcsx.net/"
SRC_URI="http://linuzappz.pcsx.net/downloads/cdr-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ppc"
-IUSE="gtk2"
+KEYWORDS="ppc x86"
+IUSE=""
-DEPEND="gtk2? ( =x11-libs/gtk+-2* )
- !gtk2? ( =x11-libs/gtk+-1* )
+RDEPEND="=x11-libs/gtk+-2*"
+DEPEND="${RDEPEND}
dev-util/pkgconfig"
+S=${WORKDIR}
+
src_unpack() {
unpack ${A}
- epatch ${FILESDIR}/${PV}-makefile-cflags.patch
+ epatch "${FILESDIR}"/${PV}-makefile-cflags.patch
}
src_compile() {
- local gtk
- if use gtk2 ; then
- gtk=gtk+2
- else
- gtk=gtk
- fi
- cd src
- emake OPTFLAGS="${CFLAGS}" GUI="${gtk}" || die "emake failed"
+ emake -C src OPTFLAGS="${CFLAGS}" GUI="gtk+2" || die "emake failed"
}
src_install() {
- exeinto ${GAMES_LIBDIR}/psemu/plugins
- doexe src/libcdr-* || die "doexe failed (1)"
- exeinto ${GAMES_LIBDIR}/psemu/cfg
+ exeinto "${GAMES_LIBDIR}"/psemu/plugins
+ doexe src/libcdr-* || die "doexe failed (1)"
+ exeinto "${GAMES_LIBDIR}"/psemu/cfg
doexe src/cfg-gtk*/cfgCdr || die "doexe failed(2)"
- insinto ${GAMES_LIBDIR}/psemu/cfg
- doins cdr.cfg || die "doins failed"
- dodoc ReadMe.txt || die "dodoc failed"
+ insinto "${GAMES_LIBDIR}"/psemu/cfg
+ doins cdr.cfg || die "doins failed"
+ dodoc ReadMe.txt
prepgamesdirs
}