/[gentoo-x86]/media-plugins/ir_lv2/ir_lv2-1.3.ebuild
Gentoo

Contents of /media-plugins/ir_lv2/ir_lv2-1.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat May 5 08:27:18 2012 UTC (23 months, 2 weeks ago) by jdhore
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-plugins/ir_lv2/ir_lv2-1.3.ebuild,v 1.1 2011/04/26 18:56:33 aballier Exp $
4
5 EAPI=3
6
7 inherit toolchain-funcs flag-o-matic multilib
8
9 MY_P="${P/_/.}"
10 DESCRIPTION="LV2 convolver plugin especially for creating reverb effects"
11 HOMEPAGE="http://factorial.hu/plugins/lv2/ir"
12 SRC_URI="http://factorial.hu/system/files/${MY_P}.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64"
17 IUSE=""
18
19 RDEPEND="media-libs/zita-convolver
20 >=x11-libs/gtk+-2.16:2
21 media-libs/libsndfile
22 media-libs/libsamplerate"
23 DEPEND="${RDEPEND}
24 virtual/pkgconfig"
25
26 S=${WORKDIR}/${PN/_/.}
27
28 src_prepare() {
29 sed -i -e 's/g++/$(CXX)/' -e 's/gcc/$(CC)/' Makefile || die #respect CC/CXX
30 sed -i -e 's/\(^C4CFLAGS =.*\) -O2.*/\1 $(CFLAGS)/' Makefile || die #respect CFLAGS
31 sed -i -e 's/\(^CPPFLAGS +=.*\) -O2.*/\1 $(CXXFLAGS)/' Makefile || die #respect CXXFLAGS
32 }
33
34 src_compile() {
35 tc-export CC CXX
36 emake || die
37 }
38
39 src_install() {
40 emake INSTDIR="${D}/usr/$(get_libdir)/lv2/ir.lv2" install || die
41 dodoc README ChangeLog || die
42 }

  ViewVC Help
Powered by ViewVC 1.1.20