diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2006-08-30 16:20:40 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2006-08-30 16:20:40 +0000 |
commit | 3570d7e1bf3a38dc73977e841e6a60c650d4333c (patch) | |
tree | a2827f80b6bf5cbdb42098301f95feeb2818eea7 /media-video/ogmrip | |
parent | Fixed get_after_major_version for bug #145532 (diff) | |
download | gentoo-2-3570d7e1bf3a38dc73977e841e6a60c650d4333c.tar.gz gentoo-2-3570d7e1bf3a38dc73977e841e6a60c650d4333c.tar.bz2 gentoo-2-3570d7e1bf3a38dc73977e841e6a60c650d4333c.zip |
Applied patch from Bug #142203 to now use built_with_use for checking mplayer-caps.
(Portage version: 2.1.1_rc1-r2)
Diffstat (limited to 'media-video/ogmrip')
-rw-r--r-- | media-video/ogmrip/ChangeLog | 6 | ||||
-rw-r--r-- | media-video/ogmrip/ogmrip-0.9.0-r1.ebuild | 30 |
2 files changed, 18 insertions, 18 deletions
diff --git a/media-video/ogmrip/ChangeLog b/media-video/ogmrip/ChangeLog index b0b85d22175b..8d5e4552b31f 100644 --- a/media-video/ogmrip/ChangeLog +++ b/media-video/ogmrip/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-video/ogmrip # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/ogmrip/ChangeLog,v 1.6 2006/08/20 20:15:54 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/ogmrip/ChangeLog,v 1.7 2006/08/30 16:20:40 zzam Exp $ + + 30 Aug 2006; Matthias Schwarzott <zzam@gentoo.org> ogmrip-0.9.0-r1.ebuild: + Applied patch from Bug #142203 to now use built_with_use for checking + mplayer-caps. *ogmrip-0.10.0_rc3 (20 Aug 2006) diff --git a/media-video/ogmrip/ogmrip-0.9.0-r1.ebuild b/media-video/ogmrip/ogmrip-0.9.0-r1.ebuild index b81f0b49287b..4c102c5b4f79 100644 --- a/media-video/ogmrip/ogmrip-0.9.0-r1.ebuild +++ b/media-video/ogmrip/ogmrip-0.9.0-r1.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-video/ogmrip/ogmrip-0.9.0-r1.ebuild,v 1.2 2006/06/02 15:14:24 sbriesen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/ogmrip/ogmrip-0.9.0-r1.ebuild,v 1.3 2006/08/30 16:20:40 zzam Exp $ inherit autotools eutils gnome2 @@ -34,27 +34,23 @@ DEPEND="${RDEPEND} G2CONF="${G2CONF} $(use_enable gnome gnome-support) $(use_enable debug maintainer-mode) $(use_enable subp enchant-support) $(use_enable hal hal-support)" -DOCS="AUTHORS ChangeLog COPYING README INSTALL NEWS TODO" +DOCS="AUTHORS ChangeLog README NEWS TODO" pkg_setup() { - if ! which mencoder > /dev/null 2>&1; then - eerror "Unable to find mencoder in the PATH. You need mencoder to use OGMRip." - eerror "Please, add encode to your USE flags and emerge mplayer again." - die "Unable to find mencoder in the PATH. You need mencoder to use OGMRip." - fi - if ! mencoder -ovc help 2> /dev/null | grep -q "^ *xvid *- .*$"; then - echo - eerror "Mplayer is not build with XviD support. OGMRip requires XviD support in mplayer." - eerror "Please, add xvid to your USE flags and emerge mplayer again." - die "Mplayer is not build with XviD support. OGMRip requires XviD support in mplayer." + if ! built_with_use -a media-video/mplayer dvd encode xvid; then + eerror "Please, check that your USE flags contain 'dvd', 'encode' and" + eerror "'xvid' and emerge mplayer again." + die "Mplayer is not build with dvd, encoding or xvid support. OGMRip" \ + "requires dvd, encoding and xvid support in mplayer." fi } + src_unpack() { unpack ${A} - cd ${S} - epatch ${FILESDIR}/${P}-lang.patch - epatch ${FILESDIR}/${P}-gcc4.patch - epatch ${FILESDIR}/${P}-mplayercvs.patch - epatch ${FILESDIR}/${P}-types.patch + cd "${S}" + epatch "${FILESDIR}/${P}-lang.patch" + epatch "${FILESDIR}/${P}-gcc4.patch" + epatch "${FILESDIR}/${P}-mplayercvs.patch" + epatch "${FILESDIR}/${P}-types.patch" eautoreconf } |