From: Tristan Heaven Date: Mon, 12 Mar 2007 14:37:10 +0000 (+0000) Subject: Add gnome USE flag and install menu entry, bug #160217 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ff3edaf8e55129ad250c08fe2bfea94db1bbeb7b;p=gentoo.git Add gnome USE flag and install menu entry, bug #160217 Package-Manager: portage-2.1.2.2 --- diff --git a/games-board/gtkboard/ChangeLog b/games-board/gtkboard/ChangeLog index 3d6f43efcee7..1362a4da0579 100644 --- a/games-board/gtkboard/ChangeLog +++ b/games-board/gtkboard/ChangeLog @@ -1,10 +1,13 @@ # ChangeLog for games-board/gtkboard -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/gtkboard/ChangeLog,v 1.8 2006/04/29 20:37:22 genstef Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/gtkboard/ChangeLog,v 1.9 2007/03/12 14:37:10 nyhm Exp $ + + 12 Mar 2007; Tristan Heaven gtkboard-0.11_pre0.ebuild: + Add gnome USE flag and install menu entry, bug #160217 29 Apr 2006; Stefan Schweizer +files/gtkboard-0.11_pre0-gcc41.patch, gtkboard-0.11_pre0.ebuild: - gcc4 fix thanks to Markus Gothe , nyhm + gcc4 fix thanks to Markus Gothe , Tristan Heaven and Jose daLuz in bug 122147 11 Nov 2004; Joseph Jezak gtkboard-0.11_pre0.ebuild: diff --git a/games-board/gtkboard/Manifest b/games-board/gtkboard/Manifest index df2de84a2d6e..8c41cdbed7b2 100644 --- a/games-board/gtkboard/Manifest +++ b/games-board/gtkboard/Manifest @@ -1,16 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX gtkboard-0.11_pre0-gcc41.patch 583 RMD160 a96cdfcd1805ac4b56f12eaf48e9c10afcda9bc0 SHA1 ae184df64745e77dd647e6ea16d8ffe85f1bfc87 SHA256 3af90808f928e689729e3a88f01bd2681e6a92a4279afc008422f72599385e90 MD5 bfb1dddfb72973089855ddeccae165fc files/gtkboard-0.11_pre0-gcc41.patch 583 RMD160 a96cdfcd1805ac4b56f12eaf48e9c10afcda9bc0 files/gtkboard-0.11_pre0-gcc41.patch 583 SHA256 3af90808f928e689729e3a88f01bd2681e6a92a4279afc008422f72599385e90 files/gtkboard-0.11_pre0-gcc41.patch 583 DIST gtkboard-0.11pre0.tar.gz 459581 RMD160 1381f11a5a83a1de60c5ce1c7f672bafde840920 SHA1 3f7549ba163e6223167a6f3dd20b8a5a65bb01f0 SHA256 e67ffbec822ce989c9b480b9ef0429bcc75fb2dcdf349940d7d5f9f85da902c5 -EBUILD gtkboard-0.11_pre0.ebuild 921 RMD160 a43ab05b089e4cbb30b6fd7211b9b7e072a29327 SHA1 6a21879dabe1ed4507ee54f5aa01ade934b2159a SHA256 58c030613df509358f748936786462f7b11c0fcb9ae07baaba0afe5ce720a1f1 -MD5 fdc9aba2a8d9af6c3f66d45a6759dd96 gtkboard-0.11_pre0.ebuild 921 -RMD160 a43ab05b089e4cbb30b6fd7211b9b7e072a29327 gtkboard-0.11_pre0.ebuild 921 -SHA256 58c030613df509358f748936786462f7b11c0fcb9ae07baaba0afe5ce720a1f1 gtkboard-0.11_pre0.ebuild 921 -MISC ChangeLog 1114 RMD160 30e0b7fc4beceb3138167c355099a87109a6445a SHA1 892eb22b493dfdc1aaff04a5e30040aacd9892ff SHA256 d5707e8b84c672d19e1326501f7875a1a1ca6984b23df94545bea23acbf941dc -MD5 f51a238849d09523df133e5a97fcff19 ChangeLog 1114 -RMD160 30e0b7fc4beceb3138167c355099a87109a6445a ChangeLog 1114 -SHA256 d5707e8b84c672d19e1326501f7875a1a1ca6984b23df94545bea23acbf941dc ChangeLog 1114 +EBUILD gtkboard-0.11_pre0.ebuild 1072 RMD160 ab71dd8963ef0d473be19daf6d966a6bcd63ff35 SHA1 8e1712a71b19c17e44b60b52af921abc2e6a531c SHA256 38fbc2d364cd12014c509872632a089d4acf4aa058914abe1deff8049ceeabb3 +MD5 8242d887076ba4af54aa539bbbac90a0 gtkboard-0.11_pre0.ebuild 1072 +RMD160 ab71dd8963ef0d473be19daf6d966a6bcd63ff35 gtkboard-0.11_pre0.ebuild 1072 +SHA256 38fbc2d364cd12014c509872632a089d4acf4aa058914abe1deff8049ceeabb3 gtkboard-0.11_pre0.ebuild 1072 +MISC ChangeLog 1254 RMD160 4a7b8ab4ef18d5623365336a297e826e31ac74b9 SHA1 01ca18bae69ea82ba3a21e430248d1dae216afa4 SHA256 f66b4333c3fba64ca01d3f98f996ad157f169b4cda8d449714c1acc598ebc661 +MD5 2d6485aa87b5b9b7d508732e01af2a1f ChangeLog 1254 +RMD160 4a7b8ab4ef18d5623365336a297e826e31ac74b9 ChangeLog 1254 +SHA256 f66b4333c3fba64ca01d3f98f996ad157f169b4cda8d449714c1acc598ebc661 ChangeLog 1254 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 @@ -18,3 +21,10 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata MD5 cc6e508cd6a4908902ca8f3b2b3b2bdf files/digest-gtkboard-0.11_pre0 253 RMD160 8aa2696f1334c4f64eacdc8008f2d01eb837f70d files/digest-gtkboard-0.11_pre0 253 SHA256 9f483eb6580bfef6d52fc6410e67609da87d8518913ce1318d3b02528216da11 files/digest-gtkboard-0.11_pre0 253 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.3 (GNU/Linux) + +iD8DBQFF9WWcdz7hIScOURERAgENAJ9qhBy/tS+OKT7aCnJ6S8CXYICPiACfQLZN +7rFX8rQT+vtzTTDXECBIfAE= +=RM/u +-----END PGP SIGNATURE----- diff --git a/games-board/gtkboard/gtkboard-0.11_pre0.ebuild b/games-board/gtkboard/gtkboard-0.11_pre0.ebuild index ae7069587287..e9f40f7da722 100644 --- a/games-board/gtkboard/gtkboard-0.11_pre0.ebuild +++ b/games-board/gtkboard/gtkboard-0.11_pre0.ebuild @@ -1,40 +1,47 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/gtkboard/gtkboard-0.11_pre0.ebuild,v 1.11 2006/04/29 21:31:07 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/gtkboard/gtkboard-0.11_pre0.ebuild,v 1.12 2007/03/12 14:37:10 nyhm Exp $ inherit eutils games MY_P=${P/_} DESCRIPTION="Board games system" HOMEPAGE="http://gtkboard.sourceforge.net/" -SRC_URI="mirror://sourceforge/gtkboard/${MY_P}.tar.gz" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc x86" -IUSE="" +IUSE="gnome" DEPEND=">=x11-libs/gtk+-2 - >=media-libs/libsdl-1.2 - media-libs/sdl-mixer" + media-libs/libsdl + media-libs/sdl-mixer + gnome? ( gnome-base/libgnomeui )" S=${WORKDIR}/${MY_P} src_unpack() { unpack ${A} cd "${S}" - epatch "${FILESDIR}/${P}-gcc41.patch" + epatch "${FILESDIR}"/${P}-gcc41.patch } src_compile() { egamesconf \ --disable-dependency-tracking \ - --datadir="${GAMES_DATADIR}/${PN}" || die + --datadir="${GAMES_DATADIR}"/${PN} \ + --enable-gtk2 \ + --enable-sdl \ + $(use_enable gnome) \ + || die emake || die "emake failed" } src_install() { - make DESTDIR="${D}" install || die "make install failed" + emake DESTDIR="${D}" install || die "emake install failed" + doicon pixmaps/${PN}.png + make_desktop_entry ${PN} Gtkboard dodoc AUTHORS ChangeLog TODO dohtml doc/index.html prepgamesdirs