summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-04-14 17:49:54 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-04-14 17:49:54 +0000
commit53bdf3c28b6eb48ea8a89ede0566e33a8239eb9c (patch)
tree604b3cb404a8cc36d54480d04ced8cb37a5f9273
parentMarked ~alpha wrt bug #154626 (diff)
downloadgentoo-2-53bdf3c28b6eb48ea8a89ede0566e33a8239eb9c.tar.gz
gentoo-2-53bdf3c28b6eb48ea8a89ede0566e33a8239eb9c.tar.bz2
gentoo-2-53bdf3c28b6eb48ea8a89ede0566e33a8239eb9c.zip
Add built_with_use check thanks to Johannes Hirte <johannes-hirte@web.de> in bug 159812
(Portage version: 2.1.2.3)
-rw-r--r--media-video/kdenlive/ChangeLog6
-rw-r--r--media-video/kdenlive/kdenlive-0.4.ebuild11
2 files changed, 11 insertions, 6 deletions
diff --git a/media-video/kdenlive/ChangeLog b/media-video/kdenlive/ChangeLog
index 8f0fef540316..f5fc65a5b0e1 100644
--- a/media-video/kdenlive/ChangeLog
+++ b/media-video/kdenlive/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/kdenlive
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/kdenlive/ChangeLog,v 1.16 2007/04/14 17:23:39 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/kdenlive/ChangeLog,v 1.17 2007/04/14 17:49:54 genstef Exp $
+
+ 14 Apr 2007; Stefan Schweizer <genstef@gentoo.org> kdenlive-0.4.ebuild:
+ Add built_with_use check thanks to Johannes Hirte <johannes-hirte@web.de> in
+ bug 159812
*kdenlive-0.4 (14 Apr 2007)
diff --git a/media-video/kdenlive/kdenlive-0.4.ebuild b/media-video/kdenlive/kdenlive-0.4.ebuild
index 3afebadf87a0..5d1959d5c730 100644
--- a/media-video/kdenlive/kdenlive-0.4.ebuild
+++ b/media-video/kdenlive/kdenlive-0.4.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/kdenlive/kdenlive-0.4.ebuild,v 1.1 2007/04/14 17:23:39 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/kdenlive/kdenlive-0.4.ebuild,v 1.2 2007/04/14 17:49:54 genstef Exp $
inherit eutils kde
@@ -40,8 +40,9 @@ need-kde 3
S="${WORKDIR}/${P/.0/}"
-src_unpack() {
- unpack ${A}
- cd ${S}
- sh bootstrap
+pkg_setup() {
+ if ! built_with_use media-libs/mlt sdl; then
+ eerror "You need to build media-libs/mlt with USE=sdl enabled."
+ die "mlt w/o sdl detected"
+ fi
}