diff options
author | Alexis Ballier <aballier@gentoo.org> | 2011-01-24 11:55:39 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2011-01-24 11:55:39 +0000 |
commit | 8423340c47e1587fbbbd92a0fab5ce1fc886736d (patch) | |
tree | dd045e677dc953bbab0367782559534235bb17db /media-plugins/ir_lv2 | |
parent | initial import, ebuild by me (diff) | |
download | historical-8423340c47e1587fbbbd92a0fab5ce1fc886736d.tar.gz historical-8423340c47e1587fbbbd92a0fab5ce1fc886736d.tar.bz2 historical-8423340c47e1587fbbbd92a0fab5ce1fc886736d.zip |
initial import, ebuild by me
Package-Manager: portage-2.2.0_alpha19/cvs/Linux x86_64
Diffstat (limited to 'media-plugins/ir_lv2')
-rw-r--r-- | media-plugins/ir_lv2/ChangeLog | 10 | ||||
-rw-r--r-- | media-plugins/ir_lv2/Manifest | 15 | ||||
-rw-r--r-- | media-plugins/ir_lv2/files/ir_lv2-1.1-makefile.patch | 48 | ||||
-rw-r--r-- | media-plugins/ir_lv2/ir_lv2-1.1.ebuild | 39 | ||||
-rw-r--r-- | media-plugins/ir_lv2/metadata.xml | 5 |
5 files changed, 117 insertions, 0 deletions
diff --git a/media-plugins/ir_lv2/ChangeLog b/media-plugins/ir_lv2/ChangeLog new file mode 100644 index 000000000000..77d151c702d5 --- /dev/null +++ b/media-plugins/ir_lv2/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-plugins/ir_lv2 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/ir_lv2/ChangeLog,v 1.1 2011/01/24 11:55:39 aballier Exp $ + +*ir_lv2-1.1 (24 Jan 2011) + + 24 Jan 2011; Alexis Ballier <aballier@gentoo.org> +ir_lv2-1.1.ebuild, + +files/ir_lv2-1.1-makefile.patch, +metadata.xml: + initial import, ebuild by me + diff --git a/media-plugins/ir_lv2/Manifest b/media-plugins/ir_lv2/Manifest new file mode 100644 index 000000000000..c3a1e8d6568a --- /dev/null +++ b/media-plugins/ir_lv2/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX ir_lv2-1.1-makefile.patch 2104 RMD160 ae3dfcf0085dc588201b8776f4e21e26f2c82ff2 SHA1 6444fbd10707bb1c4b0f080068dc481bb8ac7f02 SHA256 131b2a2a3c0aa58ed3c882852e8150f5bb4dbd6e9dd8ac2ea560cfd101a0ae51 +DIST ir.lv2-1.1.tar.gz 44608 RMD160 a04100ef06dc4cdcc321a92cf4414eb74a011f4c SHA1 d6c5f422b71fdb77afc1ec37d2484af492ad10ae SHA256 58e36b394bca94c7b874cbdd4f1cac631522fccdfbec35974c6f894d75b8d665 +EBUILD ir_lv2-1.1.ebuild 933 RMD160 6c49c7a6ce84ae4f6c0a77e7b2d4823e4cefcbab SHA1 3fccd40853f54edd0c879781acc95d2136b6c9b8 SHA256 b345ef3ffb90171c556621ac4cd56a0a9e8ecda10b9f5e54ac019f1d1e9ce411 +MISC ChangeLog 397 RMD160 3a3659a9872347f0993d0177ea1d72dbc6b6e76d SHA1 dae661e7776c4bfde5280b7da44c2eb97979fe2e SHA256 d827594bf9a61e9362a61daa5ee7b72cf850ccc20a693c0ff66db71228c65b4e +MISC metadata.xml 161 RMD160 2738d17827a71b5ccbadae4c4f909d2b57d147b0 SHA1 90201ddb830142147774cc7b7b5178fbd0a9af0c SHA256 0ba191421eefd954d1efe9f6c3384e8c8d7455d35a7e79457272e1c29211b09e +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iEYEARECAAYFAk09aMAACgkQvFcC4BYPU0ru+wCbBGhJAPK8ZclBEHQ5TuXurHgE +LuAAoKcdqa41gyeqbxCPEmBaMzH04PP/ +=kq52 +-----END PGP SIGNATURE----- diff --git a/media-plugins/ir_lv2/files/ir_lv2-1.1-makefile.patch b/media-plugins/ir_lv2/files/ir_lv2-1.1-makefile.patch new file mode 100644 index 000000000000..ffe320663e24 --- /dev/null +++ b/media-plugins/ir_lv2/files/ir_lv2-1.1-makefile.patch @@ -0,0 +1,48 @@ +Index: ir.lv2/Makefile +=================================================================== +--- ir.lv2.orig/Makefile ++++ ir.lv2/Makefile +@@ -10,7 +10,7 @@ INSTDIR = $(PREFIX)/lib/lv2/ir.lv2 + INST_FILES = ir.so ir_gui.so ir.ttl manifest.ttl + + # change "-O2 -ffast-math" to "-g -O0" below if you want to debug the plugin +-CPPFLAGS += -Wall -I. -I/usr/include `pkg-config --cflags gtk+-2.0` `pkg-config --cflags gthread-2.0` -D__STDC_FORMAT_MACROS -O2 -ffast-math ++CPPFLAGS += -Wall -I. -I/usr/include `pkg-config --cflags gtk+-2.0` `pkg-config --cflags gthread-2.0` -D__STDC_FORMAT_MACROS + LIBS += -lc -lm -lzita-convolver -lsamplerate -lsndfile `pkg-config --libs gthread-2.0` `pkg-config --libs gtk+-2.0` + + ifeq ($(shell pkg-config --atleast-version='2.20' gtk+-2.0; echo $$?), 0) +@@ -23,31 +23,25 @@ C4LIBS = -lsndfile `pkg-config --libs gt + all: ir.so ir_gui.so + + ir.o: ir.cc ir.h ir_utils.h +- g++ ir.cc $(CPPFLAGS) -c -fPIC -o ir.o + + ir_gui.o: ir_gui.cc ir.h ir_utils.h ir_wavedisplay.h +- g++ ir_gui.cc $(CPPFLAGS) -c -fPIC -o ir_gui.o + + ir_utils.o: ir_utils.cc ir_utils.h ir.h +- g++ ir_utils.cc $(CPPFLAGS) -c -fPIC -o ir_utils.o + + ir_meter.o: ir_meter.cc ir_meter.h ir.h ir_utils.h +- g++ ir_meter.cc $(CPPFLAGS) -c -fPIC -o ir_meter.o + + ir_modeind.o: ir_modeind.cc ir_modeind.h ir.h ir_utils.h +- g++ ir_modeind.cc $(CPPFLAGS) -c -fPIC -o ir_modeind.o + + ir_wavedisplay.o: ir_wavedisplay.cc ir_wavedisplay.h ir.h ir_utils.h +- g++ ir_wavedisplay.cc $(CPPFLAGS) -c -fPIC -o ir_wavedisplay.o + + ir.so: ir.o ir_utils.o +- g++ ir.o ir_utils.o $(LIBS) -shared -o ir.so ++ $(CXX) $(LDFLAGS) ir.o ir_utils.o $(LIBS) -shared -o ir.so + + ir_gui.so: ir_gui.o ir_utils.o ir_meter.o ir_modeind.o ir_wavedisplay.o +- g++ ir_gui.o ir_utils.o ir_meter.o ir_modeind.o ir_wavedisplay.o $(LIBS) -shared -o ir_gui.so ++ $(CXX) $(LDFLAGS) ir_gui.o ir_utils.o ir_meter.o ir_modeind.o ir_wavedisplay.o $(LIBS) -shared -o ir_gui.so + + convert4chan: convert4chan.c +- gcc $(C4CFLAGS) convert4chan.c $(C4LIBS) -o convert4chan ++ $(CC) $(C4CFLAGS) convert4chan.c $(C4LIBS) -o convert4chan + + install: all + mkdir -p $(INSTDIR) diff --git a/media-plugins/ir_lv2/ir_lv2-1.1.ebuild b/media-plugins/ir_lv2/ir_lv2-1.1.ebuild new file mode 100644 index 000000000000..b9809247e949 --- /dev/null +++ b/media-plugins/ir_lv2/ir_lv2-1.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/ir_lv2/ir_lv2-1.1.ebuild,v 1.1 2011/01/24 11:55:39 aballier Exp $ + +EAPI=3 + +inherit base toolchain-funcs flag-o-matic multilib + +MY_P="${P/_/.}" +DESCRIPTION="LV2 convolver plugin especially for creating reverb effects" +HOMEPAGE="http://factorial.hu/plugins/lv2/ir" +SRC_URI="http://factorial.hu/system/files/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="media-libs/zita-convolver + x11-libs/gtk+:2 + media-libs/libsndfile + media-libs/libsamplerate" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S=${WORKDIR}/${PN/_/.} + +PATCHES=( "${FILESDIR}/${P}-makefile.patch" ) + +src_compile() { + tc-export CC CXX + append-cxxflags -fPIC + emake || die +} + +src_install() { + emake INSTDIR="${D}/usr/$(get_libdir)/lv2/ir.lv2" install || die + dodoc README ChangeLog || die +} diff --git a/media-plugins/ir_lv2/metadata.xml b/media-plugins/ir_lv2/metadata.xml new file mode 100644 index 000000000000..0dc3775f83d7 --- /dev/null +++ b/media-plugins/ir_lv2/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>proaudio</herd> +</pkgmetadata> |