diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-10-20 01:45:43 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-10-20 01:45:43 +0000 |
commit | bf914bd707eb5a8a7d9e13d35899368c5351c834 (patch) | |
tree | 827fea2acd3977815d9992319ec6765c80c5ab8c /eclass/xmms-plugin.eclass | |
parent | DESCRIPTION and package update (bug #67672) (diff) | |
download | historical-bf914bd707eb5a8a7d9e13d35899368c5351c834.tar.gz historical-bf914bd707eb5a8a7d9e13d35899368c5351c834.tar.bz2 historical-bf914bd707eb5a8a7d9e13d35899368c5351c834.zip |
Added pkg_postinst to give info to user about when NOBMP is set, but USE=bmp
Diffstat (limited to 'eclass/xmms-plugin.eclass')
-rw-r--r-- | eclass/xmms-plugin.eclass | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/eclass/xmms-plugin.eclass b/eclass/xmms-plugin.eclass index a63be7670f49..85d054cd5932 100644 --- a/eclass/xmms-plugin.eclass +++ b/eclass/xmms-plugin.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/xmms-plugin.eclass,v 1.4 2004/10/20 01:39:51 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/xmms-plugin.eclass,v 1.5 2004/10/20 01:45:43 eradicator Exp $ # # Jeremy Huddleston <eradicator@gentoo.org> # @@ -227,6 +227,13 @@ xmms-plugin_src_install() { fi } +xmms-plugin_pkg_postinst() { + if use bmp && [ "${NOBMP}" = "1" ]; then + ewarn "You have bmp in your USE flags, but this xmms plugin" + ewarn "does not support bmp, sorry." + fi +} + xmms2bmp_automate() { find . -name Makefile -o -name Makefile.in -o -name configure | xargs sed -i -e 's:xmms-config:beep-config:g' \ @@ -241,4 +248,4 @@ do_bmp() { use bmp && [ "${NOBMP}" != "1" ] } -EXPORT_FUNCTIONS src_unpack src_compile src_install +EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_postinst |