Permalink
Browse files

new version of libffado, plus fixes propagated to the live SVN version

  • Loading branch information...
1 parent 94b4731 commit 156fa3f4ac6270e70bed1baa5a8bd45996627e52 @nightmorph committed Sep 18, 2012
@@ -1,3 +1,5 @@
-DIST libffado-2.0.1.tar.gz 777163 RMD160 c9fba20fa362923f01c226015124f42f8dbb850d SHA1 9e327cb5ad0f56e8cfa84ec2a5f3f261b57ca96a SHA256 fda254ecf9c8007374d6120cf1c3614c7758d90981bc73f494b58313da7d199c
-EBUILD libffado-2.0.1.ebuild 1358 RMD160 7f4ea494564182e8ccbba6406888152dd5a2e8fd SHA1 4ee64b333ccc02f3e9e85fe46a9fdbef888f4ea5 SHA256 3495a98626632a8c7d58ba55dc9f00fef1418c46670daa55860c7c0e0da02b84
-EBUILD libffado-9999.ebuild 1256 RMD160 c785064a72aad81d60f3b4c67cab6394ac1fed6e SHA1 22ddca722ac109e04ae36ec3efdbab4596bb6d90 SHA256 31a9535c3f67b954404234cf8004eaa33c79473c05a872a20feaecfc1505c7ed
+DIST libffado-2.0.1.tar.gz 777163 SHA256 fda254ecf9c8007374d6120cf1c3614c7758d90981bc73f494b58313da7d199c
+DIST libffado-2.1.0.tgz 1153758 SHA256 dec0ea985e738be698c64fb3184844f4bc9bcb38349c20241027051686af9d85 SHA512 37179cb32920f16577e9f887cf90aca8d46081573080cbe408654c5234c7f45433521c977918057e330ddaa5fefa98c983ea7806d4f1f33c950112cbe66d013b WHIRLPOOL a4802d6a9318912f9d88fe17febdb05f0d990e124921b5d1d8c754ca1ca7d7457cf5aef8f662b074e0205df23b04fec0ad242640dff87903db32de0eccde9667
+EBUILD libffado-2.0.1.ebuild 1358 SHA256 3495a98626632a8c7d58ba55dc9f00fef1418c46670daa55860c7c0e0da02b84 SHA512 18aaab02c1c4985382c25916bf96261611fadfd3260adf4d7fee705dcab9e23bcc4364df8dbeab17285a3e0eebb59f13ee8f2ae8bec86c2a13daff98d96c7b31 WHIRLPOOL 284e44d55de2cae16fdd7fe03152aa8255c472a6389b5f89161478d5b683d2d765c62a73a33ece75b60bb420cb001d2649e7effd93c6118e43ffcd3b50d308c2
+EBUILD libffado-2.1.0.ebuild 1599 SHA256 a111c459fb78d9e95886c19d2164cf07018d5f024052778c6ad4db6152f1b082 SHA512 497e37fedcd785126bc13d5f9debd1f92e0bfdaa278946429acb3d066483696ef4390366b1a7114453c491b166bce6586d88fab8e0e14a5b07435675f8d1a140 WHIRLPOOL ab36c89226594112fdd82ad9fd73a63a746f28e2a90af2edfdf983f3372f6c180e30a54e9c7c5654a0bcb9091f43337f503506650a5a6863136f0fed3460bed7
+EBUILD libffado-9999.ebuild 1609 SHA256 989510eb17ce218384d503b75f62b531d58e834a51312716936f7852cab85fbe SHA512 9961ab219dfa0870dc03884593a950bdbfecb0c8ca9334115bcad531e0127be07a346d52058e57afaeeade74471f4b0dbfcac777a6d93376712857f00749687a WHIRLPOOL fcf02a82278f1236ad7df80d77083c3d3f402dff1dc4da229c90640997b9212b265b877040a6ed96c592abe855cf3d3ba1fcce9d15ee3e471cbfade5b861dd09
@@ -0,0 +1,66 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit eutils multilib scons-utils
+RESTRICT="mirror"
+
+DESCRIPTION="Library for accessing BeBoB IEEE1394 devices"
+HOMEPAGE="http://www.ffado.org"
+SRC_URI="http://www.ffado.org/files/${P}.tgz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE="+dbus-server debug +qt4"
+
+RDEPEND="dev-cpp/libxmlpp:2.6
+ dev-libs/libconfig
+ media-libs/alsa-lib
+ media-libs/libiec61883
+ sys-apps/dbus
+ sys-libs/libavc1394
+ sys-libs/libraw1394
+ dbus-server? ( dev-libs/dbus-c++ )
+ qt4? (
+ || ( x11-libs/qt-core x11-libs/qt-gui )
+ dev-python/PyQt4
+ dev-python/dbus-python )"
+
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ local myconf=""
+
+ use debug \
+ && myconf="${myconf} DEBUG=True ENABLE_OPTIMIZATIONS=False" \
+ || myconf="${myconf} DEBUG=False ENABLE_OPTIMIZATIONS=True"
+}
+
+## workaround: buildprocess calls "jackd --version",
+## which accesses /dev/snd/control*
+src_compile() {
+ addpredict /dev/snd
+
+ escons \
+ PREFIX=/usr \
+ LIBDIR=/usr/$(get_libdir) \
+ ${myconf} || die
+}
+
+src_install() {
+ escons DESTDIR="${D}" WILL_DEAL_WITH_XDG_MYSELF="True" install || die
+ dodoc AUTHORS ChangeLog README
+ if use qt4; then
+ newicon "support/xdg/hi64-apps-ffado.png" "ffado.png"
+ newmenu "support/xdg/ffado.org-ffadomixer.desktop" "ffado-mixer.desktop"
+ fi
+ ## fix manpage install location
+ cd support
+ doman tools/ffado-diag.1
+ doman mixer-qt4/ffado-mixer.1
+ doman firmware/ffado-bridgeco-downloader.1 firmware/ffado-fireworks-downloader.1
+ doman dbus/ffado-dbus-server.1
+ rm -r ${D}/usr/man*
+}
@@ -1,20 +1,18 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
-
inherit eutils multilib subversion scons-utils
DESCRIPTION="Library for accessing BeBoB IEEE1394 devices"
HOMEPAGE="http://www.ffado.org"
-
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/libffado"
LICENSE="GPL-2"
KEYWORDS="~amd64"
SLOT="0"
-IUSE="debug +qt4 +dbus-server"
+IUSE="+dbus-server debug +qt4"
RDEPEND="dev-cpp/libxmlpp:2.6
dev-libs/libconfig
@@ -31,25 +29,37 @@ RDEPEND="dev-cpp/libxmlpp:2.6
DEPEND="${RDEPEND}"
-src_compile () {
+src_configure() {
local myconf=""
use debug \
&& myconf="${myconf} DEBUG=True ENABLE_OPTIMIZATIONS=False" \
|| myconf="${myconf} DEBUG=False ENABLE_OPTIMIZATIONS=True"
+}
+
+## workaround: buildprocess calls "jackd --version",
+## which accesses /dev/snd/control*
+src_compile() {
+ addpredict /dev/snd
escons \
PREFIX=/usr \
LIBDIR=/usr/$(get_libdir) \
${myconf} || die
}
-src_install () {
+src_install() {
escons DESTDIR="${D}" WILL_DEAL_WITH_XDG_MYSELF="True" install || die
- dodoc AUTHORS ChangeLog NEWS README TODO
-
+ dodoc AUTHORS ChangeLog README
if use qt4; then
newicon "support/xdg/hi64-apps-ffado.png" "ffado.png"
newmenu "support/xdg/ffado.org-ffadomixer.desktop" "ffado-mixer.desktop"
fi
+ ## fix manpage install location
+ cd support
+ doman tools/ffado-diag.1
+ doman mixer-qt4/ffado-mixer.1
+ doman firmware/ffado-bridgeco-downloader.1 firmware/ffado-fireworks-downloader.1
+ doman dbus/ffado-dbus-server.1
+ rm -r ${D}/usr/man*
}

0 comments on commit 156fa3f

Please sign in to comment.