diff options
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.ebuild | 40 |
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 +} |