From: Tristan Heaven Date: Sat, 3 Feb 2007 07:27:51 +0000 (+0000) Subject: Use games eclass X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4451ad66ed983c7aa3288148ea1a6a006aad522d;p=gentoo.git Use games eclass Package-Manager: portage-2.1.2-r6 --- 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 files/0.2-Makefilefix.patch, + qtvba-0.2.ebuild: + Use games eclass 14 Feb 2005; Michael Sterrett qtvba-0.2.ebuild: cleanup and keyword for x86 (bug #81859) diff --git a/games-emulation/qtvba/Manifest b/games-emulation/qtvba/Manifest index d571cf1be4cf..b823353d4579 100644 --- a/games-emulation/qtvba/Manifest +++ b/games-emulation/qtvba/Manifest @@ -1,5 +1,30 @@ -MD5 4bf2be86a4e4cb73be8e863d24668ec7 ChangeLog 579 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX 0.2-Makefilefix.patch 928 RMD160 d54d30c33708ad1391cfc5f0273d9bb154d7a96c SHA1 4899aabf9842c2d75cdd8c37f91b64e81c169cd4 SHA256 013374fe928123cc4b6c59fe522e8da54683921c33241f21e3db719b86b2044b +MD5 e152d382f07f82047328ab57186df4f7 files/0.2-Makefilefix.patch 928 +RMD160 d54d30c33708ad1391cfc5f0273d9bb154d7a96c files/0.2-Makefilefix.patch 928 +SHA256 013374fe928123cc4b6c59fe522e8da54683921c33241f21e3db719b86b2044b files/0.2-Makefilefix.patch 928 +DIST qtvba-0.2.tar.gz 121800 RMD160 1453d31bc0a75f4e242d12092b6618c517fc9f16 SHA1 aea6e37d815a2a44d34d93787b704d5d6b659fcf SHA256 da9874e125806debce847c5bc66345a979b78e27c6083233afb31ed8cb6d273f +EBUILD qtvba-0.2.ebuild 713 RMD160 6ded1b70757c28ddd4e897e59fe39fd7c554c777 SHA1 34bf0ed8630d7720fc34089ab2e3950495af98a9 SHA256 d5746a34566192cbab740aa493d78dfff73bc58bf206743b8450631ae29f5dff +MD5 8df72746de49c4ec8e7ae183bc5ab629 qtvba-0.2.ebuild 713 +RMD160 6ded1b70757c28ddd4e897e59fe39fd7c554c777 qtvba-0.2.ebuild 713 +SHA256 d5746a34566192cbab740aa493d78dfff73bc58bf206743b8450631ae29f5dff qtvba-0.2.ebuild 713 +MISC ChangeLog 691 RMD160 704cd56886ca9d0dc9b5ed36852308a35da3bcdf SHA1 4ee7926fe1501a41604f7cb2436726273e65248c SHA256 6992c6fc24f511cfeb4366e195a8ed54f03377aa9174f1e7355e075ff4c14b5e +MD5 d29fee87b7340d70e819970c27fde56f ChangeLog 691 +RMD160 704cd56886ca9d0dc9b5ed36852308a35da3bcdf ChangeLog 691 +SHA256 6992c6fc24f511cfeb4366e195a8ed54f03377aa9174f1e7355e075ff4c14b5e ChangeLog 691 +MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 -MD5 c625f000bef173c4115c27b8d7a34286 qtvba-0.2.ebuild 747 -MD5 d23d7ac95a82c235760a949cc54357a5 files/0.2-Makefilefix.patch 1706 -MD5 e0b84065e3aaf7c489a785d7684c2d95 files/digest-qtvba-0.2 61 +RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 +SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158 +MD5 c23525e987c7551884834bfe9e809ea0 files/digest-qtvba-0.2 229 +RMD160 d6a0d19242993178f9cd15c2363eca3f7aa0feef files/digest-qtvba-0.2 229 +SHA256 a97f68bbe7b2204cc2351e35f430b365df09f4a926eaed612bad4ed6bdc1d6ce files/digest-qtvba-0.2 229 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.2 (GNU/Linux) + +iD8DBQFFxDl9dz7hIScOURERAjMMAKCHJDSh9wG36vmTe5ti+ot/2YzN5ACgvZ+3 +m8AWD5dbJJ6QE7SyDShNL8Q= +=sKq3 +-----END PGP SIGNATURE----- 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 }