summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-09-01 06:17:37 +0000
committerSamuli Suominen <drac@gentoo.org>2007-09-01 06:17:37 +0000
commit79e33ecce81de50899e71c6024006215d49dea56 (patch)
tree8f714adc20affc0d9db44373581643b6d54873d1 /media-video/istanbul/istanbul-0.2.2.ebuild
parentRevision bumps for both slots. No longer installs /usr/bin/rails. Instead, us... (diff)
downloadgentoo-2-79e33ecce81de50899e71c6024006215d49dea56.tar.gz
gentoo-2-79e33ecce81de50899e71c6024006215d49dea56.tar.bz2
gentoo-2-79e33ecce81de50899e71c6024006215d49dea56.zip
Add USE encode check for libtheora wrt #168989.
(Portage version: 2.1.3.7)
Diffstat (limited to 'media-video/istanbul/istanbul-0.2.2.ebuild')
-rw-r--r--media-video/istanbul/istanbul-0.2.2.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/media-video/istanbul/istanbul-0.2.2.ebuild b/media-video/istanbul/istanbul-0.2.2.ebuild
index 09afd1231f01..8d5b0a52591b 100644
--- a/media-video/istanbul/istanbul-0.2.2.ebuild
+++ b/media-video/istanbul/istanbul-0.2.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/istanbul/istanbul-0.2.2.ebuild,v 1.1 2007/02/23 12:42:39 zaheerm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/istanbul/istanbul-0.2.2.ebuild,v 1.2 2007/09/01 06:17:37 drac Exp $
inherit eutils gnome2 python autotools
@@ -23,12 +23,18 @@ RDEPEND=">=media-libs/gst-plugins-base-0.10.8
>=media-libs/libtheora-1.0_alpha6
=media-plugins/gst-plugins-gconf-0.10*
dev-python/python-xlib"
-
DEPEND="${RDEPEND}
>=dev-util/intltool-0.35.0"
SRC_URI="http://zaheer.merali.org/${P}.tar.bz2"
+pkg_setup() {
+ if ! built_with_use media-libs/libtheora encode; then
+ eerror "You need to rebuild media-libs/libtheora with USE flag encode."
+ die "media-libs/libtheora needs USE flag encode."
+ fi
+}
+
src_unpack() {
gnome2_src_unpack