diff options
Diffstat (limited to 'media-libs/jackd-firewire/jackd-firewire-0.121.3.ebuild')
-rw-r--r-- | media-libs/jackd-firewire/jackd-firewire-0.121.3.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/media-libs/jackd-firewire/jackd-firewire-0.121.3.ebuild b/media-libs/jackd-firewire/jackd-firewire-0.121.3.ebuild new file mode 100644 index 00000000..d27304a8 --- /dev/null +++ b/media-libs/jackd-firewire/jackd-firewire-0.121.3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit multilib + +MY_PN="jack-audio-connection-kit" +DESCRIPTION="FFADO backend for JACK Audio Connection Kit" +HOMEPAGE="http://www.jackaudio.org" +SRC_URI="http://www.jackaudio.org/downloads/${MY_PN}-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +RDEPEND=" + >=media-libs/alsa-lib-1.0.18 + media-libs/libffado + ~media-sound/${MY_PN}-${PV}[-ffado] +" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + sed -i \ + -e "s:\$(top_builddir)/libjack/libjack.la:${ROOT}usr/$(get_libdir)/libjack.la:" \ + -e "s:\$(top_builddir)/jackd/libjackserver.la:${ROOT}usr/$(get_libdir)/libjackserver.la:" \ + drivers/firewire/Makefile.in || die +} + +src_configure() { + # use !doc equivalent + export ac_cv_prog_HAVE_DOXYGEN=false + + econf \ + --enable-firewire \ + --disable-altivec \ + --disable-alsa \ + --disable-coreaudio \ + --disable-debug \ + --disable-mmx \ + --disable-oss \ + --disable-portaudio \ + --disable-sse \ + --with-html-dir=/usr/share/doc/${PF} \ + --disable-dependency-tracking \ + || die "configure failed" +} + +src_compile() { + emake -C drivers/firewire || die +} + +src_install() { + emake -C drivers/firewire DESTDIR="${D}" install || die "install failed" +} |