summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2007-12-22 20:24:37 +0000
committerCarsten Lohrke <carlo@gentoo.org>2007-12-22 20:24:37 +0000
commita2101233ef7e582a0522deaee0e6ceeef30302a9 (patch)
treeddc2d5a0baab6b55761fe16ba1d89aecf52de6a3 /app-cdr/k9copy
parent Removing kmrml from meta ebuild, see bug #175976. (diff)
downloadgentoo-2-a2101233ef7e582a0522deaee0e6ceeef30302a9.tar.gz
gentoo-2-a2101233ef7e582a0522deaee0e6ceeef30302a9.tar.bz2
gentoo-2-a2101233ef7e582a0522deaee0e6ceeef30302a9.zip
Check Qt 3 being built with OpenGL support.
(Portage version: 2.1.3.19)
Diffstat (limited to 'app-cdr/k9copy')
-rw-r--r--app-cdr/k9copy/ChangeLog5
-rw-r--r--app-cdr/k9copy/k9copy-1.2.1.ebuild14
2 files changed, 17 insertions, 2 deletions
diff --git a/app-cdr/k9copy/ChangeLog b/app-cdr/k9copy/ChangeLog
index 11d2c7c5be9d..e3d1b2becf75 100644
--- a/app-cdr/k9copy/ChangeLog
+++ b/app-cdr/k9copy/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-cdr/k9copy
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/k9copy/ChangeLog,v 1.30 2007/12/08 10:58:28 mattepiu Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/k9copy/ChangeLog,v 1.31 2007/12/22 20:24:37 carlo Exp $
+
+ 22 Dec 2007; Carsten Lohrke <carlo@gentoo.org> k9copy-1.2.1.ebuild:
+ Check Qt 3 being built with OpenGL support.
*k9copy-1.2.1 (08 Dec 2007)
diff --git a/app-cdr/k9copy/k9copy-1.2.1.ebuild b/app-cdr/k9copy/k9copy-1.2.1.ebuild
index e2348c398959..63e3677c7c84 100644
--- a/app-cdr/k9copy/k9copy-1.2.1.ebuild
+++ b/app-cdr/k9copy/k9copy-1.2.1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/k9copy/k9copy-1.2.1.ebuild,v 1.1 2007/12/08 10:58:28 mattepiu Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/k9copy/k9copy-1.2.1.ebuild,v 1.2 2007/12/22 20:24:37 carlo Exp $
+
+EAPI="1"
inherit kde
@@ -26,6 +28,16 @@ DEPEND="media-video/dvdauthor
need-kde 3.5
+pkg_setup() {
+ kde_pkg_setup
+
+ if ! built_with_use x11-libs/qt:3 opengl ; then
+ eerror "K9Copy needs Qt 3 built with OpenGL support. Please set the"
+ errror "\"opengl\" use flag and run \"emerge --oneshot x11-libs/qt:3\""
+ die "Please follow the above error message."
+ fi
+}
+
src_unpack() {
kde_src_unpack