From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/
Date: Wed, 13 Jul 2022 03:17:51 +0000 (UTC) [thread overview]
Message-ID: <1657682265.0cb532e732fb7449afc9ed1d20ba946702811642.fordfrog@gentoo> (raw)
commit: 0cb532e732fb7449afc9ed1d20ba946702811642
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 13 03:17:45 2022 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Jul 13 03:17:45 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cb532e7
media-libs/libffado: bump to 2.4.6
Signed-off-by: Miroslav Šulc <fordfrog <AT> 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 000000000000..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}" = "9999" ]]; 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"
+ newmenu "support/xdg/ffado.org-ffadomixer.desktop" "ffado-mixer.desktop"
+ fi
+}
+
+pkg_postinst() {
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}
next reply other threads:[~2022-07-13 3:17 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-13 3:17 Miroslav Šulc [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-02-16 12:45 [gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/ Miroslav Šulc
2024-02-14 16:44 Sam James
2024-02-14 16:44 Sam James
2024-01-14 12:35 Miroslav Šulc
2023-05-01 15:00 Sam James
2023-02-03 6:56 Sam James
2023-01-02 9:02 Miroslav Šulc
2022-12-29 13:35 Sam James
2022-12-29 13:35 Sam James
2022-11-19 5:39 WANG Xuerui
2022-11-13 11:39 Sam James
2022-08-16 5:39 Miroslav Šulc
2022-08-15 7:46 Agostino Sarubbo
2022-08-13 6:58 Agostino Sarubbo
2022-06-26 8:17 Miroslav Šulc
2022-05-19 7:15 Matthew Smith
2022-03-31 18:47 Miroslav Šulc
2022-03-30 20:09 Jakov Smolić
2022-03-30 11:09 Jakov Smolić
2022-02-27 8:30 Miroslav Šulc
2021-09-19 12:17 Marek Szuba
2021-09-19 11:28 Marek Szuba
2021-08-18 10:05 Marek Szuba
2021-05-23 9:43 Miroslav Šulc
2021-01-02 0:49 Sam James
2020-09-24 6:46 Agostino Sarubbo
2020-09-20 22:40 Thomas Deutschmann
2020-08-21 8:24 Miroslav Šulc
2020-02-10 12:12 Michał Górny
2020-02-09 16:29 Michał Górny
2019-12-03 10:06 Agostino Sarubbo
2019-12-03 10:03 Agostino Sarubbo
2019-02-11 22:32 Sergei Trofimovich
2018-01-09 22:26 Sergei Trofimovich
2018-01-08 23:57 Thomas Deutschmann
2017-09-07 19:28 Markus Meier
2017-08-09 21:17 Sergei Trofimovich
2017-08-09 21:00 Sergei Trofimovich
2017-07-11 7:51 Sergei Trofimovich
2017-07-09 8:03 Markus Meier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1657682265.0cb532e732fb7449afc9ed1d20ba946702811642.fordfrog@gentoo \
--to=fordfrog@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox