summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-07-17 18:09:49 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-07-17 18:09:49 +0000
commit3be913b2a04f2f1b7b24d2b5da1a7844a8ce686f (patch)
tree85fc39642339163a2b5e10fd5a833fdd28b88a0d /media-libs/libprojectm-qt/libprojectm-qt-1.2.0.ebuild
parentalpha/ia64/sparc stable wrt #231975 (diff)
downloadhistorical-3be913b2a04f2f1b7b24d2b5da1a7844a8ce686f.tar.gz
historical-3be913b2a04f2f1b7b24d2b5da1a7844a8ce686f.tar.bz2
historical-3be913b2a04f2f1b7b24d2b5da1a7844a8ce686f.zip
version bump
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.25.7 x86_64
Diffstat (limited to 'media-libs/libprojectm-qt/libprojectm-qt-1.2.0.ebuild')
-rw-r--r--media-libs/libprojectm-qt/libprojectm-qt-1.2.0.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/media-libs/libprojectm-qt/libprojectm-qt-1.2.0.ebuild b/media-libs/libprojectm-qt/libprojectm-qt-1.2.0.ebuild
new file mode 100644
index 000000000000..7dc94cc102d1
--- /dev/null
+++ b/media-libs/libprojectm-qt/libprojectm-qt-1.2.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libprojectm-qt/libprojectm-qt-1.2.0.ebuild,v 1.1 2008/07/17 18:09:39 aballier Exp $
+
+EAPI=1
+
+inherit cmake-utils eutils
+
+MY_TP=${P/m/M}
+MY_P=${MY_TP%_p*}
+MY_UP=${PN/m/M}-${PV/_p/-r}
+
+DESCRIPTION="A graphical music visualization plugin similar to milkdrop"
+HOMEPAGE="http://projectm.sourceforge.net"
+SRC_URI="mirror://sourceforge/projectm/${MY_UP}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=">=media-libs/libprojectm-1.1
+ || ( ( x11-libs/qt-gui
+ x11-libs/qt-core
+ x11-libs/qt-opengl )
+ >=x11-libs/qt-4.3:4 )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ dev-util/cmake"
+
+S=${WORKDIR}/${MY_P}
+
+CMAKE_IN_SOURCE_BUILD=true
+
+pkg_setup() {
+ if ! has_version x11-libs/qt-opengl && ! built_with_use =x11-libs/qt-4* opengl; then
+ eerror "You need to build qt4 with opengl support to build ${PN}"
+ die "Please rebuild qt4 with opengl support"
+ fi
+}