[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2024-02-16 Thread Miroslav Šulc
commit: 999cfa26780329398b5a0b7269092b9ad35e4562
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Fri Feb 16 12:45:02 2024 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Fri Feb 16 12:45:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=999cfa26

media-libs/libffado: dropped obsolete 2.4.7

Bug: https://bugs.gentoo.org/924478
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/libffado/Manifest  |   1 -
 media-libs/libffado/libffado-2.4.7.ebuild | 125 --
 2 files changed, 126 deletions(-)

diff --git a/media-libs/libffado/Manifest b/media-libs/libffado/Manifest
index 6198c27c79f4..ec50968e9f57 100644
--- a/media-libs/libffado/Manifest
+++ b/media-libs/libffado/Manifest
@@ -1,2 +1 @@
-DIST libffado-2.4.7.tgz 1231931 BLAKE2B 
3c304011259ddbd35ce8fd725d38a5f50fca962981f9c5af6e377493a14985e4b96c64bcc54ba5a341028ec17dc6f2c42ce527422779f2edc6f9a1a61220cf51
 SHA512 
424a9ca7ded12e72d77a50d7ddf4e50dc0d55b80d725499df7609ce60d0eac8b24a41d9b8e4e74f78bdefe114b61bd5f1ec09a6d083f4a58475e66d61153f075
 DIST libffado-2.4.8.tgz 1237955 BLAKE2B 
14b83d55fc9a7b33c888b893c808f8419292fefaa2c2239b4b51c2b84070a584ea72821c8469bb8d965a9a5e6473b6fcfb5e85f4eecd2d424e3167322f8abb81
 SHA512 
fbbcd30640c55315f2e65fc6c07afc71a77dd2c9d1b6127ee55cd17e76511ad5f0563135e52397dbf113fb0d5925021a38780f231409bdd920da52e6c1ce3acc

diff --git a/media-libs/libffado/libffado-2.4.7.ebuild 
b/media-libs/libffado/libffado-2.4.7.ebuild
deleted file mode 100644
index 559b64032697..
--- a/media-libs/libffado/libffado-2.4.7.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit desktop python-single-r1 scons-utils toolchain-funcs udev 
multilib-minimal
-
-DESCRIPTION="Driver for IEEE1394 (Firewire) audio interfaces"
-HOMEPAGE="http://www.ffado.org;
-
-if [[ "${PV}" = "" ]]; then
-   inherit subversion
-   ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
-else
-   SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv x86"
-fi
-
-LICENSE="GPL-2 GPL-3"
-SLOT="0"
-IUSE="debug qt5 test-programs"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-BDEPEND="
-   virtual/pkgconfig
-"
-CDEPEND="${PYTHON_DEPS}
-   dev-cpp/libxmlpp:2.6[${MULTILIB_USEDEP}]
-   >=dev-libs/dbus-c++-0.9.0-r5
-   dev-libs/libconfig:=[cxx,${MULTILIB_USEDEP}]
-   media-libs/alsa-lib
-   media-libs/libiec61883[${MULTILIB_USEDEP}]
-   sys-apps/dbus
-   sys-libs/libavc1394[${MULTILIB_USEDEP}]
-   sys-libs/libraw1394[${MULTILIB_USEDEP}]
-   qt5? (
-   $(python_gen_cond_dep '
-   dev-python/dbus-python[${PYTHON_USEDEP}]
-   dev-python/PyQt5[dbus,${PYTHON_USEDEP}]
-   ')
-   x11-misc/xdg-utils
-   )"
-DEPEND="${CDEPEND}"
-RDEPEND="${CDEPEND}"
-
-PATCHES=(
-   "${FILESDIR}/libffado-2.4.7-fix-config-load-crash.patch"
-)
-
-myescons() {
-   local myesconsargs=(
-   PREFIX="${EPREFIX}/usr"
-   LIBDIR="${EPREFIX}/usr/$(get_libdir)"
-   MANDIR="${EPREFIX}/usr/share/man"
-   UDEVDIR="$(get_udevdir)/rules.d"
-   CUSTOM_ENV=true
-   DETECT_USERSPACE_ENV=false
-   DEBUG=$(usex debug)
-   PYPKGDIR="$(python_get_sitedir)"
-   # ENABLE_OPTIMIZATIONS detects cpu type and sets flags 
accordingly
-   # -fomit-frame-pointer is added also which can cripple 
debugging.
-   # we set flags from portage instead
-   ENABLE_OPTIMIZATIONS=false
-   # This only works for JACK1>=0.122.0 or JACK2>=1.9.9.
-   ENABLE_SETBUFFERSIZE_API_VER=force
-   )
-   if multilib_is_native_abi; then
-   myesconsargs+=(
-   BUILD_MIXER=$(usex qt5 true false)
-   BUILD_TESTS=$(usex test-programs)
-   )
-   else
-   myesconsargs+=(
-   BUILD_MIXER=false
-   BUILD_TESTS=false
-   )
-   fi
-   escons "${myesconsargs[@]}" "${@}"
-}
-
-src_prepare() {
-   default
-
-   # Bug #808853
-   cp "${BROOT}"/usr/share/gnuconfig/config.guess admin/ || die "Failed to 
update config.guess"
-
-   # Always use Qt5
-   sed -i -e 's/try:/if False:/' -e 's/except.*/else:/' 
support/mixer-qt4/ffado/import_pyqt.py || die
-
-   # Bugs #658052, #659226
-   sed -i -e 's/^CacheDir/#CacheDir/' SConstruct || die
-
-   multilib_copy_sources
-}
-
-multilib_src_compile() {
-   tc-export CC CXX
-   myescons
-}
-
-multilib_src_install() {
-   myescons DESTDIR="${D}" WILL_DEAL_WITH_XDG_MYSELF="True" install
-}
-
-multilib_src_install_all() {
-   einstalldocs
-
-   

[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2024-02-14 Thread Sam James
commit: a24356aaab944504d4e12dd34aa2f34e424efc54
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb 14 16:42:53 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb 14 16:42:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a24356aa

media-libs/libffado: Stabilize 2.4.8 x86, #924478

Signed-off-by: Sam James  gentoo.org>

 media-libs/libffado/libffado-2.4.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libffado/libffado-2.4.8.ebuild 
b/media-libs/libffado/libffado-2.4.8.ebuild
index d2a774f98c29..485806fc9807 100644
--- a/media-libs/libffado/libffado-2.4.8.ebuild
+++ b/media-libs/libffado/libffado-2.4.8.ebuild
@@ -15,7 +15,7 @@ if [[ "${PV}" = "" ]]; then
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
 else
SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv x86"
 fi
 
 S="${WORKDIR}/${P}/${PN}"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2024-02-14 Thread Sam James
commit: bce93dd189b428ecf4ef38c0e22205f5ce0c25bf
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb 14 16:42:52 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb 14 16:42:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bce93dd1

media-libs/libffado: Stabilize 2.4.8 amd64, #924478

Signed-off-by: Sam James  gentoo.org>

 media-libs/libffado/libffado-2.4.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libffado/libffado-2.4.8.ebuild 
b/media-libs/libffado/libffado-2.4.8.ebuild
index fdfc2e344d55..d2a774f98c29 100644
--- a/media-libs/libffado/libffado-2.4.8.ebuild
+++ b/media-libs/libffado/libffado-2.4.8.ebuild
@@ -15,7 +15,7 @@ if [[ "${PV}" = "" ]]; then
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
 else
SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
 fi
 
 S="${WORKDIR}/${P}/${PN}"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2024-01-14 Thread Miroslav Šulc
commit: 77edf9f19acec57dee7db90925ed848e6e6b2a09
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Sun Jan 14 12:35:13 2024 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Sun Jan 14 12:35:13 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77edf9f1

media-libs/libffado: bump to 2.4.8

Closes: https://bugs.gentoo.org/921698
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/libffado/Manifest  |   1 +
 media-libs/libffado/libffado-2.4.8.ebuild | 126 ++
 2 files changed, 127 insertions(+)

diff --git a/media-libs/libffado/Manifest b/media-libs/libffado/Manifest
index 5ef9f7fd0337..6198c27c79f4 100644
--- a/media-libs/libffado/Manifest
+++ b/media-libs/libffado/Manifest
@@ -1 +1,2 @@
 DIST libffado-2.4.7.tgz 1231931 BLAKE2B 
3c304011259ddbd35ce8fd725d38a5f50fca962981f9c5af6e377493a14985e4b96c64bcc54ba5a341028ec17dc6f2c42ce527422779f2edc6f9a1a61220cf51
 SHA512 
424a9ca7ded12e72d77a50d7ddf4e50dc0d55b80d725499df7609ce60d0eac8b24a41d9b8e4e74f78bdefe114b61bd5f1ec09a6d083f4a58475e66d61153f075
+DIST libffado-2.4.8.tgz 1237955 BLAKE2B 
14b83d55fc9a7b33c888b893c808f8419292fefaa2c2239b4b51c2b84070a584ea72821c8469bb8d965a9a5e6473b6fcfb5e85f4eecd2d424e3167322f8abb81
 SHA512 
fbbcd30640c55315f2e65fc6c07afc71a77dd2c9d1b6127ee55cd17e76511ad5f0563135e52397dbf113fb0d5925021a38780f231409bdd920da52e6c1ce3acc

diff --git a/media-libs/libffado/libffado-2.4.8.ebuild 
b/media-libs/libffado/libffado-2.4.8.ebuild
new file mode 100644
index ..fdfc2e344d55
--- /dev/null
+++ b/media-libs/libffado/libffado-2.4.8.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit desktop python-single-r1 scons-utils toolchain-funcs udev 
multilib-minimal
+
+DESCRIPTION="Driver for IEEE1394 (Firewire) audio interfaces"
+HOMEPAGE="http://www.ffado.org;
+
+if [[ "${PV}" = "" ]]; then
+   inherit subversion
+   ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
+else
+   SRC_URI="http://www.ffado.org/files/${P}.tgz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+fi
+
+S="${WORKDIR}/${P}/${PN}"
+LICENSE="GPL-2 GPL-3"
+SLOT="0"
+IUSE="debug qt5 test-programs"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+BDEPEND="
+   virtual/pkgconfig
+"
+CDEPEND="${PYTHON_DEPS}
+   dev-cpp/libxmlpp:2.6[${MULTILIB_USEDEP}]
+   >=dev-libs/dbus-c++-0.9.0-r5
+   dev-libs/libconfig:=[cxx,${MULTILIB_USEDEP}]
+   media-libs/alsa-lib
+   media-libs/libiec61883[${MULTILIB_USEDEP}]
+   sys-apps/dbus
+   sys-libs/libavc1394[${MULTILIB_USEDEP}]
+   sys-libs/libraw1394[${MULTILIB_USEDEP}]
+   qt5? (
+   $(python_gen_cond_dep '
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/PyQt5[dbus,${PYTHON_USEDEP}]
+   ')
+   x11-misc/xdg-utils
+   )"
+DEPEND="${CDEPEND}"
+RDEPEND="${CDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}/libffado-2.4.7-fix-config-load-crash.patch"
+)
+
+myescons() {
+   local myesconsargs=(
+   PREFIX="${EPREFIX}/usr"
+   LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+   MANDIR="${EPREFIX}/usr/share/man"
+   UDEVDIR="$(get_udevdir)/rules.d"
+   CUSTOM_ENV=true
+   DETECT_USERSPACE_ENV=false
+   DEBUG=$(usex debug)
+   PYPKGDIR="$(python_get_sitedir)"
+   # ENABLE_OPTIMIZATIONS detects cpu type and sets flags 
accordingly
+   # -fomit-frame-pointer is added also which can cripple 
debugging.
+   # we set flags from portage instead
+   ENABLE_OPTIMIZATIONS=false
+   # This only works for JACK1>=0.122.0 or JACK2>=1.9.9.
+   ENABLE_SETBUFFERSIZE_API_VER=force
+   )
+   if multilib_is_native_abi; then
+   myesconsargs+=(
+   BUILD_MIXER=$(usex qt5 true false)
+   BUILD_TESTS=$(usex test-programs)
+   )
+   else
+   myesconsargs+=(
+   BUILD_MIXER=false
+   BUILD_TESTS=false
+   )
+   fi
+   escons "${myesconsargs[@]}" "${@}"
+}
+
+src_prepare() {
+   default
+
+   # Bug #808853
+   cp "${BROOT}"/usr/share/gnuconfig/config.guess admin/ || die "Failed to 
update config.guess"
+
+   # Always use Qt5
+   sed -i -e 's/try:/if False:/' -e 's/except.*/else:/' 
support/mixer-qt4/ffado/import_pyqt.py || die
+
+   # Bugs #658052, #659226
+   sed -i -e 's/^CacheDir/#CacheDir/' SConstruct || die
+
+   multilib_copy_sources
+}
+
+multilib_src_compile() {
+   tc-export CC CXX
+   myescons
+}
+
+multilib_src_install() {
+   myescons DESTDIR="${D}" WILL_DEAL_WITH_XDG_MYSELF="True" install
+}
+
+multilib_src_install_all() {
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2023-05-01 Thread Sam James
commit: 1020f411a049ba8b84c1a88e26f98f0501d027ce
Author: Sam James  gentoo  org>
AuthorDate: Mon May  1 14:59:39 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  1 14:59:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1020f411

media-libs/libffado: enable py3.11

Closes: https://bugs.gentoo.org/897000
Signed-off-by: Sam James  gentoo.org>

 media-libs/libffado/libffado-2.4.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libffado/libffado-2.4.7.ebuild 
b/media-libs/libffado/libffado-2.4.7.ebuild
index 969307f6bb3e..559b64032697 100644
--- a/media-libs/libffado/libffado-2.4.7.ebuild
+++ b/media-libs/libffado/libffado-2.4.7.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 
 inherit desktop python-single-r1 scons-utils toolchain-funcs udev 
multilib-minimal
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2023-02-02 Thread Sam James
commit: 6c5804da72e083a7ed0c6425a23f6fb9a245da0d
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  3 06:54:12 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  3 06:54:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c5804da

media-libs/libffado: depend on fixed dbus-c++

Closes: https://bugs.gentoo.org/892984
Signed-off-by: Sam James  gentoo.org>

 media-libs/libffado/libffado-2.4.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libffado/libffado-2.4.7.ebuild 
b/media-libs/libffado/libffado-2.4.7.ebuild
index a42040692344..969307f6bb3e 100644
--- a/media-libs/libffado/libffado-2.4.7.ebuild
+++ b/media-libs/libffado/libffado-2.4.7.ebuild
@@ -28,7 +28,7 @@ BDEPEND="
 "
 CDEPEND="${PYTHON_DEPS}
dev-cpp/libxmlpp:2.6[${MULTILIB_USEDEP}]
-   dev-libs/dbus-c++
+   >=dev-libs/dbus-c++-0.9.0-r5
dev-libs/libconfig:=[cxx,${MULTILIB_USEDEP}]
media-libs/alsa-lib
media-libs/libiec61883[${MULTILIB_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2023-01-02 Thread Miroslav Šulc
commit: c236aa3b2ed464b6fe8279e24d67bbe086fbb368
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Mon Jan  2 09:01:55 2023 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Mon Jan  2 09:01:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c236aa3b

media-libs/libffado: dropped obsolete 2.4.6

Bug: https://bugs.gentoo.org/39
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/libffado/Manifest  |   1 -
 media-libs/libffado/libffado-2.4.6.ebuild | 121 --
 2 files changed, 122 deletions(-)

diff --git a/media-libs/libffado/Manifest b/media-libs/libffado/Manifest
index d09d38ce2d34..5ef9f7fd0337 100644
--- a/media-libs/libffado/Manifest
+++ b/media-libs/libffado/Manifest
@@ -1,2 +1 @@
-DIST libffado-2.4.6.tgz 1230455 BLAKE2B 
1e86e7f9179e94c00a74514dbd7c0c299de6d1870f22c4d9ba14cb6b105b41c9dda62d19d0d660e84eee7e0f02c0bf7c44fbe58e24634ccf9cc9e41f1d38b5c2
 SHA512 
dac651233ea94c19834e810c64230bcbd5516de9e694ced1b6497ad927d734c527b3a556281676393674d33da768cb2431e7da1a0fdfc6ceb268e897029aa584
 DIST libffado-2.4.7.tgz 1231931 BLAKE2B 
3c304011259ddbd35ce8fd725d38a5f50fca962981f9c5af6e377493a14985e4b96c64bcc54ba5a341028ec17dc6f2c42ce527422779f2edc6f9a1a61220cf51
 SHA512 
424a9ca7ded12e72d77a50d7ddf4e50dc0d55b80d725499df7609ce60d0eac8b24a41d9b8e4e74f78bdefe114b61bd5f1ec09a6d083f4a58475e66d61153f075

diff --git a/media-libs/libffado/libffado-2.4.6.ebuild 
b/media-libs/libffado/libffado-2.4.6.ebuild
deleted file mode 100644
index e59aa40c7bfc..
--- a/media-libs/libffado/libffado-2.4.6.ebuild
+++ /dev/null
@@ -1,121 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit desktop python-single-r1 scons-utils toolchain-funcs udev 
multilib-minimal
-
-DESCRIPTION="Driver for IEEE1394 (Firewire) audio interfaces"
-HOMEPAGE="http://www.ffado.org;
-
-if [[ "${PV}" = "" ]]; then
-   inherit subversion
-   ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
-else
-   SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv x86"
-fi
-
-LICENSE="GPL-2 GPL-3"
-SLOT="0"
-IUSE="debug qt5 test-programs"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-BDEPEND="
-   virtual/pkgconfig
-"
-CDEPEND="${PYTHON_DEPS}
-   dev-cpp/libxmlpp:2.6[${MULTILIB_USEDEP}]
-   dev-libs/dbus-c++
-   dev-libs/libconfig:=[cxx,${MULTILIB_USEDEP}]
-   media-libs/alsa-lib
-   media-libs/libiec61883[${MULTILIB_USEDEP}]
-   sys-apps/dbus
-   sys-libs/libavc1394[${MULTILIB_USEDEP}]
-   sys-libs/libraw1394[${MULTILIB_USEDEP}]
-   qt5? (
-   $(python_gen_cond_dep '
-   dev-python/dbus-python[${PYTHON_USEDEP}]
-   dev-python/PyQt5[dbus,${PYTHON_USEDEP}]
-   ')
-   x11-misc/xdg-utils
-   )"
-DEPEND="${CDEPEND}"
-RDEPEND="${CDEPEND}"
-
-myescons() {
-   local myesconsargs=(
-   PREFIX="${EPREFIX}/usr"
-   LIBDIR="${EPREFIX}/usr/$(get_libdir)"
-   MANDIR="${EPREFIX}/usr/share/man"
-   UDEVDIR="$(get_udevdir)/rules.d"
-   CUSTOM_ENV=true
-   DETECT_USERSPACE_ENV=false
-   DEBUG=$(usex debug)
-   PYPKGDIR="$(python_get_sitedir)"
-   # ENABLE_OPTIMIZATIONS detects cpu type and sets flags 
accordingly
-   # -fomit-frame-pointer is added also which can cripple 
debugging.
-   # we set flags from portage instead
-   ENABLE_OPTIMIZATIONS=false
-   # This only works for JACK1>=0.122.0 or JACK2>=1.9.9.
-   ENABLE_SETBUFFERSIZE_API_VER=force
-   )
-   if multilib_is_native_abi; then
-   myesconsargs+=(
-   BUILD_MIXER=$(usex qt5 true false)
-   BUILD_TESTS=$(usex test-programs)
-   )
-   else
-   myesconsargs+=(
-   BUILD_MIXER=false
-   BUILD_TESTS=false
-   )
-   fi
-   escons "${myesconsargs[@]}" "${@}"
-}
-
-src_prepare() {
-   default
-
-   # Bug #808853
-   cp "${BROOT}"/usr/share/gnuconfig/config.guess admin/ || die "Failed to 
update config.guess"
-
-   # Always use Qt5
-   sed -i -e 's/try:/if False:/' -e 's/except.*/else:/' 
support/mixer-qt4/ffado/import_pyqt.py || die
-
-   # Bugs #658052, #659226
-   sed -i -e 's/^CacheDir/#CacheDir/' SConstruct || die
-
-   multilib_copy_sources
-}
-
-multilib_src_compile() {
-   tc-export CC CXX
-   myescons
-}
-
-multilib_src_install() {
-   myescons DESTDIR="${D}" WILL_DEAL_WITH_XDG_MYSELF="True" install
-}
-
-multilib_src_install_all() {
-   einstalldocs
-
-   python_fix_shebang "${D}"
-   python_optimize "${D}"
-
-   if use qt5; then
- 

[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2022-12-29 Thread Sam James
commit: 55d35310b708156e5ac717d36880b1aa51e8ec17
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 29 13:35:33 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 29 13:35:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55d35310

media-libs/libffado: Stabilize 2.4.7 amd64, #39

Signed-off-by: Sam James  gentoo.org>

 media-libs/libffado/libffado-2.4.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libffado/libffado-2.4.7.ebuild 
b/media-libs/libffado/libffado-2.4.7.ebuild
index 112e1c00e5c2..ba82dcda0075 100644
--- a/media-libs/libffado/libffado-2.4.7.ebuild
+++ b/media-libs/libffado/libffado-2.4.7.ebuild
@@ -15,7 +15,7 @@ if [[ "${PV}" = "" ]]; then
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
 else
SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv x86"
 fi
 
 LICENSE="GPL-2 GPL-3"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2022-12-29 Thread Sam James
commit: eb3597d21ed1a981f5358cc8787c39222309fe50
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 29 13:35:31 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 29 13:35:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb3597d2

media-libs/libffado: Stabilize 2.4.7 x86, #39

Signed-off-by: Sam James  gentoo.org>

 media-libs/libffado/libffado-2.4.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libffado/libffado-2.4.7.ebuild 
b/media-libs/libffado/libffado-2.4.7.ebuild
index 116efcf9375f..112e1c00e5c2 100644
--- a/media-libs/libffado/libffado-2.4.7.ebuild
+++ b/media-libs/libffado/libffado-2.4.7.ebuild
@@ -15,7 +15,7 @@ if [[ "${PV}" = "" ]]; then
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
 else
SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv x86"
 fi
 
 LICENSE="GPL-2 GPL-3"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/, media-libs/libffado/files/

2022-11-28 Thread Miroslav Šulc
commit: c25d9d6e155fb609e375e6a85aeb585fde5a2f67
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Mon Nov 28 08:55:55 2022 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Mon Nov 28 08:56:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c25d9d6e

media-libs/libffado: bump to 2.4.7 + fix for config load crash

patch by Adam Wenocur  gmail.com>

Closes: https://bugs.gentoo.org/744364
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/libffado/Manifest   |   1 +
 .../libffado-2.4.7-fix-config-load-crash.patch |  13 +++
 media-libs/libffado/libffado-2.4.7.ebuild  | 125 +
 3 files changed, 139 insertions(+)

diff --git a/media-libs/libffado/Manifest b/media-libs/libffado/Manifest
index 522d1cda4de7..d09d38ce2d34 100644
--- a/media-libs/libffado/Manifest
+++ b/media-libs/libffado/Manifest
@@ -1 +1,2 @@
 DIST libffado-2.4.6.tgz 1230455 BLAKE2B 
1e86e7f9179e94c00a74514dbd7c0c299de6d1870f22c4d9ba14cb6b105b41c9dda62d19d0d660e84eee7e0f02c0bf7c44fbe58e24634ccf9cc9e41f1d38b5c2
 SHA512 
dac651233ea94c19834e810c64230bcbd5516de9e694ced1b6497ad927d734c527b3a556281676393674d33da768cb2431e7da1a0fdfc6ceb268e897029aa584
+DIST libffado-2.4.7.tgz 1231931 BLAKE2B 
3c304011259ddbd35ce8fd725d38a5f50fca962981f9c5af6e377493a14985e4b96c64bcc54ba5a341028ec17dc6f2c42ce527422779f2edc6f9a1a61220cf51
 SHA512 
424a9ca7ded12e72d77a50d7ddf4e50dc0d55b80d725499df7609ce60d0eac8b24a41d9b8e4e74f78bdefe114b61bd5f1ec09a6d083f4a58475e66d61153f075

diff --git 
a/media-libs/libffado/files/libffado-2.4.7-fix-config-load-crash.patch 
b/media-libs/libffado/files/libffado-2.4.7-fix-config-load-crash.patch
new file mode 100644
index ..05ede6ebf653
--- /dev/null
+++ b/media-libs/libffado/files/libffado-2.4.7-fix-config-load-crash.patch
@@ -0,0 +1,13 @@
+diff --git a/libffado-2.4.1/support/mixer-qt4/ffado/mixer/globalmixer.py 
b/libffado-2.4.1-patched/support/mixer-qt4/ffado/mixer/globalmixer.py
+index 7078b0e..d184d73 100644
+--- libffado-2.4.1-old/support/mixer-qt4/ffado/mixer/globalmixer.py
 libffado-2.4.1/support/mixer-qt4/ffado/mixer/globalmixer.py
+@@ -96,7 +96,6 @@ class GlobalMixer(QWidget):
+ @pyqtSlot()
+ def on_txtNickname_returnPressed( self ):
+ if self.nickname.canChangeValue():
+-asciiData = self.txtNickname.text().toAscii()
+-self.nickname.setText( asciiData.data() )
++self.nickname.setText( self.txtNickname.text().encode('utf-8') )
+ else:
+ self.txtNickname.setText( self.nickname.text() )

diff --git a/media-libs/libffado/libffado-2.4.7.ebuild 
b/media-libs/libffado/libffado-2.4.7.ebuild
new file mode 100644
index ..116efcf9375f
--- /dev/null
+++ b/media-libs/libffado/libffado-2.4.7.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit desktop python-single-r1 scons-utils toolchain-funcs udev 
multilib-minimal
+
+DESCRIPTION="Driver for IEEE1394 (Firewire) audio interfaces"
+HOMEPAGE="http://www.ffado.org;
+
+if [[ "${PV}" = "" ]]; then
+   inherit subversion
+   ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
+else
+   SRC_URI="http://www.ffado.org/files/${P}.tgz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="GPL-2 GPL-3"
+SLOT="0"
+IUSE="debug qt5 test-programs"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+BDEPEND="
+   virtual/pkgconfig
+"
+CDEPEND="${PYTHON_DEPS}
+   dev-cpp/libxmlpp:2.6[${MULTILIB_USEDEP}]
+   dev-libs/dbus-c++
+   dev-libs/libconfig:=[cxx,${MULTILIB_USEDEP}]
+   media-libs/alsa-lib
+   media-libs/libiec61883[${MULTILIB_USEDEP}]
+   sys-apps/dbus
+   sys-libs/libavc1394[${MULTILIB_USEDEP}]
+   sys-libs/libraw1394[${MULTILIB_USEDEP}]
+   qt5? (
+   $(python_gen_cond_dep '
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/PyQt5[dbus,${PYTHON_USEDEP}]
+   ')
+   x11-misc/xdg-utils
+   )"
+DEPEND="${CDEPEND}"
+RDEPEND="${CDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}/libffado-2.4.7-fix-config-load-crash.patch"
+)
+
+myescons() {
+   local myesconsargs=(
+   PREFIX="${EPREFIX}/usr"
+   LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+   MANDIR="${EPREFIX}/usr/share/man"
+   UDEVDIR="$(get_udevdir)/rules.d"
+   CUSTOM_ENV=true
+   DETECT_USERSPACE_ENV=false
+   DEBUG=$(usex debug)
+   PYPKGDIR="$(python_get_sitedir)"
+   # ENABLE_OPTIMIZATIONS detects cpu type and sets flags 
accordingly
+   # -fomit-frame-pointer is added also which can cripple 
debugging.
+   # we set flags from portage instead
+   ENABLE_OPTIMIZATIONS=false
+   # This only works 

[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2022-11-18 Thread WANG Xuerui
commit: b65586911e41f354c4ea77217ce7922842d3c20b
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sat Nov 19 05:03:32 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sat Nov 19 05:03:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6558691

media-libs/libffado: keyword 2.4.6 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 media-libs/libffado/libffado-2.4.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libffado/libffado-2.4.6.ebuild 
b/media-libs/libffado/libffado-2.4.6.ebuild
index 34315dd05ea2..e59aa40c7bfc 100644
--- a/media-libs/libffado/libffado-2.4.6.ebuild
+++ b/media-libs/libffado/libffado-2.4.6.ebuild
@@ -15,7 +15,7 @@ if [[ "${PV}" = "" ]]; then
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
 else
SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv x86"
 fi
 
 LICENSE="GPL-2 GPL-3"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2022-11-13 Thread Sam James
commit: ad512d3daceb20059a0a155835686894558d4991
Author: Matoro Mahri  users  noreply  github  
com>
AuthorDate: Sat Nov 12 18:01:21 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Nov 13 11:38:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad512d3d

media-libs/libffado: Keyword 2.4.6 alpha, #873487

Signed-off-by: Matoro Mahri  users.noreply.github.com>
Signed-off-by: Sam James  gentoo.org>

 media-libs/libffado/libffado-2.4.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libffado/libffado-2.4.6.ebuild 
b/media-libs/libffado/libffado-2.4.6.ebuild
index 4bb810c42e42..34315dd05ea2 100644
--- a/media-libs/libffado/libffado-2.4.6.ebuild
+++ b/media-libs/libffado/libffado-2.4.6.ebuild
@@ -15,7 +15,7 @@ if [[ "${PV}" = "" ]]; then
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
 else
SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86"
 fi
 
 LICENSE="GPL-2 GPL-3"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2022-08-15 Thread Miroslav Šulc
commit: 1464895554a0b244b9f9efb9349f25872799b400
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Tue Aug 16 05:39:33 2022 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Tue Aug 16 05:39:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14648955

media-libs/libffado: dropped obsolete 2.4.5

Bug: https://bugs.gentoo.org/865019
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/libffado/Manifest  |   1 -
 media-libs/libffado/libffado-2.4.5.ebuild | 121 --
 2 files changed, 122 deletions(-)

diff --git a/media-libs/libffado/Manifest b/media-libs/libffado/Manifest
index 02f6af5b8469..522d1cda4de7 100644
--- a/media-libs/libffado/Manifest
+++ b/media-libs/libffado/Manifest
@@ -1,2 +1 @@
-DIST libffado-2.4.5.tgz 1229890 BLAKE2B 
18c260b782c9a97e3f2c8689a218f7a4925158c3e3cb14987182bf04043438d1325a9ababfe29860f6769a5eeabb49a843a8d15072b24b914334c447b5c7238d
 SHA512 
a2c1d0515e14015b7803c4d52d67605afec27ae2569888dec085375ed4a488f4885b5033369e52305e668a35289d3bd749a9babb5778df339fa93553c23af30f
 DIST libffado-2.4.6.tgz 1230455 BLAKE2B 
1e86e7f9179e94c00a74514dbd7c0c299de6d1870f22c4d9ba14cb6b105b41c9dda62d19d0d660e84eee7e0f02c0bf7c44fbe58e24634ccf9cc9e41f1d38b5c2
 SHA512 
dac651233ea94c19834e810c64230bcbd5516de9e694ced1b6497ad927d734c527b3a556281676393674d33da768cb2431e7da1a0fdfc6ceb268e897029aa584

diff --git a/media-libs/libffado/libffado-2.4.5.ebuild 
b/media-libs/libffado/libffado-2.4.5.ebuild
deleted file mode 100644
index 4bb810c42e42..
--- a/media-libs/libffado/libffado-2.4.5.ebuild
+++ /dev/null
@@ -1,121 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit desktop python-single-r1 scons-utils toolchain-funcs udev 
multilib-minimal
-
-DESCRIPTION="Driver for IEEE1394 (Firewire) audio interfaces"
-HOMEPAGE="http://www.ffado.org;
-
-if [[ "${PV}" = "" ]]; then
-   inherit subversion
-   ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
-else
-   SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86"
-fi
-
-LICENSE="GPL-2 GPL-3"
-SLOT="0"
-IUSE="debug qt5 test-programs"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-BDEPEND="
-   virtual/pkgconfig
-"
-CDEPEND="${PYTHON_DEPS}
-   dev-cpp/libxmlpp:2.6[${MULTILIB_USEDEP}]
-   dev-libs/dbus-c++
-   dev-libs/libconfig:=[cxx,${MULTILIB_USEDEP}]
-   media-libs/alsa-lib
-   media-libs/libiec61883[${MULTILIB_USEDEP}]
-   sys-apps/dbus
-   sys-libs/libavc1394[${MULTILIB_USEDEP}]
-   sys-libs/libraw1394[${MULTILIB_USEDEP}]
-   qt5? (
-   $(python_gen_cond_dep '
-   dev-python/dbus-python[${PYTHON_USEDEP}]
-   dev-python/PyQt5[dbus,${PYTHON_USEDEP}]
-   ')
-   x11-misc/xdg-utils
-   )"
-DEPEND="${CDEPEND}"
-RDEPEND="${CDEPEND}"
-
-myescons() {
-   local myesconsargs=(
-   PREFIX="${EPREFIX}/usr"
-   LIBDIR="${EPREFIX}/usr/$(get_libdir)"
-   MANDIR="${EPREFIX}/usr/share/man"
-   UDEVDIR="$(get_udevdir)/rules.d"
-   CUSTOM_ENV=true
-   DETECT_USERSPACE_ENV=false
-   DEBUG=$(usex debug)
-   PYPKGDIR="$(python_get_sitedir)"
-   # ENABLE_OPTIMIZATIONS detects cpu type and sets flags 
accordingly
-   # -fomit-frame-pointer is added also which can cripple 
debugging.
-   # we set flags from portage instead
-   ENABLE_OPTIMIZATIONS=false
-   # This only works for JACK1>=0.122.0 or JACK2>=1.9.9.
-   ENABLE_SETBUFFERSIZE_API_VER=force
-   )
-   if multilib_is_native_abi; then
-   myesconsargs+=(
-   BUILD_MIXER=$(usex qt5 true false)
-   BUILD_TESTS=$(usex test-programs)
-   )
-   else
-   myesconsargs+=(
-   BUILD_MIXER=false
-   BUILD_TESTS=false
-   )
-   fi
-   escons "${myesconsargs[@]}" "${@}"
-}
-
-src_prepare() {
-   default
-
-   # Bug #808853
-   cp "${BROOT}"/usr/share/gnuconfig/config.guess admin/ || die "Failed to 
update config.guess"
-
-   # Always use Qt5
-   sed -i -e 's/try:/if False:/' -e 's/except.*/else:/' 
support/mixer-qt4/ffado/import_pyqt.py || die
-
-   # Bugs #658052, #659226
-   sed -i -e 's/^CacheDir/#CacheDir/' SConstruct || die
-
-   multilib_copy_sources
-}
-
-multilib_src_compile() {
-   tc-export CC CXX
-   myescons
-}
-
-multilib_src_install() {
-   myescons DESTDIR="${D}" WILL_DEAL_WITH_XDG_MYSELF="True" install
-}
-
-multilib_src_install_all() {
-   einstalldocs
-
-   python_fix_shebang "${D}"
-   python_optimize "${D}"
-
-   if use qt5; then
-   newicon 

[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2022-08-15 Thread Agostino Sarubbo
commit: 9a4efa28292dab28d14536f35914653d9e798037
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Aug 15 07:45:33 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Aug 15 07:45:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a4efa28

media-libs/libffado: x86 stable wrt bug #865019

Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/libffado/libffado-2.4.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libffado/libffado-2.4.6.ebuild 
b/media-libs/libffado/libffado-2.4.6.ebuild
index af0f8019ef35..4bb810c42e42 100644
--- a/media-libs/libffado/libffado-2.4.6.ebuild
+++ b/media-libs/libffado/libffado-2.4.6.ebuild
@@ -15,7 +15,7 @@ if [[ "${PV}" = "" ]]; then
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
 else
SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86"
 fi
 
 LICENSE="GPL-2 GPL-3"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2022-08-13 Thread Agostino Sarubbo
commit: f12a253a27248f1ad687f963c6ec32672c5a1117
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Aug 13 06:57:50 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Aug 13 06:58:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f12a253a

media-libs/libffado: amd64 stable wrt bug #865019

Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/libffado/libffado-2.4.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libffado/libffado-2.4.6.ebuild 
b/media-libs/libffado/libffado-2.4.6.ebuild
index 95f537748839..af0f8019ef35 100644
--- a/media-libs/libffado/libffado-2.4.6.ebuild
+++ b/media-libs/libffado/libffado-2.4.6.ebuild
@@ -15,7 +15,7 @@ if [[ "${PV}" = "" ]]; then
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
 else
SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
 fi
 
 LICENSE="GPL-2 GPL-3"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2022-07-12 Thread Miroslav Šulc
commit: 0cb532e732fb7449afc9ed1d20ba946702811642
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Wed Jul 13 03:17:45 2022 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Wed Jul 13 03:17:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cb532e7

media-libs/libffado: bump to 2.4.6

Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/libffado/Manifest  |   1 +
 media-libs/libffado/libffado-2.4.6.ebuild | 121 ++
 2 files changed, 122 insertions(+)

diff --git a/media-libs/libffado/Manifest b/media-libs/libffado/Manifest
index e3396842f603..02f6af5b8469 100644
--- a/media-libs/libffado/Manifest
+++ b/media-libs/libffado/Manifest
@@ -1 +1,2 @@
 DIST libffado-2.4.5.tgz 1229890 BLAKE2B 
18c260b782c9a97e3f2c8689a218f7a4925158c3e3cb14987182bf04043438d1325a9ababfe29860f6769a5eeabb49a843a8d15072b24b914334c447b5c7238d
 SHA512 
a2c1d0515e14015b7803c4d52d67605afec27ae2569888dec085375ed4a488f4885b5033369e52305e668a35289d3bd749a9babb5778df339fa93553c23af30f
+DIST libffado-2.4.6.tgz 1230455 BLAKE2B 
1e86e7f9179e94c00a74514dbd7c0c299de6d1870f22c4d9ba14cb6b105b41c9dda62d19d0d660e84eee7e0f02c0bf7c44fbe58e24634ccf9cc9e41f1d38b5c2
 SHA512 
dac651233ea94c19834e810c64230bcbd5516de9e694ced1b6497ad927d734c527b3a556281676393674d33da768cb2431e7da1a0fdfc6ceb268e897029aa584

diff --git a/media-libs/libffado/libffado-2.4.6.ebuild 
b/media-libs/libffado/libffado-2.4.6.ebuild
new file mode 100644
index ..95f537748839
--- /dev/null
+++ b/media-libs/libffado/libffado-2.4.6.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit desktop python-single-r1 scons-utils toolchain-funcs udev 
multilib-minimal
+
+DESCRIPTION="Driver for IEEE1394 (Firewire) audio interfaces"
+HOMEPAGE="http://www.ffado.org;
+
+if [[ "${PV}" = "" ]]; then
+   inherit subversion
+   ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
+else
+   SRC_URI="http://www.ffado.org/files/${P}.tgz;
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="GPL-2 GPL-3"
+SLOT="0"
+IUSE="debug qt5 test-programs"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+BDEPEND="
+   virtual/pkgconfig
+"
+CDEPEND="${PYTHON_DEPS}
+   dev-cpp/libxmlpp:2.6[${MULTILIB_USEDEP}]
+   dev-libs/dbus-c++
+   dev-libs/libconfig:=[cxx,${MULTILIB_USEDEP}]
+   media-libs/alsa-lib
+   media-libs/libiec61883[${MULTILIB_USEDEP}]
+   sys-apps/dbus
+   sys-libs/libavc1394[${MULTILIB_USEDEP}]
+   sys-libs/libraw1394[${MULTILIB_USEDEP}]
+   qt5? (
+   $(python_gen_cond_dep '
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/PyQt5[dbus,${PYTHON_USEDEP}]
+   ')
+   x11-misc/xdg-utils
+   )"
+DEPEND="${CDEPEND}"
+RDEPEND="${CDEPEND}"
+
+myescons() {
+   local myesconsargs=(
+   PREFIX="${EPREFIX}/usr"
+   LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+   MANDIR="${EPREFIX}/usr/share/man"
+   UDEVDIR="$(get_udevdir)/rules.d"
+   CUSTOM_ENV=true
+   DETECT_USERSPACE_ENV=false
+   DEBUG=$(usex debug)
+   PYPKGDIR="$(python_get_sitedir)"
+   # ENABLE_OPTIMIZATIONS detects cpu type and sets flags 
accordingly
+   # -fomit-frame-pointer is added also which can cripple 
debugging.
+   # we set flags from portage instead
+   ENABLE_OPTIMIZATIONS=false
+   # This only works for JACK1>=0.122.0 or JACK2>=1.9.9.
+   ENABLE_SETBUFFERSIZE_API_VER=force
+   )
+   if multilib_is_native_abi; then
+   myesconsargs+=(
+   BUILD_MIXER=$(usex qt5 true false)
+   BUILD_TESTS=$(usex test-programs)
+   )
+   else
+   myesconsargs+=(
+   BUILD_MIXER=false
+   BUILD_TESTS=false
+   )
+   fi
+   escons "${myesconsargs[@]}" "${@}"
+}
+
+src_prepare() {
+   default
+
+   # Bug #808853
+   cp "${BROOT}"/usr/share/gnuconfig/config.guess admin/ || die "Failed to 
update config.guess"
+
+   # Always use Qt5
+   sed -i -e 's/try:/if False:/' -e 's/except.*/else:/' 
support/mixer-qt4/ffado/import_pyqt.py || die
+
+   # Bugs #658052, #659226
+   sed -i -e 's/^CacheDir/#CacheDir/' SConstruct || die
+
+   multilib_copy_sources
+}
+
+multilib_src_compile() {
+   tc-export CC CXX
+   myescons
+}
+
+multilib_src_install() {
+   myescons DESTDIR="${D}" WILL_DEAL_WITH_XDG_MYSELF="True" install
+}
+
+multilib_src_install_all() {
+   einstalldocs
+
+   python_fix_shebang "${D}"
+   python_optimize "${D}"
+
+   if use qt5; then
+   newicon "support/xdg/hi64-apps-ffado.png" "ffado.png"

[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2022-06-26 Thread Miroslav Šulc
commit: 78d2d26fd5fa901cb8d352f9940879af53c0a67e
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Sun Jun 26 08:17:00 2022 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Sun Jun 26 08:17:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78d2d26f

media-libs/libffado: fixed udev reload

Closes: https://bugs.gentoo.org/847409
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/libffado/libffado-2.4.5.ebuild | 8 
 1 file changed, 8 insertions(+)

diff --git a/media-libs/libffado/libffado-2.4.5.ebuild 
b/media-libs/libffado/libffado-2.4.5.ebuild
index 3e212bb12d21..4bb810c42e42 100644
--- a/media-libs/libffado/libffado-2.4.5.ebuild
+++ b/media-libs/libffado/libffado-2.4.5.ebuild
@@ -111,3 +111,11 @@ multilib_src_install_all() {
newmenu "support/xdg/ffado.org-ffadomixer.desktop" 
"ffado-mixer.desktop"
fi
 }
+
+pkg_postinst() {
+   udev_reload
+}
+
+pkg_postrm() {
+   udev_reload
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2022-05-19 Thread Matthew Smith
commit: 13f60acdccc5df551c6b82d6ab7b0a6f6c38a213
Author: Matthew Smith  gentoo  org>
AuthorDate: Thu May 19 07:12:12 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Thu May 19 07:15:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13f60acd

media-libs/libffado: update maintainers

Signed-off-by: Matthew Smith  gentoo.org>

 media-libs/libffado/metadata.xml | 8 
 1 file changed, 8 deletions(-)

diff --git a/media-libs/libffado/metadata.xml b/media-libs/libffado/metadata.xml
index af7b10b30301..2ea09875fa6d 100644
--- a/media-libs/libffado/metadata.xml
+++ b/media-libs/libffado/metadata.xml
@@ -1,14 +1,6 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   mar...@marcan.st
-   Hector Martin
-   
-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   

proau...@gentoo.org
Gentoo ProAudio Project



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2022-03-31 Thread Miroslav Šulc
commit: d541eba1346d96f71a2d49af3760fad3cbd8dba8
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Thu Mar 31 18:47:25 2022 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Thu Mar 31 18:47:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d541eba1

media-libs/libffado: removed obsolete 2.4.4-r1

Bug: https://bugs.gentoo.org/show_bug.cgi?id=836396
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/libffado/Manifest |   1 -
 media-libs/libffado/libffado-2.4.4-r1.ebuild | 113 ---
 2 files changed, 114 deletions(-)

diff --git a/media-libs/libffado/Manifest b/media-libs/libffado/Manifest
index 77b038f60cd8..e3396842f603 100644
--- a/media-libs/libffado/Manifest
+++ b/media-libs/libffado/Manifest
@@ -1,2 +1 @@
-DIST libffado-2.4.4.tgz 1228417 BLAKE2B 
70d3b17f7d7317acc63351faaefb27fa850664015134887f0508b4a76aabbf6e9573f87eb2dd9792ac5f4f4b06ac7c872afa33af6af0341e6cceeb43e7a79526
 SHA512 
065b7f9ce9bf58320c02353b63ed17b3610d0ee8a2de58de27159b2190e39c779094b01ae1123c087387e6077375e646b564b9e7717b192865b2f1f22a3acc80
 DIST libffado-2.4.5.tgz 1229890 BLAKE2B 
18c260b782c9a97e3f2c8689a218f7a4925158c3e3cb14987182bf04043438d1325a9ababfe29860f6769a5eeabb49a843a8d15072b24b914334c447b5c7238d
 SHA512 
a2c1d0515e14015b7803c4d52d67605afec27ae2569888dec085375ed4a488f4885b5033369e52305e668a35289d3bd749a9babb5778df339fa93553c23af30f

diff --git a/media-libs/libffado/libffado-2.4.4-r1.ebuild 
b/media-libs/libffado/libffado-2.4.4-r1.ebuild
deleted file mode 100644
index b9daf2d2a40b..
--- a/media-libs/libffado/libffado-2.4.4-r1.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..9} )
-
-inherit desktop python-single-r1 scons-utils toolchain-funcs udev 
multilib-minimal
-
-DESCRIPTION="Driver for IEEE1394 (Firewire) audio interfaces"
-HOMEPAGE="http://www.ffado.org;
-
-if [[ "${PV}" = "" ]]; then
-   inherit subversion
-   ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
-else
-   SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86"
-fi
-
-LICENSE="GPL-2 GPL-3"
-SLOT="0"
-IUSE="debug qt5 test-programs"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-BDEPEND="
-   virtual/pkgconfig
-"
-CDEPEND="${PYTHON_DEPS}
-   dev-cpp/libxmlpp:2.6[${MULTILIB_USEDEP}]
-   dev-libs/dbus-c++
-   dev-libs/libconfig:=[cxx,${MULTILIB_USEDEP}]
-   media-libs/alsa-lib
-   media-libs/libiec61883[${MULTILIB_USEDEP}]
-   sys-apps/dbus
-   sys-libs/libavc1394[${MULTILIB_USEDEP}]
-   sys-libs/libraw1394[${MULTILIB_USEDEP}]
-   qt5? (
-   $(python_gen_cond_dep '
-   dev-python/dbus-python[${PYTHON_USEDEP}]
-   dev-python/PyQt5[dbus,${PYTHON_USEDEP}]
-   ')
-   x11-misc/xdg-utils
-   )"
-DEPEND="${CDEPEND}"
-RDEPEND="${CDEPEND}"
-
-myescons() {
-   local myesconsargs=(
-   PREFIX="${EPREFIX}/usr"
-   LIBDIR="${EPREFIX}/usr/$(get_libdir)"
-   MANDIR="${EPREFIX}/usr/share/man"
-   UDEVDIR="$(get_udevdir)/rules.d"
-   CUSTOM_ENV=true
-   DETECT_USERSPACE_ENV=false
-   DEBUG=$(usex debug)
-   PYPKGDIR="$(python_get_sitedir)"
-   # ENABLE_OPTIMIZATIONS detects cpu type and sets flags 
accordingly
-   # -fomit-frame-pointer is added also which can cripple 
debugging.
-   # we set flags from portage instead
-   ENABLE_OPTIMIZATIONS=false
-   # This only works for JACK1>=0.122.0 or JACK2>=1.9.9.
-   ENABLE_SETBUFFERSIZE_API_VER=force
-   )
-   if multilib_is_native_abi; then
-   myesconsargs+=(
-   BUILD_MIXER=$(usex qt5 true false)
-   BUILD_TESTS=$(usex test-programs)
-   )
-   else
-   myesconsargs+=(
-   BUILD_MIXER=false
-   BUILD_TESTS=false
-   )
-   fi
-   escons "${myesconsargs[@]}" "${@}"
-}
-
-src_prepare() {
-   default
-
-   # Bug #808853
-   cp "${BROOT}"/usr/share/gnuconfig/config.guess admin/ || die "Failed to 
update config.guess"
-
-   # Always use Qt5
-   sed -i -e 's/try:/if False:/' -e 's/except.*/else:/' 
support/mixer-qt4/ffado/import_pyqt.py || die
-
-   # Bugs #658052, #659226
-   sed -i -e 's/^CacheDir/#CacheDir/' SConstruct || die
-
-   multilib_copy_sources
-}
-
-multilib_src_compile() {
-   tc-export CC CXX
-   myescons
-}
-
-multilib_src_install() {
-   myescons DESTDIR="${D}" WILL_DEAL_WITH_XDG_MYSELF="True" install
-}
-
-multilib_src_install_all() {
-   einstalldocs
-
-   python_fix_shebang "${D}"
-   python_optimize "${D}"
-
-   if use 

[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2022-03-30 Thread Jakov Smolić
commit: 773d5d43ab88434957a070e89b80c4f5d511ad42
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Mar 30 20:09:07 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Mar 30 20:09:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=773d5d43

media-libs/libffado: Stabilize 2.4.5 x86, #836396

Signed-off-by: Jakov Smolić  gentoo.org>

 media-libs/libffado/libffado-2.4.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libffado/libffado-2.4.5.ebuild 
b/media-libs/libffado/libffado-2.4.5.ebuild
index be9401c3fede..3e212bb12d21 100644
--- a/media-libs/libffado/libffado-2.4.5.ebuild
+++ b/media-libs/libffado/libffado-2.4.5.ebuild
@@ -15,7 +15,7 @@ if [[ "${PV}" = "" ]]; then
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
 else
SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86"
 fi
 
 LICENSE="GPL-2 GPL-3"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2022-03-30 Thread Jakov Smolić
commit: 1700ec9dd8fbeb447f0cf3bc109060b2ff8db7de
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Mar 30 11:08:23 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Mar 30 11:08:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1700ec9d

media-libs/libffado: Stabilize 2.4.5 amd64, #836396

Signed-off-by: Jakov Smolić  gentoo.org>

 media-libs/libffado/libffado-2.4.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libffado/libffado-2.4.5.ebuild 
b/media-libs/libffado/libffado-2.4.5.ebuild
index 8383212fe83e..be9401c3fede 100644
--- a/media-libs/libffado/libffado-2.4.5.ebuild
+++ b/media-libs/libffado/libffado-2.4.5.ebuild
@@ -15,7 +15,7 @@ if [[ "${PV}" = "" ]]; then
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
 else
SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
 fi
 
 LICENSE="GPL-2 GPL-3"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2022-02-27 Thread Miroslav Šulc
commit: 93f843880805c7a60732dd0476a3111fc0273232
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Sun Feb 27 08:29:49 2022 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Sun Feb 27 08:30:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93f84388

media-libs/libffado: bump to 2.4.5 + added python3_10

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/libffado/Manifest  |   1 +
 media-libs/libffado/libffado-2.4.5.ebuild | 113 ++
 2 files changed, 114 insertions(+)

diff --git a/media-libs/libffado/Manifest b/media-libs/libffado/Manifest
index 77489ffd8afa..77b038f60cd8 100644
--- a/media-libs/libffado/Manifest
+++ b/media-libs/libffado/Manifest
@@ -1 +1,2 @@
 DIST libffado-2.4.4.tgz 1228417 BLAKE2B 
70d3b17f7d7317acc63351faaefb27fa850664015134887f0508b4a76aabbf6e9573f87eb2dd9792ac5f4f4b06ac7c872afa33af6af0341e6cceeb43e7a79526
 SHA512 
065b7f9ce9bf58320c02353b63ed17b3610d0ee8a2de58de27159b2190e39c779094b01ae1123c087387e6077375e646b564b9e7717b192865b2f1f22a3acc80
+DIST libffado-2.4.5.tgz 1229890 BLAKE2B 
18c260b782c9a97e3f2c8689a218f7a4925158c3e3cb14987182bf04043438d1325a9ababfe29860f6769a5eeabb49a843a8d15072b24b914334c447b5c7238d
 SHA512 
a2c1d0515e14015b7803c4d52d67605afec27ae2569888dec085375ed4a488f4885b5033369e52305e668a35289d3bd749a9babb5778df339fa93553c23af30f

diff --git a/media-libs/libffado/libffado-2.4.5.ebuild 
b/media-libs/libffado/libffado-2.4.5.ebuild
new file mode 100644
index ..8383212fe83e
--- /dev/null
+++ b/media-libs/libffado/libffado-2.4.5.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit desktop python-single-r1 scons-utils toolchain-funcs udev 
multilib-minimal
+
+DESCRIPTION="Driver for IEEE1394 (Firewire) audio interfaces"
+HOMEPAGE="http://www.ffado.org;
+
+if [[ "${PV}" = "" ]]; then
+   inherit subversion
+   ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
+else
+   SRC_URI="http://www.ffado.org/files/${P}.tgz;
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="GPL-2 GPL-3"
+SLOT="0"
+IUSE="debug qt5 test-programs"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+BDEPEND="
+   virtual/pkgconfig
+"
+CDEPEND="${PYTHON_DEPS}
+   dev-cpp/libxmlpp:2.6[${MULTILIB_USEDEP}]
+   dev-libs/dbus-c++
+   dev-libs/libconfig:=[cxx,${MULTILIB_USEDEP}]
+   media-libs/alsa-lib
+   media-libs/libiec61883[${MULTILIB_USEDEP}]
+   sys-apps/dbus
+   sys-libs/libavc1394[${MULTILIB_USEDEP}]
+   sys-libs/libraw1394[${MULTILIB_USEDEP}]
+   qt5? (
+   $(python_gen_cond_dep '
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/PyQt5[dbus,${PYTHON_USEDEP}]
+   ')
+   x11-misc/xdg-utils
+   )"
+DEPEND="${CDEPEND}"
+RDEPEND="${CDEPEND}"
+
+myescons() {
+   local myesconsargs=(
+   PREFIX="${EPREFIX}/usr"
+   LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+   MANDIR="${EPREFIX}/usr/share/man"
+   UDEVDIR="$(get_udevdir)/rules.d"
+   CUSTOM_ENV=true
+   DETECT_USERSPACE_ENV=false
+   DEBUG=$(usex debug)
+   PYPKGDIR="$(python_get_sitedir)"
+   # ENABLE_OPTIMIZATIONS detects cpu type and sets flags 
accordingly
+   # -fomit-frame-pointer is added also which can cripple 
debugging.
+   # we set flags from portage instead
+   ENABLE_OPTIMIZATIONS=false
+   # This only works for JACK1>=0.122.0 or JACK2>=1.9.9.
+   ENABLE_SETBUFFERSIZE_API_VER=force
+   )
+   if multilib_is_native_abi; then
+   myesconsargs+=(
+   BUILD_MIXER=$(usex qt5 true false)
+   BUILD_TESTS=$(usex test-programs)
+   )
+   else
+   myesconsargs+=(
+   BUILD_MIXER=false
+   BUILD_TESTS=false
+   )
+   fi
+   escons "${myesconsargs[@]}" "${@}"
+}
+
+src_prepare() {
+   default
+
+   # Bug #808853
+   cp "${BROOT}"/usr/share/gnuconfig/config.guess admin/ || die "Failed to 
update config.guess"
+
+   # Always use Qt5
+   sed -i -e 's/try:/if False:/' -e 's/except.*/else:/' 
support/mixer-qt4/ffado/import_pyqt.py || die
+
+   # Bugs #658052, #659226
+   sed -i -e 's/^CacheDir/#CacheDir/' SConstruct || die
+
+   multilib_copy_sources
+}
+
+multilib_src_compile() {
+   tc-export CC CXX
+   myescons
+}
+
+multilib_src_install() {
+   myescons DESTDIR="${D}" WILL_DEAL_WITH_XDG_MYSELF="True" install
+}
+
+multilib_src_install_all() {
+   einstalldocs
+
+   python_fix_shebang "${D}"
+   python_optimize "${D}"
+
+   if use qt5; then
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2021-09-19 Thread Marek Szuba
commit: 056e343a79e1cc8c40a85560d2c75851ad30c8ad
Author: Marek Szuba  gentoo  org>
AuthorDate: Sun Sep 19 12:05:37 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun Sep 19 12:11:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=056e343a

media-libs/libffado: use config.guess from sys-devel/gnuconfig

The version from 2021-01-01 is good enough for riscv, indeed if I read
the config.git log correctly the only arches added since then have been
arc64 and arc32, and it saves us having an extra distfile.

sys-devel/gnuconfig is part of the base system profile no need to
include it in BDEPEND.

Signed-off-by: Marek Szuba  gentoo.org>

 media-libs/libffado/Manifest | 1 -
 media-libs/libffado/libffado-2.4.4-r1.ebuild | 8 ++--
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/media-libs/libffado/Manifest b/media-libs/libffado/Manifest
index fe54b5b552b..77489ffd8af 100644
--- a/media-libs/libffado/Manifest
+++ b/media-libs/libffado/Manifest
@@ -1,2 +1 @@
-DIST config.guess-45e181800a6a27268a9c5d79dcc60492fef9a9a0 49348 BLAKE2B 
9cb4d625261700bd6c1ece41134ebdabc4b0abaa7c792d73732de8e9e292e65bb155c6bdbabf39feef6a69b08c56b7dc0d07121fe27b391b8e823918abdc1623
 SHA512 
8d5ab910acd2a795045c36703b5fc4cd6db0a5838ff980d0b62bd108e2cd8213519c6f2a754c49249346d78d4c9d2c8db4346895e02a9b4f5d7f42553c1a706c
 DIST libffado-2.4.4.tgz 1228417 BLAKE2B 
70d3b17f7d7317acc63351faaefb27fa850664015134887f0508b4a76aabbf6e9573f87eb2dd9792ac5f4f4b06ac7c872afa33af6af0341e6cceeb43e7a79526
 SHA512 
065b7f9ce9bf58320c02353b63ed17b3610d0ee8a2de58de27159b2190e39c779094b01ae1123c087387e6077375e646b564b9e7717b192865b2f1f22a3acc80

diff --git a/media-libs/libffado/libffado-2.4.4-r1.ebuild 
b/media-libs/libffado/libffado-2.4.4-r1.ebuild
index ab72adf2a6e..cf2aae8be17 100644
--- a/media-libs/libffado/libffado-2.4.4-r1.ebuild
+++ b/media-libs/libffado/libffado-2.4.4-r1.ebuild
@@ -14,9 +14,7 @@ if [[ "${PV}" = "" ]]; then
inherit subversion
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
 else
-   CONFIG_GUESS_COMMIT="45e181800a6a27268a9c5d79dcc60492fef9a9a0"
-   SRC_URI="http://www.ffado.org/files/${P}.tgz
-   
https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=${CONFIG_GUESS_COMMIT}
 -> config.guess-${CONFIG_GUESS_COMMIT}"
+   SRC_URI="http://www.ffado.org/files/${P}.tgz;
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 -riscv x86"
 fi
 
@@ -82,9 +80,7 @@ src_prepare() {
default
 
# Bug #808853
-   if [[ -n "${CONFIG_GUESS_COMMIT}" ]]; then
-   cp -a "${DISTDIR}"/config.guess-${CONFIG_GUESS_COMMIT} 
admin/config.guess || die "Failed to update config.guess"
-   fi
+   cp "${BROOT}"/usr/share/gnuconfig/config.guess admin/ || die "Failed to 
update config.guess"
 
# Always use Qt5
sed -i -e 's/try:/if False:/' -e 's/except.*/else:/' 
support/mixer-qt4/ffado/import_pyqt.py || die



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2021-09-19 Thread Marek Szuba
commit: 49bf146fe32b66b7c98806841bdd2c704f183d81
Author: Marek Szuba  gentoo  org>
AuthorDate: Sun Sep 19 11:23:01 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun Sep 19 11:28:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49bf146f

media-libs/libffado: use newer config.guess

Needed for libffado to build successfully on riscv. Doesn't seem to
break anything on previously supported arches - or at least not on
amd64.

Invoking maintainer time-out.

Closes: https://bugs.gentoo.org/808853
Signed-off-by: Marek Szuba  gentoo.org>

 media-libs/libffado/Manifest | 1 +
 media-libs/libffado/libffado-2.4.4-r1.ebuild | 9 -
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/media-libs/libffado/Manifest b/media-libs/libffado/Manifest
index 77489ffd8af..fe54b5b552b 100644
--- a/media-libs/libffado/Manifest
+++ b/media-libs/libffado/Manifest
@@ -1 +1,2 @@
+DIST config.guess-45e181800a6a27268a9c5d79dcc60492fef9a9a0 49348 BLAKE2B 
9cb4d625261700bd6c1ece41134ebdabc4b0abaa7c792d73732de8e9e292e65bb155c6bdbabf39feef6a69b08c56b7dc0d07121fe27b391b8e823918abdc1623
 SHA512 
8d5ab910acd2a795045c36703b5fc4cd6db0a5838ff980d0b62bd108e2cd8213519c6f2a754c49249346d78d4c9d2c8db4346895e02a9b4f5d7f42553c1a706c
 DIST libffado-2.4.4.tgz 1228417 BLAKE2B 
70d3b17f7d7317acc63351faaefb27fa850664015134887f0508b4a76aabbf6e9573f87eb2dd9792ac5f4f4b06ac7c872afa33af6af0341e6cceeb43e7a79526
 SHA512 
065b7f9ce9bf58320c02353b63ed17b3610d0ee8a2de58de27159b2190e39c779094b01ae1123c087387e6077375e646b564b9e7717b192865b2f1f22a3acc80

diff --git a/media-libs/libffado/libffado-2.4.4-r1.ebuild 
b/media-libs/libffado/libffado-2.4.4-r1.ebuild
index 1945430cb85..ab72adf2a6e 100644
--- a/media-libs/libffado/libffado-2.4.4-r1.ebuild
+++ b/media-libs/libffado/libffado-2.4.4-r1.ebuild
@@ -14,7 +14,9 @@ if [[ "${PV}" = "" ]]; then
inherit subversion
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
 else
-   SRC_URI="http://www.ffado.org/files/${P}.tgz;
+   CONFIG_GUESS_COMMIT="45e181800a6a27268a9c5d79dcc60492fef9a9a0"
+   SRC_URI="http://www.ffado.org/files/${P}.tgz
+   
https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=${CONFIG_GUESS_COMMIT}
 -> config.guess-${CONFIG_GUESS_COMMIT}"
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 -riscv x86"
 fi
 
@@ -79,6 +81,11 @@ myescons() {
 src_prepare() {
default
 
+   # Bug #808853
+   if [[ -n "${CONFIG_GUESS_COMMIT}" ]]; then
+   cp -a "${DISTDIR}"/config.guess-${CONFIG_GUESS_COMMIT} 
admin/config.guess || die "Failed to update config.guess"
+   fi
+
# Always use Qt5
sed -i -e 's/try:/if False:/' -e 's/except.*/else:/' 
support/mixer-qt4/ffado/import_pyqt.py || die
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2021-08-18 Thread Marek Szuba
commit: 4df5642eb609c654e2680ccb509a5b1239cfe11e
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Aug 18 09:43:28 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Aug 18 10:05:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4df5642e

media-libs/libffado: keyword 2.4.4-r1 for -riscv

src_configure dies with

"Trying to find the system triple: admin/config.guess: unable to guess system 
type

This script, last modified 2013-06-10, has failed to recognize
the operating system you are using."

With the latest config.guess version from
https://git.savannah.gnu.org/cgit/config.git/plain/config.guess
(dated 2021-06-03 at the time of me writing this) the ebuild emerges
fine but - but the two versions differ so much that I'd rather have the
maintainers decide if they want to update this file or not.

Bug: https://bugs.gentoo.org/808853
Signed-off-by: Marek Szuba  gentoo.org>

 media-libs/libffado/libffado-2.4.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libffado/libffado-2.4.4-r1.ebuild 
b/media-libs/libffado/libffado-2.4.4-r1.ebuild
index 4baea5208b9..1945430cb85 100644
--- a/media-libs/libffado/libffado-2.4.4-r1.ebuild
+++ b/media-libs/libffado/libffado-2.4.4-r1.ebuild
@@ -15,7 +15,7 @@ if [[ "${PV}" = "" ]]; then
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
 else
SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 -riscv x86"
 fi
 
 LICENSE="GPL-2 GPL-3"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2021-05-23 Thread Miroslav Šulc
commit: c44bb3e50569b6ff6d00bb6d10569ac4e86f23f1
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Sun May 23 09:42:17 2021 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Sun May 23 09:42:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c44bb3e5

media-libs/libffado: py3_9

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/libffado/libffado-2.4.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libffado/libffado-2.4.4-r1.ebuild 
b/media-libs/libffado/libffado-2.4.4-r1.ebuild
index 3f65f3bf7f5..88abda7bfe6 100644
--- a/media-libs/libffado/libffado-2.4.4-r1.ebuild
+++ b/media-libs/libffado/libffado-2.4.4-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7..9} )
 
 inherit desktop python-single-r1 scons-utils toolchain-funcs udev 
multilib-minimal
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2021-01-01 Thread Sam James
commit: 2b99f31a7a0bb0d0650a923ace416681f4c85dd8
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan  2 00:42:03 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan  2 00:42:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b99f31a

media-libs/libffado: revbump for libconfig subslot dep

Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 .../libffado/{libffado-2.4.4.ebuild => libffado-2.4.4-r1.ebuild}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/libffado/libffado-2.4.4.ebuild 
b/media-libs/libffado/libffado-2.4.4-r1.ebuild
similarity index 96%
rename from media-libs/libffado/libffado-2.4.4.ebuild
rename to media-libs/libffado/libffado-2.4.4-r1.ebuild
index 71156c2cf4d..c7c5b1cf7dd 100644
--- a/media-libs/libffado/libffado-2.4.4.ebuild
+++ b/media-libs/libffado/libffado-2.4.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -29,7 +29,7 @@ BDEPEND="
 CDEPEND="${PYTHON_DEPS}
dev-cpp/libxmlpp:2.6[${MULTILIB_USEDEP}]
dev-libs/dbus-c++
-   dev-libs/libconfig[cxx,${MULTILIB_USEDEP}]
+   dev-libs/libconfig:=[cxx,${MULTILIB_USEDEP}]
media-libs/alsa-lib
media-libs/libiec61883[${MULTILIB_USEDEP}]
sys-apps/dbus



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/files/, media-libs/libffado/

2020-09-24 Thread Miroslav Šulc
commit: 46fc84a6bd5f1873603ada7aa1fc803ccc9e6390
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Thu Sep 24 10:32:02 2020 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Thu Sep 24 10:32:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46fc84a6

media-libs/libffado: removed obsolete 2.4.1-r1

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/libffado/Manifest   |   1 -
 .../files/libffado-2.4.1-python3-scons-fix.patch   |  24 -
 media-libs/libffado/libffado-2.4.1-r1.ebuild   | 115 -
 3 files changed, 140 deletions(-)

diff --git a/media-libs/libffado/Manifest b/media-libs/libffado/Manifest
index a311edea9bc..77489ffd8af 100644
--- a/media-libs/libffado/Manifest
+++ b/media-libs/libffado/Manifest
@@ -1,2 +1 @@
-DIST libffado-2.4.1.tgz 1229295 BLAKE2B 
3b42493b68fc8648e116784e04baee2278c21e01fa92b22d990340ef329f67c898e247891e76d494410a758009fcf186ba556e900598eaca539a9879664cc704
 SHA512 
0859f17b87c68108bbde726d1cf8ab0b99f6f7f02cbe36acd8b451e112688a4d1edc21134eb4a2edc8c92dcf5f5da52efeabb2ad0dc07804ed1aa664a3b38d74
 DIST libffado-2.4.4.tgz 1228417 BLAKE2B 
70d3b17f7d7317acc63351faaefb27fa850664015134887f0508b4a76aabbf6e9573f87eb2dd9792ac5f4f4b06ac7c872afa33af6af0341e6cceeb43e7a79526
 SHA512 
065b7f9ce9bf58320c02353b63ed17b3610d0ee8a2de58de27159b2190e39c779094b01ae1123c087387e6077375e646b564b9e7717b192865b2f1f22a3acc80

diff --git a/media-libs/libffado/files/libffado-2.4.1-python3-scons-fix.patch 
b/media-libs/libffado/files/libffado-2.4.1-python3-scons-fix.patch
deleted file mode 100644
index e9cb0fb94f4..000
--- a/media-libs/libffado/files/libffado-2.4.1-python3-scons-fix.patch
+++ /dev/null
@@ -1,24 +0,0 @@
 libffado-2.4.1-old/support/mixer-qt4/SConscript2015-04-12 
20:18:15.0 +0900
-+++ libffado-2.4.1/support/mixer-qt4/SConscript2018-06-26 
19:59:19.015719710 +0900
-@@ -29,16 +29,12 @@
- if env['BUILD_MIXER'] == 'true':
- e = env.Clone()
- 
--def findfiles( arg, dirname, names ):
--for name in names:
--if name.startswith("."):
--names.remove(name)
--for name in names:
--if '.pyc' not in name and '.in' not in name:
--arg.append( os.path.join( dirname, name ) )
--
- pythonfiles = [ 'ffado/config.py' ]
--os.path.walk( "ffado", findfiles, pythonfiles )
-+for root, dirs, files in os.walk( "ffado" ):
-+for name in files:
-+if name.endswith( '.pyc' ) or '.in' in name or 
name.startswith("."):
-+continue
-+pythonfiles.append( os.path.join( root, name ) )
- 
- e.ScanReplace( "ffado/config.py.in" )
- e.Depends( "ffado/config.py", "#/SConstruct" )

diff --git a/media-libs/libffado/libffado-2.4.1-r1.ebuild 
b/media-libs/libffado/libffado-2.4.1-r1.ebuild
deleted file mode 100644
index 4d945041ea5..000
--- a/media-libs/libffado/libffado-2.4.1-r1.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-PYTHON_COMPAT=( python3_6 )
-
-inherit desktop python-single-r1 scons-utils toolchain-funcs udev 
multilib-minimal
-
-DESCRIPTION="Driver for IEEE1394 (Firewire) audio interfaces"
-HOMEPAGE="http://www.ffado.org;
-
-if [[ "${PV}" = "" ]]; then
-   inherit subversion
-   ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
-else
-   SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
-fi
-
-LICENSE="GPL-2 GPL-3"
-SLOT="0"
-IUSE="debug qt5 test-programs"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-COMMON_DEPEND="${PYTHON_DEPS}
-   dev-cpp/libxmlpp:2.6[${MULTILIB_USEDEP}]
-   dev-libs/dbus-c++
-   dev-libs/libconfig[cxx,${MULTILIB_USEDEP}]
-   media-libs/alsa-lib
-   media-libs/libiec61883[${MULTILIB_USEDEP}]
-   sys-apps/dbus
-   sys-libs/libavc1394[${MULTILIB_USEDEP}]
-   sys-libs/libraw1394[${MULTILIB_USEDEP}]
-   qt5? (
-   $(python_gen_cond_dep '
-   dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
-   dev-python/PyQt5[dbus,${PYTHON_MULTI_USEDEP}]
-   ')
-   x11-misc/xdg-utils
-   )"
-DEPEND="${COMMON_DEPEND}
-   virtual/pkgconfig"
-RDEPEND="${COMMON_DEPEND}
-   !=0.122.0 or JACK2>=1.9.9, so we 
block
-   # lower versions.
-   ENABLE_SETBUFFERSIZE_API_VER=force
-   )
-   if multilib_is_native_abi; then
-   myesconsargs+=(
-   BUILD_MIXER=$(usex qt5 true false)
-   BUILD_TESTS=$(usex test-programs)
-   )
-   else
-   myesconsargs+=(
-   BUILD_MIXER=false
-   BUILD_TESTS=false
-   )
-   fi
-   escons "${myesconsargs[@]}" "${@}"
-}
-

[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2020-09-24 Thread Agostino Sarubbo
commit: d54ef7c547cc693416cd7dc604c74b51d70d0648
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Sep 24 06:46:25 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Sep 24 06:46:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d54ef7c5

media-libs/libffado: amd64 stable wrt bug #738730

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/libffado/libffado-2.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libffado/libffado-2.4.4.ebuild 
b/media-libs/libffado/libffado-2.4.4.ebuild
index bb43175befe..71156c2cf4d 100644
--- a/media-libs/libffado/libffado-2.4.4.ebuild
+++ b/media-libs/libffado/libffado-2.4.4.ebuild
@@ -15,7 +15,7 @@ if [[ "${PV}" = "" ]]; then
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
 else
SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
 fi
 
 LICENSE="GPL-2 GPL-3"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2020-09-20 Thread Thomas Deutschmann
commit: 9edef3366608ec98b186765c708d55106bd61966
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Sep 20 22:36:42 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Sep 20 22:39:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9edef336

media-libs/libffado: x86 stable (bug #738730)

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann  gentoo.org>

 media-libs/libffado/libffado-2.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libffado/libffado-2.4.4.ebuild 
b/media-libs/libffado/libffado-2.4.4.ebuild
index 96505479684..bb43175befe 100644
--- a/media-libs/libffado/libffado-2.4.4.ebuild
+++ b/media-libs/libffado/libffado-2.4.4.ebuild
@@ -15,7 +15,7 @@ if [[ "${PV}" = "" ]]; then
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
 else
SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
 fi
 
 LICENSE="GPL-2 GPL-3"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2020-08-21 Thread Miroslav Šulc
commit: 7cab3ae51ca2e75364f6aea0104d0b074692631f
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Fri Aug 21 08:23:58 2020 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Fri Aug 21 08:24:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cab3ae5

media-libs/libffado: bump to 2.4.4

1) eapi7
2) added py3_7 and py3_8
3) updated deps, dropped jack restriction as not needed

Closes: https://bugs.gentoo.org/733996
Closes: https://bugs.gentoo.org/737394
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/libffado/Manifest  |   1 +
 media-libs/libffado/libffado-2.4.4.ebuild | 110 ++
 2 files changed, 111 insertions(+)

diff --git a/media-libs/libffado/Manifest b/media-libs/libffado/Manifest
index d3949e14d04..a311edea9bc 100644
--- a/media-libs/libffado/Manifest
+++ b/media-libs/libffado/Manifest
@@ -1 +1,2 @@
 DIST libffado-2.4.1.tgz 1229295 BLAKE2B 
3b42493b68fc8648e116784e04baee2278c21e01fa92b22d990340ef329f67c898e247891e76d494410a758009fcf186ba556e900598eaca539a9879664cc704
 SHA512 
0859f17b87c68108bbde726d1cf8ab0b99f6f7f02cbe36acd8b451e112688a4d1edc21134eb4a2edc8c92dcf5f5da52efeabb2ad0dc07804ed1aa664a3b38d74
+DIST libffado-2.4.4.tgz 1228417 BLAKE2B 
70d3b17f7d7317acc63351faaefb27fa850664015134887f0508b4a76aabbf6e9573f87eb2dd9792ac5f4f4b06ac7c872afa33af6af0341e6cceeb43e7a79526
 SHA512 
065b7f9ce9bf58320c02353b63ed17b3610d0ee8a2de58de27159b2190e39c779094b01ae1123c087387e6077375e646b564b9e7717b192865b2f1f22a3acc80

diff --git a/media-libs/libffado/libffado-2.4.4.ebuild 
b/media-libs/libffado/libffado-2.4.4.ebuild
new file mode 100644
index 000..96505479684
--- /dev/null
+++ b/media-libs/libffado/libffado-2.4.4.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit desktop python-single-r1 scons-utils toolchain-funcs udev 
multilib-minimal
+
+DESCRIPTION="Driver for IEEE1394 (Firewire) audio interfaces"
+HOMEPAGE="http://www.ffado.org;
+
+if [[ "${PV}" = "" ]]; then
+   inherit subversion
+   ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
+else
+   SRC_URI="http://www.ffado.org/files/${P}.tgz;
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+fi
+
+LICENSE="GPL-2 GPL-3"
+SLOT="0"
+IUSE="debug qt5 test-programs"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+BDEPEND="
+   virtual/pkgconfig
+"
+CDEPEND="${PYTHON_DEPS}
+   dev-cpp/libxmlpp:2.6[${MULTILIB_USEDEP}]
+   dev-libs/dbus-c++
+   dev-libs/libconfig[cxx,${MULTILIB_USEDEP}]
+   media-libs/alsa-lib
+   media-libs/libiec61883[${MULTILIB_USEDEP}]
+   sys-apps/dbus
+   sys-libs/libavc1394[${MULTILIB_USEDEP}]
+   sys-libs/libraw1394[${MULTILIB_USEDEP}]
+   qt5? (
+   $(python_gen_cond_dep '
+   dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
+   dev-python/PyQt5[dbus,${PYTHON_MULTI_USEDEP}]
+   ')
+   x11-misc/xdg-utils
+   )"
+DEPEND="${CDEPEND}"
+RDEPEND="${CDEPEND}"
+
+myescons() {
+   local myesconsargs=(
+   PREFIX="${EPREFIX}/usr"
+   LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+   MANDIR="${EPREFIX}/usr/share/man"
+   UDEVDIR="$(get_udevdir)/rules.d"
+   CUSTOM_ENV=true
+   DETECT_USERSPACE_ENV=false
+   DEBUG=$(usex debug)
+   PYPKGDIR="$(python_get_sitedir)"
+   # ENABLE_OPTIMIZATIONS detects cpu type and sets flags 
accordingly
+   # -fomit-frame-pointer is added also which can cripple 
debugging.
+   # we set flags from portage instead
+   ENABLE_OPTIMIZATIONS=false
+   # This only works for JACK1>=0.122.0 or JACK2>=1.9.9.
+   ENABLE_SETBUFFERSIZE_API_VER=force
+   )
+   if multilib_is_native_abi; then
+   myesconsargs+=(
+   BUILD_MIXER=$(usex qt5 true false)
+   BUILD_TESTS=$(usex test-programs)
+   )
+   else
+   myesconsargs+=(
+   BUILD_MIXER=false
+   BUILD_TESTS=false
+   )
+   fi
+   escons "${myesconsargs[@]}" "${@}"
+}
+
+src_prepare() {
+   default
+
+   # Always use Qt5
+   sed -i -e 's/try:/if False:/' -e 's/except.*/else:/' 
support/mixer-qt4/ffado/import_pyqt.py || die
+
+   # Bugs #658052, #659226
+   sed -i -e 's/^CacheDir/#CacheDir/' SConstruct || die
+
+   multilib_copy_sources
+}
+
+multilib_src_compile() {
+   tc-export CC CXX
+   myescons
+}
+
+multilib_src_install() {
+   myescons DESTDIR="${D}" WILL_DEAL_WITH_XDG_MYSELF="True" install
+}
+
+multilib_src_install_all() {
+   einstalldocs
+
+   python_fix_shebang "${D}"
+   python_optimize "${D}"
+
+  

[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2020-02-10 Thread Michał Górny
commit: d540914a6a09a8b50897cedf077721c17c9734cb
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Feb 10 11:56:45 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Feb 10 12:12:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d540914a

media-libs/libffado: Remove py2

Signed-off-by: Michał Górny  gentoo.org>

 media-libs/libffado/libffado-2.4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libffado/libffado-2.4.1-r1.ebuild 
b/media-libs/libffado/libffado-2.4.1-r1.ebuild
index 26c86b9fd08..4d945041ea5 100644
--- a/media-libs/libffado/libffado-2.4.1-r1.ebuild
+++ b/media-libs/libffado/libffado-2.4.1-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="6"
 
-PYTHON_COMPAT=( python2_7 python3_6 )
+PYTHON_COMPAT=( python3_6 )
 
 inherit desktop python-single-r1 scons-utils toolchain-funcs udev 
multilib-minimal
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2020-02-09 Thread Michał Górny
commit: 1199c344be6dbabd0d14ab187825e32668495caa
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Feb  7 16:38:07 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb  9 16:26:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1199c344

media-libs/libffado: Switch to PYTHON_MULTI_USEDEP API

Signed-off-by: Michał Górny  gentoo.org>

 .../libffado/{libffado-2.4.1.ebuild => libffado-2.4.1-r1.ebuild}| 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/media-libs/libffado/libffado-2.4.1.ebuild 
b/media-libs/libffado/libffado-2.4.1-r1.ebuild
similarity index 95%
rename from media-libs/libffado/libffado-2.4.1.ebuild
rename to media-libs/libffado/libffado-2.4.1-r1.ebuild
index 571be2962fe..26c86b9fd08 100644
--- a/media-libs/libffado/libffado-2.4.1.ebuild
+++ b/media-libs/libffado/libffado-2.4.1-r1.ebuild
@@ -33,8 +33,10 @@ COMMON_DEPEND="${PYTHON_DEPS}
sys-libs/libavc1394[${MULTILIB_USEDEP}]
sys-libs/libraw1394[${MULTILIB_USEDEP}]
qt5? (
-   dev-python/dbus-python[${PYTHON_USEDEP}]
-   dev-python/PyQt5[dbus,${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
+   dev-python/PyQt5[dbus,${PYTHON_MULTI_USEDEP}]
+   ')
x11-misc/xdg-utils
)"
 DEPEND="${COMMON_DEPEND}



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2019-12-03 Thread Agostino Sarubbo
commit: 966c04887d92ccdcbb427f01143c8c022a7fc1be
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Dec  3 10:05:37 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Dec  3 10:05:37 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=966c0488

media-libs/libffado: x86 stable wrt bug #701748

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/libffado/libffado-2.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libffado/libffado-2.4.1.ebuild 
b/media-libs/libffado/libffado-2.4.1.ebuild
index 38bf0e5eba1..04743360d81 100644
--- a/media-libs/libffado/libffado-2.4.1.ebuild
+++ b/media-libs/libffado/libffado-2.4.1.ebuild
@@ -15,7 +15,7 @@ if [[ "${PV}" = "" ]]; then
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
 else
SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
 fi
 
 LICENSE="GPL-2 GPL-3"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2019-12-03 Thread Agostino Sarubbo
commit: 7488596d91e788594cbe1e50ac6d288c20503a7c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Dec  3 10:02:36 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Dec  3 10:02:36 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7488596d

media-libs/libffado: amd64 stable wrt bug #701748

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/libffado/libffado-2.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libffado/libffado-2.4.1.ebuild 
b/media-libs/libffado/libffado-2.4.1.ebuild
index f2e545402ef..38bf0e5eba1 100644
--- a/media-libs/libffado/libffado-2.4.1.ebuild
+++ b/media-libs/libffado/libffado-2.4.1.ebuild
@@ -15,7 +15,7 @@ if [[ "${PV}" = "" ]]; then
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
 else
SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
 fi
 
 LICENSE="GPL-2 GPL-3"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/, media-libs/libffado/files/

2019-02-14 Thread Andreas Sturmlechner
commit: 9f37b84b5d01e0d465aedb75a664c1994bd7bee1
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Feb 14 17:04:31 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu Feb 14 18:36:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f37b84b

media-libs/libffado: Drop 2.4.0

Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-libs/libffado/Manifest   |   1 -
 .../libffado-2.4.0-additional-py3-fixes.patch  |  96 --
 .../files/libffado-2.4.0-crossbar-router-fix.patch |  11 --
 .../files/libffado-2.4.0-py3-pyqt5-fixes.patch | 197 -
 .../libffado-2.4.0-pyqt5-dbus-detection.patch  |  30 
 .../files/libffado-2.4.0-rme-bigendian-fix.patch   |  50 --
 media-libs/libffado/libffado-2.4.0.ebuild  | 119 -
 7 files changed, 504 deletions(-)

diff --git a/media-libs/libffado/Manifest b/media-libs/libffado/Manifest
index f0bb141ce4c..d3949e14d04 100644
--- a/media-libs/libffado/Manifest
+++ b/media-libs/libffado/Manifest
@@ -1,2 +1 @@
-DIST libffado-2.4.0.tgz 1228916 BLAKE2B 
21a3a2a96377f698e7c1a43912c761624aabe5401f0e147fee4fa203c4534166494de8867320b4b6bc3ff200b65c77bb62ab2c4e98948ed0ee74e6171d162deb
 SHA512 
7df37584925cc908cc284dba344609928d39e006f71ae4ede62e4531b2628271ebd0db00407418e943fb569b5b8b919a76c90aaeed03005cefbd3c1c16ee1627
 DIST libffado-2.4.1.tgz 1229295 BLAKE2B 
3b42493b68fc8648e116784e04baee2278c21e01fa92b22d990340ef329f67c898e247891e76d494410a758009fcf186ba556e900598eaca539a9879664cc704
 SHA512 
0859f17b87c68108bbde726d1cf8ab0b99f6f7f02cbe36acd8b451e112688a4d1edc21134eb4a2edc8c92dcf5f5da52efeabb2ad0dc07804ed1aa664a3b38d74

diff --git 
a/media-libs/libffado/files/libffado-2.4.0-additional-py3-fixes.patch 
b/media-libs/libffado/files/libffado-2.4.0-additional-py3-fixes.patch
deleted file mode 100644
index fd5d2f44bab..000
--- a/media-libs/libffado/files/libffado-2.4.0-additional-py3-fixes.patch
+++ /dev/null
@@ -1,96 +0,0 @@
 a/support/mixer-qt4/ffado/panelmanager.py  2018-01-11 12:27:20.518923209 
+0900
-+++ a/support/mixer-qt4/ffado/panelmanager.py  2018-01-11 12:31:03.956299962 
+0900
-@@ -38,6 +38,7 @@
- 
- import sys
- import time
-+import importlib
- 
- import logging
- log = logging.getLogger('panelmanager')
-@@ -302,20 +303,15 @@
- #
- # Specific (or dummy) mixer widgets get loaded in the following
- #
-+found = False
- if 'mixer' in dev and dev['mixer'] != None:
- mixerapp = dev['mixer']
--global mixerwidget
--exec( """
--try:
--import ffado.mixer.%s
--globals()["mixerwidget"] = ffado.mixer.%s.%s( w )
--found = True
--except ImportError:
--log.debug("bypassdbus set, %s module not available: ignored")
--found = False
--""" % (mixerapp.lower(), mixerapp.lower(), mixerapp, mixerapp.lower()) )
--else:
--found = False
-+try:
-+mixer_module = importlib.import_module("ffado.mixer.%s" % 
mixerapp.lower())
-+mixerwidget = getattr(mixer_module, mixerapp)(w)
-+found = True
-+except ImportError:
-+log.debug("bypassdbus set, %s module not available: ignored" 
% mixerapp.lower())
- 
- if not found:
- mixerwidget = Dummy( w )
 a/support/mixer-qt4/ffado/widgets/crossbarrouter.py2018-01-11 
12:34:10.200777889 +0900
-+++ b/support/mixer-qt4/ffado/widgets/crossbarrouter.py2018-01-11 
12:45:13.278911705 +0900
-@@ -194,7 +194,7 @@
- #log.debug("Got %i peaks" % len(peakvalues))
- for peak in peakvalues:
- #log.debug("peak = [%s,%s]" % (str(peak[0]),str(peak[1])))
--if peak[0] >= 0:
-+if peak[1] >= 0:
- self.switchers[peak[0]].peakValue(peak[1])
- 
- def updateMixerRouting(self):
 a/support/mixer-qt4/ffado/widgets/matrixmixer.py   2018-01-11 
12:54:27.545361864 +0900
-+++ b/support/mixer-qt4/ffado/widgets/matrixmixer.py   2018-01-11 
12:56:36.899124318 +0900
-@@ -512,7 +512,7 @@
- self.rowHeaders[j].lbl.setText(row_name)
- 
- def updateValues(self, n):
--nbitems = len(n)/3
-+nbitems = len(n) // 3
- for i in range(nbitems):
- n_0 = n[3*i]
- n_1 = n[3*i+1]   
-@@ -951,7 +951,7 @@
- return self.interface.setValue(In, Out, val)
- 
- def updateValues(self, n):
--nbitems = len(n)/3
-+nbitems = len(n) // 3
- for j in range(nbitems):
- n_0 = n[3*j]
- n_1 = n[3*j+1]   
-@@ -1406,7 +1406,7 @@
- def matrixControlChanged(self, n):
- # Update value needed for "per Out" view
- #log.debug("Update per Output( %s )" % str(n))
--nbitems = len(n)/3
-+nbitems = len(n) // 3
- if (self.rule == 

[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2019-02-11 Thread Sergei Trofimovich
commit: 13a56c540c5e0399d181badda91b304dc6c88961
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Feb 11 22:32:17 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Feb 11 22:32:28 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13a56c54

media-libs/libffado: keyworded 2.4.1 for ppc, bug #677640

Package-Manager: Portage-2.3.59, Repoman-2.3.12
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 media-libs/libffado/libffado-2.4.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/libffado/libffado-2.4.1.ebuild 
b/media-libs/libffado/libffado-2.4.1.ebuild
index a9c3d2c6e17..d987a24a646 100644
--- a/media-libs/libffado/libffado-2.4.1.ebuild
+++ b/media-libs/libffado/libffado-2.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -15,7 +15,7 @@ if [[ "${PV}" = "" ]]; then
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
 else
SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
 fi
 
 LICENSE="GPL-2 GPL-3"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/files/, media-libs/libffado/

2018-06-26 Thread Andreas Sturmlechner
commit: 5400bbb794231bb0b77f070229af2f3d95632323
Author: Hector Martin  marcan  st>
AuthorDate: Tue Jun 26 11:12:15 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Jun 26 12:24:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5400bbb7

media-libs/libffado: 2.4.1 version bump and work around SCons bug

Closes: https://bugs.gentoo.org/658052
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/8975

 media-libs/libffado/Manifest   |   1 +
 .../files/libffado-2.4.1-python3-scons-fix.patch   |  24 +
 media-libs/libffado/libffado-2.4.1.ebuild  | 113 +
 3 files changed, 138 insertions(+)

diff --git a/media-libs/libffado/Manifest b/media-libs/libffado/Manifest
index d61f0431273..f0bb141ce4c 100644
--- a/media-libs/libffado/Manifest
+++ b/media-libs/libffado/Manifest
@@ -1 +1,2 @@
 DIST libffado-2.4.0.tgz 1228916 BLAKE2B 
21a3a2a96377f698e7c1a43912c761624aabe5401f0e147fee4fa203c4534166494de8867320b4b6bc3ff200b65c77bb62ab2c4e98948ed0ee74e6171d162deb
 SHA512 
7df37584925cc908cc284dba344609928d39e006f71ae4ede62e4531b2628271ebd0db00407418e943fb569b5b8b919a76c90aaeed03005cefbd3c1c16ee1627
+DIST libffado-2.4.1.tgz 1229295 BLAKE2B 
3b42493b68fc8648e116784e04baee2278c21e01fa92b22d990340ef329f67c898e247891e76d494410a758009fcf186ba556e900598eaca539a9879664cc704
 SHA512 
0859f17b87c68108bbde726d1cf8ab0b99f6f7f02cbe36acd8b451e112688a4d1edc21134eb4a2edc8c92dcf5f5da52efeabb2ad0dc07804ed1aa664a3b38d74

diff --git a/media-libs/libffado/files/libffado-2.4.1-python3-scons-fix.patch 
b/media-libs/libffado/files/libffado-2.4.1-python3-scons-fix.patch
new file mode 100644
index 000..e9cb0fb94f4
--- /dev/null
+++ b/media-libs/libffado/files/libffado-2.4.1-python3-scons-fix.patch
@@ -0,0 +1,24 @@
+--- libffado-2.4.1-old/support/mixer-qt4/SConscript2015-04-12 
20:18:15.0 +0900
 libffado-2.4.1/support/mixer-qt4/SConscript2018-06-26 
19:59:19.015719710 +0900
+@@ -29,16 +29,12 @@
+ if env['BUILD_MIXER'] == 'true':
+ e = env.Clone()
+ 
+-def findfiles( arg, dirname, names ):
+-for name in names:
+-if name.startswith("."):
+-names.remove(name)
+-for name in names:
+-if '.pyc' not in name and '.in' not in name:
+-arg.append( os.path.join( dirname, name ) )
+-
+ pythonfiles = [ 'ffado/config.py' ]
+-os.path.walk( "ffado", findfiles, pythonfiles )
++for root, dirs, files in os.walk( "ffado" ):
++for name in files:
++if name.endswith( '.pyc' ) or '.in' in name or 
name.startswith("."):
++continue
++pythonfiles.append( os.path.join( root, name ) )
+ 
+ e.ScanReplace( "ffado/config.py.in" )
+ e.Depends( "ffado/config.py", "#/SConstruct" )

diff --git a/media-libs/libffado/libffado-2.4.1.ebuild 
b/media-libs/libffado/libffado-2.4.1.ebuild
new file mode 100644
index 000..a9c3d2c6e17
--- /dev/null
+++ b/media-libs/libffado/libffado-2.4.1.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit desktop python-single-r1 scons-utils toolchain-funcs udev 
multilib-minimal
+
+DESCRIPTION="Driver for IEEE1394 (Firewire) audio interfaces"
+HOMEPAGE="http://www.ffado.org;
+
+if [[ "${PV}" = "" ]]; then
+   inherit subversion
+   ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
+else
+   SRC_URI="http://www.ffado.org/files/${P}.tgz;
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+fi
+
+LICENSE="GPL-2 GPL-3"
+SLOT="0"
+IUSE="debug qt5 test-programs"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="${PYTHON_DEPS}
+   dev-cpp/libxmlpp:2.6[${MULTILIB_USEDEP}]
+   dev-libs/dbus-c++
+   dev-libs/libconfig[cxx,${MULTILIB_USEDEP}]
+   media-libs/alsa-lib
+   media-libs/libiec61883[${MULTILIB_USEDEP}]
+   sys-apps/dbus
+   sys-libs/libavc1394[${MULTILIB_USEDEP}]
+   sys-libs/libraw1394[${MULTILIB_USEDEP}]
+   qt5? (
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/PyQt5[dbus,${PYTHON_USEDEP}]
+   x11-misc/xdg-utils
+   )"
+DEPEND="${COMMON_DEPEND}
+   virtual/pkgconfig"
+RDEPEND="${COMMON_DEPEND}
+   !=0.122.0 or JACK2>=1.9.9, so we 
block
+   # lower versions.
+   ENABLE_SETBUFFERSIZE_API_VER=force
+   )
+   if multilib_is_native_abi; then
+   myesconsargs+=(
+   BUILD_MIXER=$(usex qt5 true false)
+   BUILD_TESTS=$(usex test-programs)
+   )
+   else
+   myesconsargs+=(
+   BUILD_MIXER=false
+   BUILD_TESTS=false
+   )
+   fi
+   escons "${myesconsargs[@]}" "${@}"
+}
+
+src_prepare() 

[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/, media-libs/libffado/files/

2018-01-23 Thread Andreas Sturmlechner
commit: 17ed34d641046efcfedff475eb6dc7af409e33cb
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Jan 23 10:40:34 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Jan 23 10:41:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17ed34d6

media-libs/libffado: Drop old

Closes: https://bugs.gentoo.org/642530
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-libs/libffado/Manifest   |   1 -
 .../libffado/files/libffado-2.3.0-gcc6.patch   |  26 -
 .../files/libffado-2.3.0-include-signal.patch  |  29 --
 .../files/libffado-2.3.0-modelname-strip.patch |  45 -
 media-libs/libffado/libffado-2.3.0.ebuild  | 107 -
 media-libs/libffado/metadata.xml   |   1 -
 6 files changed, 209 deletions(-)

diff --git a/media-libs/libffado/Manifest b/media-libs/libffado/Manifest
index 16c3238487b..d61f0431273 100644
--- a/media-libs/libffado/Manifest
+++ b/media-libs/libffado/Manifest
@@ -1,2 +1 @@
-DIST libffado-2.3.0.tgz 1239253 BLAKE2B 
cb470a590df8018975f40f56cde50468a2b51c9504b719b70ce5941406829f25452a96b8ac897aba1ed6c8d4cafa712e7872430e7bb2ebec0822f7b4720084c5
 SHA512 
24a8853281a17b04623e41dc590f7a9b8f4aebe4dfaece2e3b8fe28457a6ff011586e817712b4913d1fca660b701dddc70576c12d8c56470cf991eb17b4297c4
 DIST libffado-2.4.0.tgz 1228916 BLAKE2B 
21a3a2a96377f698e7c1a43912c761624aabe5401f0e147fee4fa203c4534166494de8867320b4b6bc3ff200b65c77bb62ab2c4e98948ed0ee74e6171d162deb
 SHA512 
7df37584925cc908cc284dba344609928d39e006f71ae4ede62e4531b2628271ebd0db00407418e943fb569b5b8b919a76c90aaeed03005cefbd3c1c16ee1627

diff --git a/media-libs/libffado/files/libffado-2.3.0-gcc6.patch 
b/media-libs/libffado/files/libffado-2.3.0-gcc6.patch
deleted file mode 100644
index 2a73ee1cf8c..000
--- a/media-libs/libffado/files/libffado-2.3.0-gcc6.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-
-r2629 | jwoithe | 2016-10-09 13:00:28 +0900 (Sun, 09 Oct 2016) | 1 line
-
-TimestampedBuffer.cpp: move the include of math.h to the top of the file which 
is where most people would expect it to be.  The patch comes from a Fedora RPM 
source package via Simon Lewis, who suggested that without it gcc6 had trouble 
with the file (the nature of the problem is not known by the FFADO project at 
this time).  Earlier versions of gcc (for example, 4.8.2) had no trouble 
compiling this file without any math.h include, so the issue that some have 
seen with gcc6 must be due to math.h being removed from some other system-level 
include file at some point.
-
-Index: src/libutil/TimestampedBuffer.cpp
-===
 a/src/libutil/TimestampedBuffer.cpp(revision 2628)
-+++ b/src/libutil/TimestampedBuffer.cpp(revision 2629)
-@@ -32,6 +32,7 @@
- 
- #include 
- #include 
-+#include 
- 
- #define DLL_PI(3.141592653589793238)
- #define DLL_SQRT2 (1.414213562373095049)
-@@ -179,8 +180,6 @@
- m_wrap_at=w;
- return true;
- }
--#include 
--
- /**
-  * \brief return the effective rate
-  *

diff --git a/media-libs/libffado/files/libffado-2.3.0-include-signal.patch 
b/media-libs/libffado/files/libffado-2.3.0-include-signal.patch
deleted file mode 100644
index 4eabf12eef0..000
--- a/media-libs/libffado/files/libffado-2.3.0-include-signal.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-
-r2706 | jwoithe | 2017-08-08 08:39:56 +0900 (Tue, 08 Aug 2017) | 11 lines
-
-PosixMessageQueue: ensure visibility of SIGEV_THREAD declaration.
-
-Orcan Ogetbil reported on the ffado-devel list that during the recent Fedora
-rebuild effort FFADO 2.3.0 failed to compile because SIGEV_THREAD was
-undeclared.  Jano Svitok made the plausible suggestion that signal.h needs
-to be included explicitly under newer glibc versions.  This trivial patch 
-implements this.  As of this commit it has not been verified that the
-problem is fixed with this addition.  However, there's no harm done by the
-change in general and conceptionally the change is consistent with the
-source file's content given the use of signal-related functionality.
-
-
-Index: src/libutil/PosixMessageQueue.cpp
-===
 a/src/libutil/PosixMessageQueue.cpp(revision 2705)
-+++ b/src/libutil/PosixMessageQueue.cpp(revision 2706)
-@@ -30,6 +30,7 @@
- #include 
- #include 
- #include 
-+#include 
- 
- #define MQ_INVALID_ID ((mqd_t) -1)
- // one second
-
-

diff --git a/media-libs/libffado/files/libffado-2.3.0-modelname-strip.patch 
b/media-libs/libffado/files/libffado-2.3.0-modelname-strip.patch
deleted file mode 100644
index 

[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/, media-libs/libffado/files/

2018-01-11 Thread Andreas Sturmlechner
commit: 087ba48a1b12b4ca931ee1e3bbb6e1fc332dca33
Author: Hector Martin  marcan  st>
AuthorDate: Thu Jan 11 04:11:52 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu Jan 11 23:57:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=087ba48a

media-libs/libffado: bump to 2.4.0 and switch to qt5

Bug: https://bugs.gentoo.org/642530
Closes: https://github.com/gentoo/gentoo/pull/6826

 media-libs/libffado/Manifest   |   1 +
 .../libffado-2.4.0-additional-py3-fixes.patch  |  96 ++
 .../files/libffado-2.4.0-crossbar-router-fix.patch |  11 ++
 .../files/libffado-2.4.0-py3-pyqt5-fixes.patch | 197 +
 .../libffado-2.4.0-pyqt5-dbus-detection.patch  |  30 
 .../files/libffado-2.4.0-rme-bigendian-fix.patch   |  50 ++
 media-libs/libffado/libffado-2.4.0.ebuild  | 119 +
 7 files changed, 504 insertions(+)

diff --git a/media-libs/libffado/Manifest b/media-libs/libffado/Manifest
index db5966e713e..16c3238487b 100644
--- a/media-libs/libffado/Manifest
+++ b/media-libs/libffado/Manifest
@@ -1 +1,2 @@
 DIST libffado-2.3.0.tgz 1239253 BLAKE2B 
cb470a590df8018975f40f56cde50468a2b51c9504b719b70ce5941406829f25452a96b8ac897aba1ed6c8d4cafa712e7872430e7bb2ebec0822f7b4720084c5
 SHA512 
24a8853281a17b04623e41dc590f7a9b8f4aebe4dfaece2e3b8fe28457a6ff011586e817712b4913d1fca660b701dddc70576c12d8c56470cf991eb17b4297c4
+DIST libffado-2.4.0.tgz 1228916 BLAKE2B 
21a3a2a96377f698e7c1a43912c761624aabe5401f0e147fee4fa203c4534166494de8867320b4b6bc3ff200b65c77bb62ab2c4e98948ed0ee74e6171d162deb
 SHA512 
7df37584925cc908cc284dba344609928d39e006f71ae4ede62e4531b2628271ebd0db00407418e943fb569b5b8b919a76c90aaeed03005cefbd3c1c16ee1627

diff --git 
a/media-libs/libffado/files/libffado-2.4.0-additional-py3-fixes.patch 
b/media-libs/libffado/files/libffado-2.4.0-additional-py3-fixes.patch
new file mode 100644
index 000..fd5d2f44bab
--- /dev/null
+++ b/media-libs/libffado/files/libffado-2.4.0-additional-py3-fixes.patch
@@ -0,0 +1,96 @@
+--- a/support/mixer-qt4/ffado/panelmanager.py  2018-01-11 12:27:20.518923209 
+0900
 a/support/mixer-qt4/ffado/panelmanager.py  2018-01-11 12:31:03.956299962 
+0900
+@@ -38,6 +38,7 @@
+ 
+ import sys
+ import time
++import importlib
+ 
+ import logging
+ log = logging.getLogger('panelmanager')
+@@ -302,20 +303,15 @@
+ #
+ # Specific (or dummy) mixer widgets get loaded in the following
+ #
++found = False
+ if 'mixer' in dev and dev['mixer'] != None:
+ mixerapp = dev['mixer']
+-global mixerwidget
+-exec( """
+-try:
+-import ffado.mixer.%s
+-globals()["mixerwidget"] = ffado.mixer.%s.%s( w )
+-found = True
+-except ImportError:
+-log.debug("bypassdbus set, %s module not available: ignored")
+-found = False
+-""" % (mixerapp.lower(), mixerapp.lower(), mixerapp, mixerapp.lower()) )
+-else:
+-found = False
++try:
++mixer_module = importlib.import_module("ffado.mixer.%s" % 
mixerapp.lower())
++mixerwidget = getattr(mixer_module, mixerapp)(w)
++found = True
++except ImportError:
++log.debug("bypassdbus set, %s module not available: ignored" 
% mixerapp.lower())
+ 
+ if not found:
+ mixerwidget = Dummy( w )
+--- a/support/mixer-qt4/ffado/widgets/crossbarrouter.py2018-01-11 
12:34:10.200777889 +0900
 b/support/mixer-qt4/ffado/widgets/crossbarrouter.py2018-01-11 
12:45:13.278911705 +0900
+@@ -194,7 +194,7 @@
+ #log.debug("Got %i peaks" % len(peakvalues))
+ for peak in peakvalues:
+ #log.debug("peak = [%s,%s]" % (str(peak[0]),str(peak[1])))
+-if peak[0] >= 0:
++if peak[1] >= 0:
+ self.switchers[peak[0]].peakValue(peak[1])
+ 
+ def updateMixerRouting(self):
+--- a/support/mixer-qt4/ffado/widgets/matrixmixer.py   2018-01-11 
12:54:27.545361864 +0900
 b/support/mixer-qt4/ffado/widgets/matrixmixer.py   2018-01-11 
12:56:36.899124318 +0900
+@@ -512,7 +512,7 @@
+ self.rowHeaders[j].lbl.setText(row_name)
+ 
+ def updateValues(self, n):
+-nbitems = len(n)/3
++nbitems = len(n) // 3
+ for i in range(nbitems):
+ n_0 = n[3*i]
+ n_1 = n[3*i+1]   
+@@ -951,7 +951,7 @@
+ return self.interface.setValue(In, Out, val)
+ 
+ def updateValues(self, n):
+-nbitems = len(n)/3
++nbitems = len(n) // 3
+ for j in range(nbitems):
+ n_0 = n[3*j]
+ n_1 = n[3*j+1]   
+@@ -1406,7 +1406,7 @@
+ def matrixControlChanged(self, n):
+ # Update value needed for "per Out" view
+ #log.debug("Update per Output( %s )" % str(n))
+-nbitems = len(n)/3
++nbitems = len(n) // 3
+ if (self.rule == 

[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2018-01-09 Thread Sergei Trofimovich
commit: a0b3380e982d3bc19b8fa4275f45c0261d6ee04a
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Tue Jan  9 17:01:48 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Jan  9 22:25:50 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0b3380e

media-libs/libffado: keyworded 2.3.0 for sparc, bug #622718

Package-Manager: Portage-2.3.13, Repoman-2.3.3
RepoMan-Options: --include-arches="sparc"

 media-libs/libffado/libffado-2.3.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/libffado/libffado-2.3.0.ebuild 
b/media-libs/libffado/libffado-2.3.0.ebuild
index fe1b7450d54..b5d17e93263 100644
--- a/media-libs/libffado/libffado-2.3.0.ebuild
+++ b/media-libs/libffado/libffado-2.3.0.ebuild
@@ -13,10 +13,10 @@ HOMEPAGE="http://www.ffado.org;
 if [ "${PV}" = "" ]; then
inherit subversion
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
-   KEYWORDS="~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
+   KEYWORDS="~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 else
SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 fi
 
 LICENSE="GPL-2 GPL-3"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2018-01-08 Thread Thomas Deutschmann
commit: f7f549b3cdf3fb9f56d7d51518216cd516ffea63
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon Jan  8 23:47:07 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon Jan  8 23:57:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7f549b3

media-libs/libffado: x86 keyworded (bug #622718)

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-libs/libffado/libffado-2.3.0.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-libs/libffado/libffado-2.3.0.ebuild 
b/media-libs/libffado/libffado-2.3.0.ebuild
index c5e50c2d21d..fe1b7450d54 100644
--- a/media-libs/libffado/libffado-2.3.0.ebuild
+++ b/media-libs/libffado/libffado-2.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -13,10 +13,10 @@ HOMEPAGE="http://www.ffado.org;
 if [ "${PV}" = "" ]; then
inherit subversion
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
-   KEYWORDS="~arm ~arm64 ~ia64 ~ppc ~ppc64"
+   KEYWORDS="~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
 else
SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
 fi
 
 LICENSE="GPL-2 GPL-3"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/files/, media-libs/libffado/

2017-12-09 Thread Michael Palimaka
commit: 6dd1c348da56ab8a1601477b9b844488833327aa
Author: Hector Martin  marcan  st>
AuthorDate: Fri Dec  8 21:25:10 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Dec  9 09:46:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dd1c348

media-libs/libffado-2.3.0: Fix build with new glibc

Closes: https://bugs.gentoo.org/640286
Closes: https://github.com/gentoo/gentoo/pull/6486
Package-Manager: Portage-2.3.13, Repoman-2.3.4

 media-libs/libffado/Manifest   |  2 +-
 .../files/libffado-2.3.0-include-signal.patch  | 29 ++
 media-libs/libffado/libffado-2.3.0.ebuild  |  1 +
 3 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/media-libs/libffado/Manifest b/media-libs/libffado/Manifest
index dd5225ee1b8..db5966e713e 100644
--- a/media-libs/libffado/Manifest
+++ b/media-libs/libffado/Manifest
@@ -1 +1 @@
-DIST libffado-2.3.0.tgz 1239253 SHA256 
18e3c7e610b7cee58b837c921ebb985e324cb2171f8d130f79de02a3fc435f88 SHA512 
24a8853281a17b04623e41dc590f7a9b8f4aebe4dfaece2e3b8fe28457a6ff011586e817712b4913d1fca660b701dddc70576c12d8c56470cf991eb17b4297c4
 WHIRLPOOL 
8eb1c3f6372b25b173d230500cfad7ef7207d730ec8e048bdb84cd7436e196e5429d85afcea0f626a411c1f792f20f1ab59f0c0b0f5a97b114f646c4a7423053
+DIST libffado-2.3.0.tgz 1239253 BLAKE2B 
cb470a590df8018975f40f56cde50468a2b51c9504b719b70ce5941406829f25452a96b8ac897aba1ed6c8d4cafa712e7872430e7bb2ebec0822f7b4720084c5
 SHA512 
24a8853281a17b04623e41dc590f7a9b8f4aebe4dfaece2e3b8fe28457a6ff011586e817712b4913d1fca660b701dddc70576c12d8c56470cf991eb17b4297c4

diff --git a/media-libs/libffado/files/libffado-2.3.0-include-signal.patch 
b/media-libs/libffado/files/libffado-2.3.0-include-signal.patch
new file mode 100644
index 000..4eabf12eef0
--- /dev/null
+++ b/media-libs/libffado/files/libffado-2.3.0-include-signal.patch
@@ -0,0 +1,29 @@
+
+r2706 | jwoithe | 2017-08-08 08:39:56 +0900 (Tue, 08 Aug 2017) | 11 lines
+
+PosixMessageQueue: ensure visibility of SIGEV_THREAD declaration.
+
+Orcan Ogetbil reported on the ffado-devel list that during the recent Fedora
+rebuild effort FFADO 2.3.0 failed to compile because SIGEV_THREAD was
+undeclared.  Jano Svitok made the plausible suggestion that signal.h needs
+to be included explicitly under newer glibc versions.  This trivial patch 
+implements this.  As of this commit it has not been verified that the
+problem is fixed with this addition.  However, there's no harm done by the
+change in general and conceptionally the change is consistent with the
+source file's content given the use of signal-related functionality.
+
+
+Index: src/libutil/PosixMessageQueue.cpp
+===
+--- a/src/libutil/PosixMessageQueue.cpp(revision 2705)
 b/src/libutil/PosixMessageQueue.cpp(revision 2706)
+@@ -30,6 +30,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ #define MQ_INVALID_ID ((mqd_t) -1)
+ // one second
+
+

diff --git a/media-libs/libffado/libffado-2.3.0.ebuild 
b/media-libs/libffado/libffado-2.3.0.ebuild
index 5aa6ee2a3f3..c5e50c2d21d 100644
--- a/media-libs/libffado/libffado-2.3.0.ebuild
+++ b/media-libs/libffado/libffado-2.3.0.ebuild
@@ -46,6 +46,7 @@ DEPEND="${RDEPEND}
 PATCHES=(
"${FILESDIR}/libffado-2.3.0-modelname-strip.patch"
"${FILESDIR}/libffado-2.3.0-gcc6.patch"
+   "${FILESDIR}/libffado-2.3.0-include-signal.patch"
 )
 
 myescons() {



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2017-09-07 Thread Markus Meier
commit: 4471cf576d2931f9b7380ed00bd170cf6e48dd79
Author: Markus Meier  gentoo  org>
AuthorDate: Thu Sep  7 19:26:56 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Thu Sep  7 19:26:56 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4471cf57

media-libs/libffado: add ~arm64, bug #622718

Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="arm64"

 media-libs/libffado/libffado-2.3.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/libffado/libffado-2.3.0.ebuild 
b/media-libs/libffado/libffado-2.3.0.ebuild
index 0479887fdc1..5aa6ee2a3f3 100644
--- a/media-libs/libffado/libffado-2.3.0.ebuild
+++ b/media-libs/libffado/libffado-2.3.0.ebuild
@@ -13,10 +13,10 @@ HOMEPAGE="http://www.ffado.org;
 if [ "${PV}" = "" ]; then
inherit subversion
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
-   KEYWORDS="~arm ~ia64 ~ppc ~ppc64"
+   KEYWORDS="~arm ~arm64 ~ia64 ~ppc ~ppc64"
 else
SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64"
 fi
 
 LICENSE="GPL-2 GPL-3"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2017-08-09 Thread Sergei Trofimovich
commit: c5b62320a01ea660bdfdaeb8c004ba63b8d8be27
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Wed Aug  9 21:17:28 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Aug  9 21:17:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5b62320

media-libs/libffado: keyworded 2.3.0 for ppc64, bug #622718

Package-Manager: Portage-2.3.6, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc64"

 media-libs/libffado/libffado-2.3.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/libffado/libffado-2.3.0.ebuild 
b/media-libs/libffado/libffado-2.3.0.ebuild
index bbe9be7a09b..0479887fdc1 100644
--- a/media-libs/libffado/libffado-2.3.0.ebuild
+++ b/media-libs/libffado/libffado-2.3.0.ebuild
@@ -13,10 +13,10 @@ HOMEPAGE="http://www.ffado.org;
 if [ "${PV}" = "" ]; then
inherit subversion
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
-   KEYWORDS="~arm ~ia64 ~ppc"
+   KEYWORDS="~arm ~ia64 ~ppc ~ppc64"
 else
SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="~amd64 ~arm ~ia64 ~ppc"
+   KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64"
 fi
 
 LICENSE="GPL-2 GPL-3"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2017-08-09 Thread Sergei Trofimovich
commit: fafa5b99c0d92fc13237739cadc107d95d684356
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Wed Aug  9 20:59:32 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Aug  9 21:00:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fafa5b99

media-libs/libffado: keyworded 2.3.0 for ppc, bug #622718

Package-Manager: Portage-2.3.6, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc"

 media-libs/libffado/libffado-2.3.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/libffado/libffado-2.3.0.ebuild 
b/media-libs/libffado/libffado-2.3.0.ebuild
index 27f250a964b..bbe9be7a09b 100644
--- a/media-libs/libffado/libffado-2.3.0.ebuild
+++ b/media-libs/libffado/libffado-2.3.0.ebuild
@@ -13,10 +13,10 @@ HOMEPAGE="http://www.ffado.org;
 if [ "${PV}" = "" ]; then
inherit subversion
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
-   KEYWORDS="~arm ~ia64"
+   KEYWORDS="~arm ~ia64 ~ppc"
 else
SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="~amd64 ~arm ~ia64"
+   KEYWORDS="~amd64 ~arm ~ia64 ~ppc"
 fi
 
 LICENSE="GPL-2 GPL-3"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2017-07-11 Thread Sergei Trofimovich
commit: 0391c108591678fb43729e064b3b3c15aaa37d2e
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Jul 11 07:50:45 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Jul 11 07:50:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0391c108

media-libs/libffado: ia64 keyworded, bug #622718

Package-Manager: Portage-2.3.6, Repoman-2.3.2
RepoMan-Options: --include-arches="ia64"

 media-libs/libffado/libffado-2.3.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/libffado/libffado-2.3.0.ebuild 
b/media-libs/libffado/libffado-2.3.0.ebuild
index e5430dc478b..27f250a964b 100644
--- a/media-libs/libffado/libffado-2.3.0.ebuild
+++ b/media-libs/libffado/libffado-2.3.0.ebuild
@@ -13,10 +13,10 @@ HOMEPAGE="http://www.ffado.org;
 if [ "${PV}" = "" ]; then
inherit subversion
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
-   KEYWORDS="~arm"
+   KEYWORDS="~arm ~ia64"
 else
SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="~amd64 ~arm"
+   KEYWORDS="~amd64 ~arm ~ia64"
 fi
 
 LICENSE="GPL-2 GPL-3"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/

2017-07-09 Thread Markus Meier
commit: 2603eb1632553b60fbb53e4e97096f8f1eb3e8b2
Author: Markus Meier  gentoo  org>
AuthorDate: Sun Jul  9 08:03:25 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Sun Jul  9 08:03:25 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2603eb16

media-libs/libffado: add ~arm, bug #622718

Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

 media-libs/libffado/libffado-2.3.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/libffado/libffado-2.3.0.ebuild 
b/media-libs/libffado/libffado-2.3.0.ebuild
index 4a017d149f2..e5430dc478b 100644
--- a/media-libs/libffado/libffado-2.3.0.ebuild
+++ b/media-libs/libffado/libffado-2.3.0.ebuild
@@ -13,10 +13,10 @@ HOMEPAGE="http://www.ffado.org;
 if [ "${PV}" = "" ]; then
inherit subversion
ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN};
-   KEYWORDS=""
+   KEYWORDS="~arm"
 else
SRC_URI="http://www.ffado.org/files/${P}.tgz;
-   KEYWORDS="~amd64"
+   KEYWORDS="~amd64 ~arm"
 fi
 
 LICENSE="GPL-2 GPL-3"



[gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/, media-libs/libffado/files/

2017-06-25 Thread Alexis Ballier
commit: 0e4e3a0c73b44a7a2506cdc2aaa698d57c39b99e
Author: Hector Martin  marcan  st>
AuthorDate: Fri Jun 23 12:33:04 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Sun Jun 25 19:40:31 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e4e3a0c

media-libs/libffado: New package.

FFADO is a userspace driver for IEEE1394 (FireWire) audio interfaces.

>From audio-overlay: https://github.com/gentoo-audio/audio-overlay
(Previously from the proaudio overlay)

Gentoo-Bug: https://bugs.gentoo.org/622520
Package-Manager: Portage-2.3.6, Repoman-2.3.2

 media-libs/libffado/Manifest   |   1 +
 .../libffado/files/libffado-2.3.0-gcc6.patch   |  26 +
 .../files/libffado-2.3.0-modelname-strip.patch |  45 +
 media-libs/libffado/libffado-2.3.0.ebuild  | 106 +
 media-libs/libffado/metadata.xml   |  20 
 5 files changed, 198 insertions(+)

diff --git a/media-libs/libffado/Manifest b/media-libs/libffado/Manifest
new file mode 100644
index 000..dd5225ee1b8
--- /dev/null
+++ b/media-libs/libffado/Manifest
@@ -0,0 +1 @@
+DIST libffado-2.3.0.tgz 1239253 SHA256 
18e3c7e610b7cee58b837c921ebb985e324cb2171f8d130f79de02a3fc435f88 SHA512 
24a8853281a17b04623e41dc590f7a9b8f4aebe4dfaece2e3b8fe28457a6ff011586e817712b4913d1fca660b701dddc70576c12d8c56470cf991eb17b4297c4
 WHIRLPOOL 
8eb1c3f6372b25b173d230500cfad7ef7207d730ec8e048bdb84cd7436e196e5429d85afcea0f626a411c1f792f20f1ab59f0c0b0f5a97b114f646c4a7423053

diff --git a/media-libs/libffado/files/libffado-2.3.0-gcc6.patch 
b/media-libs/libffado/files/libffado-2.3.0-gcc6.patch
new file mode 100644
index 000..2a73ee1cf8c
--- /dev/null
+++ b/media-libs/libffado/files/libffado-2.3.0-gcc6.patch
@@ -0,0 +1,26 @@
+
+r2629 | jwoithe | 2016-10-09 13:00:28 +0900 (Sun, 09 Oct 2016) | 1 line
+
+TimestampedBuffer.cpp: move the include of math.h to the top of the file which 
is where most people would expect it to be.  The patch comes from a Fedora RPM 
source package via Simon Lewis, who suggested that without it gcc6 had trouble 
with the file (the nature of the problem is not known by the FFADO project at 
this time).  Earlier versions of gcc (for example, 4.8.2) had no trouble 
compiling this file without any math.h include, so the issue that some have 
seen with gcc6 must be due to math.h being removed from some other system-level 
include file at some point.
+
+Index: src/libutil/TimestampedBuffer.cpp
+===
+--- a/src/libutil/TimestampedBuffer.cpp(revision 2628)
 b/src/libutil/TimestampedBuffer.cpp(revision 2629)
+@@ -32,6 +32,7 @@
+ 
+ #include 
+ #include 
++#include 
+ 
+ #define DLL_PI(3.141592653589793238)
+ #define DLL_SQRT2 (1.414213562373095049)
+@@ -179,8 +180,6 @@
+ m_wrap_at=w;
+ return true;
+ }
+-#include 
+-
+ /**
+  * \brief return the effective rate
+  *

diff --git a/media-libs/libffado/files/libffado-2.3.0-modelname-strip.patch 
b/media-libs/libffado/files/libffado-2.3.0-modelname-strip.patch
new file mode 100644
index 000..8f28b6ac0f7
--- /dev/null
+++ b/media-libs/libffado/files/libffado-2.3.0-modelname-strip.patch
@@ -0,0 +1,45 @@
+
+r2677 | jwoithe | 2017-03-22 07:43:24 +0900 (Wed, 22 Mar 2017) | 1 line
+
+configrom: there is no obvious reason why a space should be added to the end 
of the vendor and model strings returned from the interface.  Retain the 
explicit null termination of these strings to cover for the case where an 
interface may not return any null bytes.  Also fix indentation associated with 
the null termination code.  The issue with the trailing space was noticed and 
reported by Nils Philippsen: its presence broke a test in the saffire_dice 
mixer python code.
+
+Index: src/libieee1394/configrom.cpp
+===
+--- a/src/libieee1394/configrom.cpp(revision 2676)
 b/src/libieee1394/configrom.cpp(revision 2677)
+@@ -176,13 +176,11 @@
+ ( void* )CSR1212_TEXTUAL_DESCRIPTOR_LEAF_DATA( m_vendorNameKv 
),
+ len );
+ 
+-while ((buf + len - 1) == '\0') {
+-len--;
++while (*(buf + len - 1) == '\0') {
++len--;
+ }
+-// \todo XXX seems a bit strage to do this but the nodemgr.c code does
+-// it. try to figure out why this is needed (or not)
+-buf[len++] = ' ';
+-buf[len] = '\0';
++// Ensure vendor string is null terminated
++buf[len] = '\0';
+ 
+ 
+ debugOutput( DEBUG_LEVEL_VERBOSE, "Vendor name: '%s'\n", buf );
+@@ -195,13 +193,11 @@