diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-04-17 15:03:59 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-04-17 15:03:59 +0000 |
commit | 73baa30030a00b010c6c80da770904805f0bb3e6 (patch) | |
tree | 4d85815f5a8a7820cdf79843265f518aa7f22a5b /media-video/winki/winki-0.3.2.ebuild | |
parent | Version bump + security fixes. (diff) | |
download | gentoo-2-73baa30030a00b010c6c80da770904805f0bb3e6.tar.gz gentoo-2-73baa30030a00b010c6c80da770904805f0bb3e6.tar.bz2 gentoo-2-73baa30030a00b010c6c80da770904805f0bb3e6.zip |
Add a check for encode useflag in mplayer package, bug #114396. Thanks to Arun Raghavan.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'media-video/winki/winki-0.3.2.ebuild')
-rw-r--r-- | media-video/winki/winki-0.3.2.ebuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/media-video/winki/winki-0.3.2.ebuild b/media-video/winki/winki-0.3.2.ebuild index 66b47f888fbf..38379a398251 100644 --- a/media-video/winki/winki-0.3.2.ebuild +++ b/media-video/winki/winki-0.3.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/winki/winki-0.3.2.ebuild,v 1.3 2005/11/07 09:48:58 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/winki/winki-0.3.2.ebuild,v 1.4 2006/04/17 15:03:59 flameeyes Exp $ inherit distutils eutils @@ -24,6 +24,14 @@ RDEPEND="${DEPEND} media-sound/vorbis-tools vcd? ( media-video/vcdimager )" +pkg_setup() { + if ! built_with_use media-video/mplayer encode; then + eerror "You need media-video/mplayer built with the \"encode\" useflag to" + eerror "use winki. Please rebuild mplayer with the \"encode\" useflag." + die "Missing \"encode\" useflag on mplayer." + fi +} + src_unpack() { unpack ${A} |