From 1ba223206096f6ac82f9a18aae15dce6330b85da Mon Sep 17 00:00:00 2001 From: Andrej Kacian Date: Mon, 4 Dec 2006 00:49:38 +0000 Subject: [PATCH] Warn user if GTK+ was built without jpeg USE flag. Warning suggested by Avuton Olrich . Package-Manager: portage-2.1.2_rc2-r2 --- media-sound/pympd/ChangeLog | 6 +++++- media-sound/pympd/Manifest | 32 ++++++++++++++--------------- media-sound/pympd/pympd-0.06.ebuild | 12 ++++++++++- media-sound/pympd/pympd-0.07.ebuild | 12 ++++++++++- 4 files changed, 43 insertions(+), 19 deletions(-) diff --git a/media-sound/pympd/ChangeLog b/media-sound/pympd/ChangeLog index 0f443a0bb7fb..b49df77ba230 100644 --- a/media-sound/pympd/ChangeLog +++ b/media-sound/pympd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-sound/pympd # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/pympd/ChangeLog,v 1.11 2006/09/09 18:55:40 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/pympd/ChangeLog,v 1.12 2006/12/04 00:49:38 ticho Exp $ + + 04 Dec 2006; pympd-0.06.ebuild, pympd-0.07.ebuild: + Warn user if GTK+ was built without jpeg USE flag. Warning suggested by + Avuton Olrich . 09 Sep 2006; pympd-0.07.ebuild: Added ~ppc diff --git a/media-sound/pympd/Manifest b/media-sound/pympd/Manifest index 340210f0c38a..595a67a59bc6 100644 --- a/media-sound/pympd/Manifest +++ b/media-sound/pympd/Manifest @@ -8,18 +8,18 @@ EBUILD pympd-0.06.1.ebuild 1237 RMD160 2ff3979f748514e40e2e97d73d5b44b3746bbc68 MD5 c786938a0dfbcb7b3ec7ddc9a60d4607 pympd-0.06.1.ebuild 1237 RMD160 2ff3979f748514e40e2e97d73d5b44b3746bbc68 pympd-0.06.1.ebuild 1237 SHA256 2dccab61995cee29360750b2fae5d90fc08a0287448bfeefce6fe9212d93661f pympd-0.06.1.ebuild 1237 -EBUILD pympd-0.06.ebuild 1243 RMD160 b80fd6e3f96fe531043461225cd3583087738810 SHA1 9a5c2163ec0a68984e9f748e63ba28e48a03b97f SHA256 bd180c7361b74d13110c18199ad80551cd0d522e04c853bf2ddbfa8b5788860f -MD5 14679047d030698cd9886268ad68d578 pympd-0.06.ebuild 1243 -RMD160 b80fd6e3f96fe531043461225cd3583087738810 pympd-0.06.ebuild 1243 -SHA256 bd180c7361b74d13110c18199ad80551cd0d522e04c853bf2ddbfa8b5788860f pympd-0.06.ebuild 1243 -EBUILD pympd-0.07.ebuild 1159 RMD160 437678900eb126762070e10cfefff478bd9ca376 SHA1 15810af4cc9c9af2d8de1bd8ad95c0339f7a4df4 SHA256 df89e899426b5f66d1d5a785fc07f930bd064c7e93625ab54b22312e96a1152c -MD5 505e256aec565c221c166c194f814007 pympd-0.07.ebuild 1159 -RMD160 437678900eb126762070e10cfefff478bd9ca376 pympd-0.07.ebuild 1159 -SHA256 df89e899426b5f66d1d5a785fc07f930bd064c7e93625ab54b22312e96a1152c pympd-0.07.ebuild 1159 -MISC ChangeLog 1818 RMD160 136687e78027824fe7547f7d0f324c186153a687 SHA1 23b7eb094335321c87297bb85d149725a13b38e4 SHA256 29d27a7a4768f31b9c5b27e541d206bc927aae0ade9c841087bacd088fd1b8c0 -MD5 0669462fe06ee34f3b984e565a8ab566 ChangeLog 1818 -RMD160 136687e78027824fe7547f7d0f324c186153a687 ChangeLog 1818 -SHA256 29d27a7a4768f31b9c5b27e541d206bc927aae0ade9c841087bacd088fd1b8c0 ChangeLog 1818 +EBUILD pympd-0.06.ebuild 1447 RMD160 dc0fb7411474b804632c89fb30dc65cad845eedd SHA1 fe617eef8aba2545633ba7d4ccb4dd51f20691ba SHA256 0b00c4d6cd2091a8714a38507b38194960cbd1b0c26d955baa1fde396d450fbe +MD5 0a9a822b5d331f280431977d683f6313 pympd-0.06.ebuild 1447 +RMD160 dc0fb7411474b804632c89fb30dc65cad845eedd pympd-0.06.ebuild 1447 +SHA256 0b00c4d6cd2091a8714a38507b38194960cbd1b0c26d955baa1fde396d450fbe pympd-0.06.ebuild 1447 +EBUILD pympd-0.07.ebuild 1362 RMD160 fb9d4a5cc4a0f13afde883ac4daec3ddd098abef SHA1 9d3207a9596f6ce7ff90db58000e04c6f9ac3a4a SHA256 42b4011364f6fdedf3d09258d38c28eb9d5b74e13d9bc20a89ff3dad0d59e7c4 +MD5 adc315e2d578e6b9010730c292f720a2 pympd-0.07.ebuild 1362 +RMD160 fb9d4a5cc4a0f13afde883ac4daec3ddd098abef pympd-0.07.ebuild 1362 +SHA256 42b4011364f6fdedf3d09258d38c28eb9d5b74e13d9bc20a89ff3dad0d59e7c4 pympd-0.07.ebuild 1362 +MISC ChangeLog 2003 RMD160 473ee784e78e5248e0efca9abf3b4101031e099a SHA1 7e6937c09e2f671e7b0e4e3e90c269aa1e27d437 SHA256 4ab83cdd48d4594e072b5000fa4ad55813622ed783bd317dff44ee4309aefabd +MD5 7373774fcbb4069e0f7eeb7e69a8c510 ChangeLog 2003 +RMD160 473ee784e78e5248e0efca9abf3b4101031e099a ChangeLog 2003 +SHA256 4ab83cdd48d4594e072b5000fa4ad55813622ed783bd317dff44ee4309aefabd ChangeLog 2003 MISC metadata.xml 358 RMD160 482e4d50b563b16b57c005d51594f5e41049ff95 SHA1 31aad8f3e6c332cceeede1db8215fc74331015e0 SHA256 d15866ec8080a47f9fd2670495c18a5e29d7a11adfa8ae5d443be38e7a9c1154 MD5 db53de635739e34187c013fc78a83604 metadata.xml 358 RMD160 482e4d50b563b16b57c005d51594f5e41049ff95 metadata.xml 358 @@ -34,9 +34,9 @@ MD5 070900e0fc8adc2253309479615ff003 files/digest-pympd-0.07 229 RMD160 73059e2bab91920426b3b7a5633b53f516abd5a6 files/digest-pympd-0.07 229 SHA256 177cc9ce031f6774e2441e3029da1dbc3537138f6b17a26d5ab5aa79fab572b9 files/digest-pympd-0.07 229 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.4 (GNU/Linux) +Version: GnuPG v1.4.5 (GNU/Linux) -iD8DBQFFAw3gwLwTda5NScMRAiWAAJ9P7hnEe9OBQGG2WE8DRZct1V+RbQCdHtaf -dGwelsLLjTeGcwWGP9cZjQI= -=TlyC +iD8DBQFFc3CzQlM6RnzZP+IRAvasAKCoOMUu3eESYDrWjD/OWpSvXCc+4gCgk2s1 +GQJbBJZvb+8T6fxmXSk5G1w= +=oH1E -----END PGP SIGNATURE----- diff --git a/media-sound/pympd/pympd-0.06.ebuild b/media-sound/pympd/pympd-0.06.ebuild index fb6e314b2c80..eff850a1908f 100644 --- a/media-sound/pympd/pympd-0.06.ebuild +++ b/media-sound/pympd/pympd-0.06.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/pympd/pympd-0.06.ebuild,v 1.4 2006/03/18 20:07:40 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/pympd/pympd-0.06.ebuild,v 1.5 2006/12/04 00:49:38 ticho Exp $ inherit eutils python @@ -18,6 +18,16 @@ RDEPEND=">=virtual/python-2.4 DOCS="README" +pkg_setup() { + if ! built_with_use '=gtk+-2*' jpeg; then + echo + ewarn "If you want album cover art displayed in pympd," + ewarn "you must build gtk+-2.x with \"jpeg\" USE flag." + echo + ebeep 3 + fi +} + src_compile() { make PREFIX="/usr" DESTDIR="${D}" } diff --git a/media-sound/pympd/pympd-0.07.ebuild b/media-sound/pympd/pympd-0.07.ebuild index 2f3da18f2259..0cb422899d64 100644 --- a/media-sound/pympd/pympd-0.07.ebuild +++ b/media-sound/pympd/pympd-0.07.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/pympd/pympd-0.07.ebuild,v 1.2 2006/09/09 18:55:40 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/pympd/pympd-0.07.ebuild,v 1.3 2006/12/04 00:49:38 ticho Exp $ inherit toolchain-funcs python @@ -16,6 +16,16 @@ IUSE="" RDEPEND=">=virtual/python-2.4 >=dev-python/pygtk-2.6" +pkg_setup() { + if ! built_with_use '=gtk+-2*' jpeg; then + echo + ewarn "If you want album cover art displayed in pympd," + ewarn "you must build gtk+-2.x with \"jpeg\" USE flag." + echo + ebeep 3 + fi +} + src_compile() { # Honor CFLAGS in make.conf export BUILDFLAGS="${CFLAGS}" -- 2.26.2