summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-12-22 13:22:35 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-12-22 13:22:35 +0000
commitebbc338ab3610f794b2e3298b913fb57808be66d (patch)
tree5ea33e48574d05b534cfa6fc1fcf0275b62b5e14 /media-libs/libprojectm
parentUnmask USE mmx for media-video/mjpegtools wrt #294909. (diff)
downloadgentoo-2-ebbc338ab3610f794b2e3298b913fb57808be66d.tar.gz
gentoo-2-ebbc338ab3610f794b2e3298b913fb57808be66d.tar.bz2
gentoo-2-ebbc338ab3610f794b2e3298b913fb57808be66d.zip
fix .pc file wrt libdir, this causes build failures for packages using pkgconfig to detect projectM
(Portage version: 2.2_rc60/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libprojectm')
-rw-r--r--media-libs/libprojectm/ChangeLog9
-rw-r--r--media-libs/libprojectm/files/libprojectm-2.0.1-pcfix.patch12
-rw-r--r--media-libs/libprojectm/libprojectm-2.0.1-r1.ebuild36
3 files changed, 56 insertions, 1 deletions
diff --git a/media-libs/libprojectm/ChangeLog b/media-libs/libprojectm/ChangeLog
index 5671d2f57521..282b18b16d11 100644
--- a/media-libs/libprojectm/ChangeLog
+++ b/media-libs/libprojectm/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-libs/libprojectm
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libprojectm/ChangeLog,v 1.33 2009/12/10 19:45:11 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libprojectm/ChangeLog,v 1.34 2009/12/22 13:22:35 aballier Exp $
+
+*libprojectm-2.0.1-r1 (22 Dec 2009)
+
+ 22 Dec 2009; Alexis Ballier <aballier@gentoo.org>
+ +libprojectm-2.0.1-r1.ebuild, +files/libprojectm-2.0.1-pcfix.patch:
+ fix .pc file wrt libdir, this causes build failures for packages using
+ pkgconfig to detect projectM
*libprojectm-2.0.1 (10 Dec 2009)
diff --git a/media-libs/libprojectm/files/libprojectm-2.0.1-pcfix.patch b/media-libs/libprojectm/files/libprojectm-2.0.1-pcfix.patch
new file mode 100644
index 000000000000..c871b78910a1
--- /dev/null
+++ b/media-libs/libprojectm/files/libprojectm-2.0.1-pcfix.patch
@@ -0,0 +1,12 @@
+Index: projectM-2.0.1-Source/libprojectM.pc.in
+===================================================================
+--- projectM-2.0.1-Source.orig/libprojectM.pc.in
++++ projectM-2.0.1-Source/libprojectM.pc.in
+@@ -1,6 +1,6 @@
+ prefix=@CMAKE_INSTALL_PREFIX@
+ exec_prefix=@CMAKE_INSTALL_PREFIX@
+-libdir=@LIB_INSTALL_DIR@
++libdir=${exec_prefix}/lib@LIB_SUFFIX@
+ includedir=@CMAKE_INSTALL_PREFIX@/include
+ pkgdatadir=@CMAKE_INSTALL_PREFIX@/@RESOURCE_PREFIX@
+ sysconfdir=@CMAKE_INSTALL_PREFIX@/@RESOURCE_PREFIX@
diff --git a/media-libs/libprojectm/libprojectm-2.0.1-r1.ebuild b/media-libs/libprojectm/libprojectm-2.0.1-r1.ebuild
new file mode 100644
index 000000000000..ba323bf9c629
--- /dev/null
+++ b/media-libs/libprojectm/libprojectm-2.0.1-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libprojectm/libprojectm-2.0.1-r1.ebuild,v 1.1 2009/12/22 13:22:35 aballier Exp $
+
+EAPI=2
+inherit cmake-utils flag-o-matic eutils
+
+MY_P=${P/m/M}-Source ; MY_P=${MY_P/lib}
+
+DESCRIPTION="A graphical music visualization plugin similar to milkdrop"
+HOMEPAGE="http://projectm.sourceforge.net"
+SRC_URI="mirror://sourceforge/projectm/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="debug"
+
+RDEPEND=">=media-libs/ftgl-2.1.3_rc5
+ media-libs/freetype:2
+ media-libs/mesa
+ media-libs/glew
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-pcfix.patch"
+}
+
+src_configure() {
+ append-ldflags $(no-as-needed)
+ cmake-utils_src_configure
+}