diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2007-02-03 07:27:51 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2007-02-03 07:27:51 +0000 |
commit | edb855998fcfa0122851b2a80268b1f4388238ef (patch) | |
tree | 2f9d64602466bdb5aa5a9a04224c2567c1867840 /games-emulation/qtvba | |
parent | Stable on ppc wrt bug 164919 (diff) | |
download | gentoo-2-edb855998fcfa0122851b2a80268b1f4388238ef.tar.gz gentoo-2-edb855998fcfa0122851b2a80268b1f4388238ef.tar.bz2 gentoo-2-edb855998fcfa0122851b2a80268b1f4388238ef.zip |
Use games eclass
(Portage version: 2.1.2-r6)
Diffstat (limited to 'games-emulation/qtvba')
-rw-r--r-- | games-emulation/qtvba/ChangeLog | 8 | ||||
-rw-r--r-- | games-emulation/qtvba/files/0.2-Makefilefix.patch | 19 | ||||
-rw-r--r-- | games-emulation/qtvba/files/digest-qtvba-0.2 | 2 | ||||
-rw-r--r-- | games-emulation/qtvba/qtvba-0.2.ebuild | 20 |
4 files changed, 19 insertions, 30 deletions
diff --git a/games-emulation/qtvba/ChangeLog b/games-emulation/qtvba/ChangeLog index 10de9458744b..dba429a9de8d 100644 --- a/games-emulation/qtvba/ChangeLog +++ b/games-emulation/qtvba/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-emulation/qtvba -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/qtvba/ChangeLog,v 1.4 2005/02/14 09:34:56 mr_bones_ Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/qtvba/ChangeLog,v 1.5 2007/02/03 07:27:51 nyhm Exp $ + + 03 Feb 2007; Tristan Heaven <nyhm@gentoo.org> files/0.2-Makefilefix.patch, + qtvba-0.2.ebuild: + Use games eclass 14 Feb 2005; Michael Sterrett <mr_bones_@gentoo.org> qtvba-0.2.ebuild: cleanup and keyword for x86 (bug #81859) diff --git a/games-emulation/qtvba/files/0.2-Makefilefix.patch b/games-emulation/qtvba/files/0.2-Makefilefix.patch index 6082ae0263a4..d42ac28c792d 100644 --- a/games-emulation/qtvba/files/0.2-Makefilefix.patch +++ b/games-emulation/qtvba/files/0.2-Makefilefix.patch @@ -1,5 +1,5 @@ ---- Makefile.orig 2004-05-01 22:37:34.000000000 +0200 -+++ Makefile 2004-05-01 22:41:14.000000000 +0200 +--- Makefile ++++ Makefile @@ -12,11 +12,9 @@ CXX = g++ LEX = flex @@ -25,18 +25,3 @@ $(QMAKE) -o Makefile qtvba.pro qmake: @$(QMAKE) -o Makefile qtvba.pro -@@ -233,10 +228,10 @@ - ####### Install - - install_target: -- @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/bin/ -- $(DEL_FILE) "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)" -- -$(COPY) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)" -- -strip "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)" -+ @$(CHK_DIR_EXISTS) $(DESTDIR)/$(prefix)/bin/ || $(MKDIR) $(DESTDIR)/$(prefix)/bin/ -+ $(DEL_FILE) "$(DESTDIR)/$(prefix)/bin/$(QMAKE_TARGET)" -+ -$(COPY) "$(QMAKE_TARGET)" "$(DESTDIR)/$(prefix)/bin/$(QMAKE_TARGET)" -+ -strip "$(DESTDIR)/$(prefix)/bin/$(QMAKE_TARGET)" - - uninstall_target: - -$(DEL_FILE) "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)" diff --git a/games-emulation/qtvba/files/digest-qtvba-0.2 b/games-emulation/qtvba/files/digest-qtvba-0.2 index 1038a94ab9e6..f76875da76f2 100644 --- a/games-emulation/qtvba/files/digest-qtvba-0.2 +++ b/games-emulation/qtvba/files/digest-qtvba-0.2 @@ -1 +1,3 @@ MD5 16837d77d0f0e02c10fe60d509ed252f qtvba-0.2.tar.gz 121800 +RMD160 1453d31bc0a75f4e242d12092b6618c517fc9f16 qtvba-0.2.tar.gz 121800 +SHA256 da9874e125806debce847c5bc66345a979b78e27c6083233afb31ed8cb6d273f qtvba-0.2.tar.gz 121800 diff --git a/games-emulation/qtvba/qtvba-0.2.ebuild b/games-emulation/qtvba/qtvba-0.2.ebuild index be7339143702..ed1b65df4e8d 100644 --- a/games-emulation/qtvba/qtvba-0.2.ebuild +++ b/games-emulation/qtvba/qtvba-0.2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/qtvba/qtvba-0.2.ebuild,v 1.5 2005/02/14 09:34:56 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/qtvba/qtvba-0.2.ebuild,v 1.6 2007/02/03 07:27:51 nyhm Exp $ -inherit eutils kde-functions +inherit eutils qt3 games DESCRIPTION="VisualBoyAdvance Frontend" HOMEPAGE="http://www.apex.net.au/~twalker/qtvba/" @@ -13,8 +13,9 @@ SLOT="0" KEYWORDS="ppc x86" IUSE="" -RDEPEND=">=games-emulation/visualboyadvance-1.5.1" -need-qt 3 +DEPEND="$(qt_min_version 3)" +RDEPEND="${DEPEND} + games-emulation/visualboyadvance" src_unpack() { unpack ${A} @@ -22,11 +23,8 @@ src_unpack() { epatch "${FILESDIR}/${PV}-Makefilefix.patch" } -src_compile() { - emake || die "emake failed" -} - -src_install () { - make DESTDIR="${D}" install || die "make install failed" +src_install() { + dogamesbin ${PN} || die "dogamesbin failed" dodoc README + prepgamesdirs } |