Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libffado/
Date: Thu, 31 Mar 2022 18:47:44
Message-Id: 1648752456.d541eba1346d96f71a2d49af3760fad3cbd8dba8.fordfrog@gentoo
1 commit: d541eba1346d96f71a2d49af3760fad3cbd8dba8
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 31 18:47:25 2022 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 31 18:47:36 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d541eba1
7
8 media-libs/libffado: removed obsolete 2.4.4-r1
9
10 Bug: https://bugs.gentoo.org/show_bug.cgi?id=836396
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 media-libs/libffado/Manifest | 1 -
14 media-libs/libffado/libffado-2.4.4-r1.ebuild | 113 ---------------------------
15 2 files changed, 114 deletions(-)
16
17 diff --git a/media-libs/libffado/Manifest b/media-libs/libffado/Manifest
18 index 77b038f60cd8..e3396842f603 100644
19 --- a/media-libs/libffado/Manifest
20 +++ b/media-libs/libffado/Manifest
21 @@ -1,2 +1 @@
22 -DIST libffado-2.4.4.tgz 1228417 BLAKE2B 70d3b17f7d7317acc63351faaefb27fa850664015134887f0508b4a76aabbf6e9573f87eb2dd9792ac5f4f4b06ac7c872afa33af6af0341e6cceeb43e7a79526 SHA512 065b7f9ce9bf58320c02353b63ed17b3610d0ee8a2de58de27159b2190e39c779094b01ae1123c087387e6077375e646b564b9e7717b192865b2f1f22a3acc80
23 DIST libffado-2.4.5.tgz 1229890 BLAKE2B 18c260b782c9a97e3f2c8689a218f7a4925158c3e3cb14987182bf04043438d1325a9ababfe29860f6769a5eeabb49a843a8d15072b24b914334c447b5c7238d SHA512 a2c1d0515e14015b7803c4d52d67605afec27ae2569888dec085375ed4a488f4885b5033369e52305e668a35289d3bd749a9babb5778df339fa93553c23af30f
24
25 diff --git a/media-libs/libffado/libffado-2.4.4-r1.ebuild b/media-libs/libffado/libffado-2.4.4-r1.ebuild
26 deleted file mode 100644
27 index b9daf2d2a40b..000000000000
28 --- a/media-libs/libffado/libffado-2.4.4-r1.ebuild
29 +++ /dev/null
30 @@ -1,113 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -PYTHON_COMPAT=( python3_{8..9} )
37 -
38 -inherit desktop python-single-r1 scons-utils toolchain-funcs udev multilib-minimal
39 -
40 -DESCRIPTION="Driver for IEEE1394 (Firewire) audio interfaces"
41 -HOMEPAGE="http://www.ffado.org"
42 -
43 -if [[ "${PV}" = "9999" ]]; then
44 - inherit subversion
45 - ESVN_REPO_URI="http://subversion.ffado.org/ffado/trunk/${PN}"
46 -else
47 - SRC_URI="http://www.ffado.org/files/${P}.tgz"
48 - KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86"
49 -fi
50 -
51 -LICENSE="GPL-2 GPL-3"
52 -SLOT="0"
53 -IUSE="debug qt5 test-programs"
54 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
55 -
56 -BDEPEND="
57 - virtual/pkgconfig
58 -"
59 -CDEPEND="${PYTHON_DEPS}
60 - dev-cpp/libxmlpp:2.6[${MULTILIB_USEDEP}]
61 - dev-libs/dbus-c++
62 - dev-libs/libconfig:=[cxx,${MULTILIB_USEDEP}]
63 - media-libs/alsa-lib
64 - media-libs/libiec61883[${MULTILIB_USEDEP}]
65 - sys-apps/dbus
66 - sys-libs/libavc1394[${MULTILIB_USEDEP}]
67 - sys-libs/libraw1394[${MULTILIB_USEDEP}]
68 - qt5? (
69 - $(python_gen_cond_dep '
70 - dev-python/dbus-python[${PYTHON_USEDEP}]
71 - dev-python/PyQt5[dbus,${PYTHON_USEDEP}]
72 - ')
73 - x11-misc/xdg-utils
74 - )"
75 -DEPEND="${CDEPEND}"
76 -RDEPEND="${CDEPEND}"
77 -
78 -myescons() {
79 - local myesconsargs=(
80 - PREFIX="${EPREFIX}/usr"
81 - LIBDIR="${EPREFIX}/usr/$(get_libdir)"
82 - MANDIR="${EPREFIX}/usr/share/man"
83 - UDEVDIR="$(get_udevdir)/rules.d"
84 - CUSTOM_ENV=true
85 - DETECT_USERSPACE_ENV=false
86 - DEBUG=$(usex debug)
87 - PYPKGDIR="$(python_get_sitedir)"
88 - # ENABLE_OPTIMIZATIONS detects cpu type and sets flags accordingly
89 - # -fomit-frame-pointer is added also which can cripple debugging.
90 - # we set flags from portage instead
91 - ENABLE_OPTIMIZATIONS=false
92 - # This only works for JACK1>=0.122.0 or JACK2>=1.9.9.
93 - ENABLE_SETBUFFERSIZE_API_VER=force
94 - )
95 - if multilib_is_native_abi; then
96 - myesconsargs+=(
97 - BUILD_MIXER=$(usex qt5 true false)
98 - BUILD_TESTS=$(usex test-programs)
99 - )
100 - else
101 - myesconsargs+=(
102 - BUILD_MIXER=false
103 - BUILD_TESTS=false
104 - )
105 - fi
106 - escons "${myesconsargs[@]}" "${@}"
107 -}
108 -
109 -src_prepare() {
110 - default
111 -
112 - # Bug #808853
113 - cp "${BROOT}"/usr/share/gnuconfig/config.guess admin/ || die "Failed to update config.guess"
114 -
115 - # Always use Qt5
116 - sed -i -e 's/try:/if False:/' -e 's/except.*/else:/' support/mixer-qt4/ffado/import_pyqt.py || die
117 -
118 - # Bugs #658052, #659226
119 - sed -i -e 's/^CacheDir/#CacheDir/' SConstruct || die
120 -
121 - multilib_copy_sources
122 -}
123 -
124 -multilib_src_compile() {
125 - tc-export CC CXX
126 - myescons
127 -}
128 -
129 -multilib_src_install() {
130 - myescons DESTDIR="${D}" WILL_DEAL_WITH_XDG_MYSELF="True" install
131 -}
132 -
133 -multilib_src_install_all() {
134 - einstalldocs
135 -
136 - python_fix_shebang "${D}"
137 - python_optimize "${D}"
138 -
139 - if use qt5; then
140 - newicon "support/xdg/hi64-apps-ffado.png" "ffado.png"
141 - newmenu "support/xdg/ffado.org-ffadomixer.desktop" "ffado-mixer.desktop"
142 - fi
143 -}