ugly built_with_use checks for bug #166286 and bug #166284
authorTristan Heaven <tristan@gentoo.org>
Sat, 17 Feb 2007 09:56:49 +0000 (09:56 +0000)
committerTristan Heaven <tristan@gentoo.org>
Sat, 17 Feb 2007 09:56:49 +0000 (09:56 +0000)
Package-Manager: portage-2.1.2-r9

games-sports/ultimatestunts/Manifest
games-sports/ultimatestunts/ultimatestunts-0.7.0.ebuild

index 1ab4f88b6f74db7e8cf4df6909f5b496001056da..a97be4f7493671ea37b7c7658a12c9114965ae9d 100644 (file)
@@ -6,10 +6,10 @@ MD5 31beb4972eecb4d2afd0bfb375650bf5 files/ultimatestunts-0.7.0-paths.patch 969
 RMD160 dd571d878e103a32addf39091bc123f0e4a25a6d files/ultimatestunts-0.7.0-paths.patch 969
 SHA256 bfb96f2bfecc5245138e7157e9c38fee6fa39cd5f29ccbb143e77e945a7c3f58 files/ultimatestunts-0.7.0-paths.patch 969
 DIST ultimatestunts-srcdata-0701.tar.gz 15046586 RMD160 88a514ab54a5423930937a826cb7b7a552064297 SHA1 9397c54c6133b8fb309e54bd05b182dc31c42dda SHA256 88f7f14e02d9e4ca4b7ecc7eebb572039d159e5013d5912537cd3251765266d6
-EBUILD ultimatestunts-0.7.0.ebuild 1365 RMD160 e96bf3a0e0de3d22a6b9728fcf3f3e9963172913 SHA1 20b4e98ac20dea03acf4b10cec43341a0fd4ee71 SHA256 321871a59d819b0b0aa31c997f85be9b1a255484f62e7e510955de65fdf9cd68
-MD5 36d1588eb5a9693d9c55a6fe7c88ad7c ultimatestunts-0.7.0.ebuild 1365
-RMD160 e96bf3a0e0de3d22a6b9728fcf3f3e9963172913 ultimatestunts-0.7.0.ebuild 1365
-SHA256 321871a59d819b0b0aa31c997f85be9b1a255484f62e7e510955de65fdf9cd68 ultimatestunts-0.7.0.ebuild 1365
+EBUILD ultimatestunts-0.7.0.ebuild 1603 RMD160 a27825503ab93d95033f8e1be1fa5462574f9a45 SHA1 9cbfafd10b2286273ab1c78d7ff994a9b230e24f SHA256 871ff16885b471a517dc564d5c6c9382c046050bebf7216b0bb1edf65c41a3e6
+MD5 c6ed677c21ee8bfd40f392f84f876a8d ultimatestunts-0.7.0.ebuild 1603
+RMD160 a27825503ab93d95033f8e1be1fa5462574f9a45 ultimatestunts-0.7.0.ebuild 1603
+SHA256 871ff16885b471a517dc564d5c6c9382c046050bebf7216b0bb1edf65c41a3e6 ultimatestunts-0.7.0.ebuild 1603
 MISC ChangeLog 2837 RMD160 517ac58f2181ef76f28e011e38c74bda554db1ed SHA1 f77c5ae078e49732b996723f5a5025cb84326f99 SHA256 917704560aa28fa9b5ec6153fd321b692c1f08e98719ac7016e92a73fddb3525
 MD5 962a2962ffcd44383b4765d590833b14 ChangeLog 2837
 RMD160 517ac58f2181ef76f28e011e38c74bda554db1ed ChangeLog 2837
@@ -22,9 +22,9 @@ MD5 8d07ea2768b8bb590236efdda022b1bc files/digest-ultimatestunts-0.7.0 289
 RMD160 35b4ea52f6a0e9fd372bfd2de558cc1dcd890deb files/digest-ultimatestunts-0.7.0 289
 SHA256 684733dab27c86f108db8a1cd691be64964d7401ac82ae4816e3526e35408974 files/digest-ultimatestunts-0.7.0 289
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.1 (GNU/Linux)
+Version: GnuPG v2.0.2 (GNU/Linux)
 
-iD8DBQFFwMeHdz7hIScOURERAo+JAKCFQcNfRBxioeIztuGK/UPiKAtGYACeIx3G
-WbFHQgwAP+UdbT8zkH7EV0k=
-=OAJc
+iD8DBQFF1tFqdz7hIScOURERApYSAKDt+UnQMZXCwkq3G99/9Ol/GDwbAgCgxjiJ
+I8rYqoUH3ZQGCgPJeDV6ER0=
+=jnZb
 -----END PGP SIGNATURE-----
index 72c8a63de133b782f5c4e1b37befba82b08d3dec..d894bf5ab7a2ee399eea23a211eb7bc75528a5dd 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ultimatestunts-0.7.0.ebuild,v 1.1 2007/01/31 16:44:48 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ultimatestunts-0.7.0.ebuild,v 1.2 2007/02/17 09:56:49 nyhm Exp $
 
 inherit autotools eutils versionator games
 
@@ -27,6 +27,16 @@ DEPEND="${RDEPEND}
 
 S=${WORKDIR}/${MY_P}
 
+pkg_setup() {
+       games_pkg_setup
+       if ! built_with_use media-libs/libsdl opengl ; then
+               die "Please emerge libsdl with USE=opengl"
+       fi
+       if ! built_with_use media-libs/openal vorbis ; then
+               die "Please emerge openal with USE=vorbis"
+       fi
+}
+
 src_unpack() {
        unpack ${A}
        cd "${S}"