Move icon to mirror://gentoo
authorTristan Heaven <tristan@gentoo.org>
Wed, 14 Feb 2007 01:40:34 +0000 (01:40 +0000)
committerTristan Heaven <tristan@gentoo.org>
Wed, 14 Feb 2007 01:40:34 +0000 (01:40 +0000)
Package-Manager: portage-2.1.2-r9

games-sports/billardgl/ChangeLog
games-sports/billardgl/Manifest
games-sports/billardgl/billardgl-1.75-r1.ebuild
games-sports/billardgl/files/billardgl.png [deleted file]
games-sports/billardgl/files/digest-billardgl-1.75-r1

index bf91d33e1d527924a8cae07a92f8216ba46becc6..13dcc58539b37b99b670a9319c7ae09c334cb122 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for games-sports/billardgl
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/billardgl/ChangeLog,v 1.9 2006/12/06 20:27:01 wolf31o2 Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/billardgl/ChangeLog,v 1.10 2007/02/14 01:40:34 nyhm Exp $
+
+  14 Feb 2007; Tristan Heaven <nyhm@gentoo.org> -files/billardgl.png,
+  billardgl-1.75-r1.ebuild:
+  Move icon to mirror://gentoo
 
   06 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org>
   billardgl-1.75-r1.ebuild:
index 12365be456ee76066f8a166828759be131516184..3251f11bd860f04a221f9f37b2e697f6181f7b29 100644 (file)
@@ -1,30 +1,27 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-AUX billardgl.png 3212 RMD160 5d8087ef1fc996a46004bcd06e9e1640d52d9cc9 SHA1 80f33f120baf84f72e61cb0f1139ccf2680f37de SHA256 a79b27cffca343ddb8f57cd6880acc6c60daf82959919868932a296f57be286e
-MD5 1a3d2c609497d14662fe20cd4a8bf3e3 files/billardgl.png 3212
-RMD160 5d8087ef1fc996a46004bcd06e9e1640d52d9cc9 files/billardgl.png 3212
-SHA256 a79b27cffca343ddb8f57cd6880acc6c60daf82959919868932a296f57be286e files/billardgl.png 3212
 DIST BillardGL-1.75.tar.gz 736295 RMD160 11586d3c887367e3137e2d498e9ff729156cf233 SHA1 b1e3c044a500cf1331ae392c861f8d8402f1806e SHA256 9b865b1254aa30125480ec7ea2ce00d91524db066a524b78492545782856df96
-EBUILD billardgl-1.75-r1.ebuild 1132 RMD160 815210ad5fd7e6531f484daf710ed38df80697ea SHA1 a5ce7d5421f22ef0e8dd41d0d642d9bb2ec72f38 SHA256 db8192b99d71d03f03ae4c4afe6b8c67903b290407795d4e2215439ac6039287
-MD5 3d5b7080de07e83e49569931f6b2c3a1 billardgl-1.75-r1.ebuild 1132
-RMD160 815210ad5fd7e6531f484daf710ed38df80697ea billardgl-1.75-r1.ebuild 1132
-SHA256 db8192b99d71d03f03ae4c4afe6b8c67903b290407795d4e2215439ac6039287 billardgl-1.75-r1.ebuild 1132
-MISC ChangeLog 2326 RMD160 2d88361b2f3d0ed625b5fcc06ef6e27ef191ae5a SHA1 9bd3f322b33eeabf3327e7523c7d4a2295157d3f SHA256 749296df54a1f40a4cfab13ba0c9aad50e918f7499f9a3d29effb39f38c3a8f5
-MD5 589fecf7534dda1f5fcc9ec15577554c ChangeLog 2326
-RMD160 2d88361b2f3d0ed625b5fcc06ef6e27ef191ae5a ChangeLog 2326
-SHA256 749296df54a1f40a4cfab13ba0c9aad50e918f7499f9a3d29effb39f38c3a8f5 ChangeLog 2326
+DIST billardgl.png 3212 RMD160 5d8087ef1fc996a46004bcd06e9e1640d52d9cc9 SHA1 80f33f120baf84f72e61cb0f1139ccf2680f37de SHA256 a79b27cffca343ddb8f57cd6880acc6c60daf82959919868932a296f57be286e
+EBUILD billardgl-1.75-r1.ebuild 1270 RMD160 bd1c537b1e7c1292cb2a230e48c1ed70fe57d66b SHA1 184ddabbfeeb4fef596447342e6ff5c0b438d219 SHA256 d8515019948a9c891443a35cf88a848f30f4025c0be7118a0b3c4bb0b1b0847b
+MD5 811a092a3a26e7f3fd21256822abd1b0 billardgl-1.75-r1.ebuild 1270
+RMD160 bd1c537b1e7c1292cb2a230e48c1ed70fe57d66b billardgl-1.75-r1.ebuild 1270
+SHA256 d8515019948a9c891443a35cf88a848f30f4025c0be7118a0b3c4bb0b1b0847b billardgl-1.75-r1.ebuild 1270
+MISC ChangeLog 2453 RMD160 64c2084f00d86a241c42ac07bcf41b5fa0d295a0 SHA1 f20989cd53ffe49fd09cb328990bffd411bcc608 SHA256 daa2c6650f570f8f4fe0b603125bac0108124787cada51efc024d552bab924cd
+MD5 10f7827012b5646e56872c7aa07a8ed2 ChangeLog 2453
+RMD160 64c2084f00d86a241c42ac07bcf41b5fa0d295a0 ChangeLog 2453
+SHA256 daa2c6650f570f8f4fe0b603125bac0108124787cada51efc024d552bab924cd ChangeLog 2453
 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
-MD5 e72eae2566a5a1623bc07ae1d4d5353a files/digest-billardgl-1.75-r1 244
-RMD160 abb85f06612b96e863dae7626f3e8f42ae379197 files/digest-billardgl-1.75-r1 244
-SHA256 6407e01e7a162cf488b74e594749786d97d43a8da37a835848217a77312ccf39 files/digest-billardgl-1.75-r1 244
+MD5 7818a008022f1b971c288619e3478f8e files/digest-billardgl-1.75-r1 458
+RMD160 c95233e41f67c555cebf25739414c173b41e5b43 files/digest-billardgl-1.75-r1 458
+SHA256 a5d988e375c1b794b867d92b01e4f9ac7f29455466feae6b1ba0e44c87d80108 files/digest-billardgl-1.75-r1 458
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
+Version: GnuPG v2.0.2 (GNU/Linux)
 
-iD8DBQFFdyeckT4lNIS36YERAgGGAJ9uersTLDTKbil3EL1oZIL8fKwhngCZAZ/o
-StdwZ2AUzz0D33HrkhavsoQ=
-=xn2f
+iD8DBQFF0miZdz7hIScOURERAjedAJ4sqw60zIyO1wFdsSr7SDSIUxc6vgCeLUEA
+PqYg+OX8qq5qtCNFiuulG4M=
+=2b7P
 -----END PGP SIGNATURE-----
index a33973c43e22a4ad29c3dece8e3697a857e39818..fd0cd453b6eccc957b3e5ce21f81ff5843c08f54 100644 (file)
@@ -1,16 +1,17 @@
-# 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-sports/billardgl/billardgl-1.75-r1.ebuild,v 1.9 2006/12/06 20:27:01 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/billardgl/billardgl-1.75-r1.ebuild,v 1.10 2007/02/14 01:40:34 nyhm Exp $
 
 inherit eutils games
 
 DESCRIPTION="an OpenGL billards game"
 HOMEPAGE="http://www.billardgl.de/"
-SRC_URI="mirror://sourceforge/billardgl/BillardGL-${PV}.tar.gz"
+SRC_URI="mirror://sourceforge/${PN}/BillardGL-${PV}.tar.gz
+       mirror://gentoo/${PN}.png"
 
 LICENSE="GPL-2"
-KEYWORDS="amd64 x86 ppc"
 SLOT="0"
+KEYWORDS="amd64 ppc x86"
 IUSE=""
 
 DEPEND="x11-libs/libXi
@@ -25,20 +26,27 @@ src_unpack() {
        unpack ${A}
        cd "${S}"
        sed -i \
-               -e "s:/usr/share/BillardGL/:${GAMES_DATADIR}/BillardGL/:" Namen.h \
-               || die "sed failed"
+               -e "s:/usr/share/BillardGL/:${GAMES_DATADIR}/${PN}/:" \
+               Namen.h \
+               || die "sed Namen.h failed"
        sed -i \
-               -e "/^CFLAGS/ s:-pipe -Wall -W:${CFLAGS}:" \
-               -e "/^CXXFLAGS/ s:-pipe -Wall -W:${CXXFLAGS}:" Makefile \
-               || die "sed failed"
+               -e '/^CXXFLAGS/s:=.*\(-D.*\)-.*:+=\1:' \
+               -e "/^LFLAGS/s:=:=${LDFLAGS}:" \
+               Makefile \
+               || die "sed Makefile failed"
+       sed -i \
+               -e 's:<iostream.h>:<iostream>:' \
+               -e 's:<fstream.h>:<fstream>\nusing namespace std;:' \
+               bmp.cpp \
+               || die "sed bmp.cpp failed"
 }
 
 src_install() {
-       dogamesbin BillardGL || die "dogamesbin failed"
-       dodir "${GAMES_DATADIR}/BillardGL"
-       cp -r lang/ Texturen/ "${D}/${GAMES_DATADIR}/BillardGL" || die "cp failed"
+       newgamesbin BillardGL ${PN} || die "newgamesbin failed"
+       insinto "${GAMES_DATADIR}"/${PN}
+       doins -r lang Texturen || die "doins failed"
        dodoc README
-       doicon "${FILESDIR}/${PN}.png"
-       make_desktop_entry ${PN} "BillardGL"
+       doicon "${DISTDIR}"/${PN}.png
+       make_desktop_entry ${PN} BillardGL
        prepgamesdirs
 }
diff --git a/games-sports/billardgl/files/billardgl.png b/games-sports/billardgl/files/billardgl.png
deleted file mode 100644 (file)
index 2371866..0000000
Binary files a/games-sports/billardgl/files/billardgl.png and /dev/null differ
index 15db41f6657e50ca95ec4a2b0d3c2065b8161667..4f1d7e807c8da10e7b80b299fb5b411bc10cbc5d 100644 (file)
@@ -1,3 +1,6 @@
 MD5 46f2cf99e1a2b2aa4707d3500e43be47 BillardGL-1.75.tar.gz 736295
 RMD160 11586d3c887367e3137e2d498e9ff729156cf233 BillardGL-1.75.tar.gz 736295
 SHA256 9b865b1254aa30125480ec7ea2ce00d91524db066a524b78492545782856df96 BillardGL-1.75.tar.gz 736295
+MD5 1a3d2c609497d14662fe20cd4a8bf3e3 billardgl.png 3212
+RMD160 5d8087ef1fc996a46004bcd06e9e1640d52d9cc9 billardgl.png 3212
+SHA256 a79b27cffca343ddb8f57cd6880acc6c60daf82959919868932a296f57be286e billardgl.png 3212