From a2101233ef7e582a0522deaee0e6ceeef30302a9 Mon Sep 17 00:00:00 2001 From: Carsten Lohrke Date: Sat, 22 Dec 2007 20:24:37 +0000 Subject: Check Qt 3 being built with OpenGL support. (Portage version: 2.1.3.19) --- app-cdr/k9copy/ChangeLog | 5 ++++- app-cdr/k9copy/k9copy-1.2.1.ebuild | 14 +++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) (limited to 'app-cdr/k9copy') 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 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 -- cgit v1.2.3-65-gdbad