diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2011-11-17 20:53:55 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2011-11-17 20:53:55 +0000 |
commit | f8496522ad65f2805f4e426bc3117e7f6eed52e0 (patch) | |
tree | d10dddbf9b662510194cbb1b9f519b9b0b564938 /games-emulation/darcnes/darcnes-0401-r2.ebuild | |
parent | games-arcade/cervi is gone (diff) | |
download | gentoo-2-f8496522ad65f2805f4e426bc3117e7f6eed52e0.tar.gz gentoo-2-f8496522ad65f2805f4e426bc3117e7f6eed52e0.tar.bz2 gentoo-2-f8496522ad65f2805f4e426bc3117e7f6eed52e0.zip |
gtk+:1 is gone
Diffstat (limited to 'games-emulation/darcnes/darcnes-0401-r2.ebuild')
-rw-r--r-- | games-emulation/darcnes/darcnes-0401-r2.ebuild | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/games-emulation/darcnes/darcnes-0401-r2.ebuild b/games-emulation/darcnes/darcnes-0401-r2.ebuild deleted file mode 100644 index 6d1389de6340..000000000000 --- a/games-emulation/darcnes/darcnes-0401-r2.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/darcnes/darcnes-0401-r2.ebuild,v 1.12 2007/07/02 17:07:42 nyhm Exp $ - -inherit eutils games - -DESCRIPTION="A multi-system emulator" -HOMEPAGE="http://www.dridus.com/~nyef/darcnes/" -SRC_URI="http://www.dridus.com/~nyef/darcnes/download/dn9b${PV}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-ppc x86" -IUSE="gtk svga X" - -RDEPEND="svga? ( >=media-libs/svgalib-1.4.2 ) - !svga? ( !gtk? ( x11-libs/libXaw ) ) - X? ( x11-libs/libXaw ) - gtk? ( =x11-libs/gtk+-1.2* )" -DEPEND="${RDEPEND} - !svga? ( x11-proto/xextproto ) - X? ( x11-proto/xextproto )" - -S=${WORKDIR}/${PN} - -src_unpack() { - unpack ${A} - cd "${S}" - epatch \ - "${FILESDIR}"/${P}-gcc34.patch \ - "${FILESDIR}"/${P}-exec-stack.patch - # bug #75391 - sed -i \ - -e "s/buttons\[0\]/buttons\[\]/" ui.h \ - || die "sed failed" -} - -src_compile() { - build_X=true - use svga && build_X=false - use gtk && build_X=false - use X && build_X=true - - if use svga ; then - emake TARGET=Linux_svgalib OPTFLAGS="${CFLAGS}" \ - || die "compile target Linux_svgalib failed" - fi - if use gtk ; then - emake BINFILE=gdarcnes TARGET=Linux_GTK OPTFLAGS="${CFLAGS}" \ - || die "compile target Linux_GTK failed" - fi - if $build_X ; then - emake TARGET=Linux_X OPTFLAGS="${CFLAGS}" \ - || die "compile target Linux_X failed" - fi -} - -src_install() { - if use svga ; then - dogamesbin sdarcnes || die "dogamesbin failed (svga)" - fi - if use gtk ; then - dogamesbin gdarcnes || die "dogamesbin failed (gtk)" - fi - if $build_X ; then - dogamesbin darcnes || die "dogamesbin failed" - fi - dodoc readme - prepgamesdirs -} |