/[gentoo-x86]/media-libs/libprojectm/libprojectm-2.0.1-r1.ebuild
Gentoo

Contents of /media-libs/libprojectm/libprojectm-2.0.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Dec 22 13:22:35 2009 UTC (10 years, 2 months ago) by aballier
Branch: MAIN
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)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/libprojectm/libprojectm-2.0.1.ebuild,v 1.2 2009/12/10 20:22:59 ssuominen Exp $
4
5 EAPI=2
6 inherit cmake-utils flag-o-matic eutils
7
8 MY_P=${P/m/M}-Source ; MY_P=${MY_P/lib}
9
10 DESCRIPTION="A graphical music visualization plugin similar to milkdrop"
11 HOMEPAGE="http://projectm.sourceforge.net"
12 SRC_URI="mirror://sourceforge/projectm/${MY_P}.tar.gz"
13
14 LICENSE="LGPL-2"
15 SLOT="0"
16 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
17 IUSE="debug"
18
19 RDEPEND=">=media-libs/ftgl-2.1.3_rc5
20 media-libs/freetype:2
21 media-libs/mesa
22 media-libs/glew
23 sys-libs/zlib"
24 DEPEND="${RDEPEND}
25 dev-util/pkgconfig"
26
27 S=${WORKDIR}/${MY_P}
28
29 src_prepare() {
30 epatch "${FILESDIR}/${P}-pcfix.patch"
31 }
32
33 src_configure() {
34 append-ldflags $(no-as-needed)
35 cmake-utils_src_configure
36 }

  ViewVC Help
Powered by ViewVC 1.1.20