Re: [proaudio] JConvolver ebuild

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Goran Mekić wrote:
> 	Anyone working on this one? I wouldn't like to duplicate the job, so if anyone has even started it, I would be glad to finish it (or maybe wait for the ebuild?). Thanx anyway!
>
>
>
>   
Something of a hack, but I have 0.8.1 in my local overlay.

HTH
R
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

IUSE=""

inherit eutils multilib toolchain-funcs
RESTRICT="mirror"

DESCRIPTION="Command line convolution reverb by Fons Adriaensen"
HOMEPAGE="http://www.kokkinizita.net/linuxaudio/index.html";
SRC_URI="http://www.kokkinizita.net/linuxaudio/downloads/${P}.tar.bz2";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~amd64"

DEPEND="|| ( x11-libs/libX11 virtual/x11 )
	>=media-libs/libclthreads-2.4.0
        >=media-libs/zita-convolver-0.1.0
        >=media-libs/libsndfile-1.0.17
	=sci-libs/fftw-3*"

src_unpack() {
        unpack ${A}
	cd ${S}
	epatch "${FILESDIR}/${P}-install-dir.patch"
}

src_compile() {
        emake PREFIX="${D}"usr || die "emake failed"
}

src_install() {
	mkdir -p "${D}"usr/bin
	emake PREFIX="${D}"usr install || die "installation failed"
}

pkg_postinst() {
	ewarn ""
}

--- Makefile.orig	2009-08-24 18:53:04.000000000 +0100
+++ Makefile	2009-08-24 20:18:40.000000000 +0100
@@ -15,7 +15,7 @@
 #  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 
-PREFIX = /usr/local
+PREFIX ?= /usr/local
 SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
 LIBDIR = lib$(SUFFIX)
 DISTDIR = jconv-$(VERSION)
@@ -58,9 +58,7 @@
 
 
 install:	jconv fconv mkwavex
-	/usr/bin/install -m 755 jconv $(PREFIX)/bin
-	/usr/bin/install -m 755 fconv $(PREFIX)/bin
-	/usr/bin/install -m 755 mkwavex $(PREFIX)/bin
+	/usr/bin/install -m 0755 -t $(PREFIX)/bin jconv fconv mkwavex
 
 
 clean:


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/