summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-01-02 11:44:18 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-01-02 11:44:18 +0000
commit141e38486e6c6b7f68cf18aa049268eff7480773 (patch)
treeaa927ccbf97466d1cfecca75aee3479ca5ac767a /media-video/xine-ui
parentAdd ~amd64 keyword. (diff)
downloadgentoo-2-141e38486e6c6b7f68cf18aa049268eff7480773.tar.gz
gentoo-2-141e38486e6c6b7f68cf18aa049268eff7480773.tar.bz2
gentoo-2-141e38486e6c6b7f68cf18aa049268eff7480773.zip
Make sure to check for the proper video backend in xine-lib when enabling aalib or libcaca frontends.
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'media-video/xine-ui')
-rw-r--r--media-video/xine-ui/ChangeLog8
-rw-r--r--media-video/xine-ui/xine-ui-0.99.5.ebuild18
2 files changed, 22 insertions, 4 deletions
diff --git a/media-video/xine-ui/ChangeLog b/media-video/xine-ui/ChangeLog
index 4bd1f240f264..66a5b9e39296 100644
--- a/media-video/xine-ui/ChangeLog
+++ b/media-video/xine-ui/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/xine-ui
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/ChangeLog,v 1.153 2007/12/30 13:55:55 drac Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/ChangeLog,v 1.154 2008/01/02 11:44:18 flameeyes Exp $
+
+ 02 Jan 2008; Diego Pettenò <flameeyes@gentoo.org> xine-ui-0.99.5.ebuild:
+ Make sure to check for the proper video backend in xine-lib when enabling
+ aalib or libcaca frontends.
30 Dec 2007; Samuli Suominen <drac@gentoo.org>
-xine-ui-0.99.5_pre20070303.ebuild, xine-ui-0.99.5.ebuild:
diff --git a/media-video/xine-ui/xine-ui-0.99.5.ebuild b/media-video/xine-ui/xine-ui-0.99.5.ebuild
index ba81c0c9af66..53f938f0eb0d 100644
--- a/media-video/xine-ui/xine-ui-0.99.5.ebuild
+++ b/media-video/xine-ui/xine-ui-0.99.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/xine-ui-0.99.5.ebuild,v 1.8 2007/12/30 13:55:55 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/xine-ui-0.99.5.ebuild,v 1.9 2008/01/02 11:44:18 flameeyes Exp $
# WANT_AUTOCONF=latest
# WANT_AUTOMAKE=latest
@@ -42,6 +42,20 @@ DEPEND="${RDEPEND}
xinerama? ( x11-proto/xineramaproto ) )
dev-util/pkgconfig"
+pkg_setup() {
+ if use aalib && ! built_with_use media-libs/xine-lib aalib; then
+ eerror "To enable the AA frontend in xine-ui you need"
+ eerror "to enable the aalib video output in media-libs/xine-lib."
+ die "Missing aalib USE flag on media-libs/xine-lib."
+ fi
+
+ if use libcaca && ! built_with_use media-libs/xine-lib libcaca; then
+ eerror "To enable the CACA frontend in xine-ui you need"
+ eerror "to enable the libcaca video output in media-libs/xine-lib."
+ die "Missing libcaca USE flag on media-libs/xine-lib."
+ fi
+}
+
src_compile() {
rm misc/xine-bugreport