summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerkan Kaba <serkan@gentoo.org>2008-12-20 12:03:47 +0000
committerSerkan Kaba <serkan@gentoo.org>2008-12-20 12:03:47 +0000
commit72fce3f62d9c61c9b104c61d6a7b72c7113034ce (patch)
treebc685baf33eebd3dffa3212a2014944ee11459a8 /media-video/jubler
parent~mips rekeyworded, bug #212585. (diff)
downloadgentoo-2-72fce3f62d9c61c9b104c61d6a7b72c7113034ce.tar.gz
gentoo-2-72fce3f62d9c61c9b104c61d6a7b72c7113034ce.tar.bz2
gentoo-2-72fce3f62d9c61c9b104c61d6a7b72c7113034ce.zip
Improve built_with_use checks on mplayer. Fixes bug #251717 reported by Martin Thierer <martin@bangaroo.net>
(Portage version: 2.2_rc17/cvs/Linux 2.6.27-gentoo-r2 x86_64)
Diffstat (limited to 'media-video/jubler')
-rw-r--r--media-video/jubler/ChangeLog6
-rw-r--r--media-video/jubler/jubler-3.9.6.ebuild8
2 files changed, 10 insertions, 4 deletions
diff --git a/media-video/jubler/ChangeLog b/media-video/jubler/ChangeLog
index ba44e0eb4bfc..7b238f3ad0b3 100644
--- a/media-video/jubler/ChangeLog
+++ b/media-video/jubler/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/jubler
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/jubler/ChangeLog,v 1.27 2008/12/20 04:17:17 serkan Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/jubler/ChangeLog,v 1.28 2008/12/20 12:03:47 serkan Exp $
+
+ 20 Dec 2008; Serkan Kaba <serkan@gentoo.org> jubler-3.9.6.ebuild:
+ Improve built_with_use checks on mplayer. Fixes bug #251717 reported by
+ Martin Thierer <martin@bangaroo.net>
*jubler-4.0 (20 Dec 2008)
diff --git a/media-video/jubler/jubler-3.9.6.ebuild b/media-video/jubler/jubler-3.9.6.ebuild
index d93667b0af44..26c651a289b8 100644
--- a/media-video/jubler/jubler-3.9.6.ebuild
+++ b/media-video/jubler/jubler-3.9.6.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/jubler/jubler-3.9.6.ebuild,v 1.5 2008/12/20 00:54:50 gentoofan23 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/jubler/jubler-3.9.6.ebuild,v 1.6 2008/12/20 12:03:47 serkan Exp $
inherit gnome2 eutils java-pkg-2 java-ant-2 toolchain-funcs
@@ -35,8 +35,10 @@ pkg_setup() {
if use spell && ! built_with_use dev-java/zemberek linguas_tr; then
die "dev-java/zemberek should be built with Turkish language support"
fi
- if use mplayer && ! built_with_use -o media-video/mplayer srt ass; then
- msg="media-video/mplayer needs to be built with the srt use flag"
+ if use mplayer &&
+ ( ! built_with_use --missing true media-video/mplayer ass \
+ || ! built_with_use --missing true media-video/mplayer srt ); then
+ msg="media-video/mplayer needs to be built with the srt or ass USE flag"
eerror ${msg}
die ${msg}
fi