diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2008-02-10 18:34:15 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2008-02-10 18:34:15 +0000 |
commit | 112c6177e304be109dd91c2c3bd757b20732e57d (patch) | |
tree | 0ec9de8be980656bd6ac0b58f42bdb3ab503bb61 /media-video | |
parent | ppc stable, bug #209551 (diff) | |
download | gentoo-2-112c6177e304be109dd91c2c3bd757b20732e57d.tar.gz gentoo-2-112c6177e304be109dd91c2c3bd757b20732e57d.tar.bz2 gentoo-2-112c6177e304be109dd91c2c3bd757b20732e57d.zip |
added test for multiple menu manipulation ; bug 201601
(Portage version: 2.1.3.19)
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/vdr/ChangeLog | 5 | ||||
-rw-r--r-- | media-video/vdr/vdr-1.4.7-r10.ebuild | 18 |
2 files changed, 21 insertions, 2 deletions
diff --git a/media-video/vdr/ChangeLog b/media-video/vdr/ChangeLog index b2b81bbe5a91..7b9c71787aa6 100644 --- a/media-video/vdr/ChangeLog +++ b/media-video/vdr/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-video/vdr # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/vdr/ChangeLog,v 1.101 2008/01/08 11:18:50 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/vdr/ChangeLog,v 1.102 2008/02/10 18:34:15 hd_brummy Exp $ + + 10 Feb 2008; Joerg Bornkessel <hd_brummy@gentoo.org> vdr-1.4.7-r10.ebuild: + added test for multiple menu manipulation ; bug 201601 *vdr-1.4.7-r10 (08 Jan 2008) diff --git a/media-video/vdr/vdr-1.4.7-r10.ebuild b/media-video/vdr/vdr-1.4.7-r10.ebuild index fc07cde5093c..897198687f92 100644 --- a/media-video/vdr/vdr-1.4.7-r10.ebuild +++ b/media-video/vdr/vdr-1.4.7-r10.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/vdr/vdr-1.4.7-r10.ebuild,v 1.1 2008/01/08 11:18:50 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/vdr/vdr-1.4.7-r10.ebuild,v 1.2 2008/02/10 18:34:15 hd_brummy Exp $ inherit eutils flag-o-matic multilib @@ -52,10 +52,26 @@ CAP_FILE="${S}"/capabilities.sh CAPS="# Capabilities of the vdr-executable for use by startscript etc." pkg_setup() { + check_menu_flags + use debug && append-flags -g PLUGIN_LIBDIR="/usr/$(get_libdir)/vdr/plugins" } +check_menu_flags () { + + for flag in menuorg setup submenu; do + use $flag && count=$((count+1)) + done + + if [ $count -gt 1 ] ; then + echo + eerror "Please use only one of this USE-Flags" + eerror "submenu setup menuorg" + die "multiple menu manipulation" + fi +} + add_cap() { local arg for arg; do |