1 |
commit: b0922c4c05ffe2452874e0ff2734c29e57cddafc |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 1 07:16:41 2022 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 1 07:21:01 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0922c4c |
7 |
|
8 |
media-sound/alsa-tools: Removed old |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
media-sound/alsa-tools/Manifest | 1 - |
13 |
media-sound/alsa-tools/alsa-tools-1.2.2-r1.ebuild | 152 ---------------------- |
14 |
2 files changed, 153 deletions(-) |
15 |
|
16 |
diff --git a/media-sound/alsa-tools/Manifest b/media-sound/alsa-tools/Manifest |
17 |
index 96ea1a83771c..bea713b13d3b 100644 |
18 |
--- a/media-sound/alsa-tools/Manifest |
19 |
+++ b/media-sound/alsa-tools/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST alsa-tools-1.2.2.tar.bz2 1876266 BLAKE2B 2bfe4464869927f73b1059de9d972231b90af3be930e0e63048fcc40dadace0c842396e339874595f917b632fe407e16977a8b774240ffaf758004d42f46a27c SHA512 935d46ee3cc843566ccea183bcf7ea36439a4a6aa22964ebf6fd2722b78ec634d3be4e6a30b04c608abe6c5a132dd633f8343fff19f9d90a756d6699fc849a16 |
22 |
DIST alsa-tools-1.2.5.tar.bz2 1880907 BLAKE2B 1ecd7d24771e3f5899a7084a69196c9301b549dd331cbbbc55b6f0c694566147a9d5642cf94f0ad5ca5fcedb77daa1cb4615ce0ec0be157b32c9d756611a7cca SHA512 1c4ff947d9f2424056a6748e04a1250fb73443a3f470f61d0b563c91be082bc42d56e550d6cc27eaed3edcea2066a107e20455c959b053b5deafa2d811b7e498 |
23 |
|
24 |
diff --git a/media-sound/alsa-tools/alsa-tools-1.2.2-r1.ebuild b/media-sound/alsa-tools/alsa-tools-1.2.2-r1.ebuild |
25 |
deleted file mode 100644 |
26 |
index 90f3ebe67707..000000000000 |
27 |
--- a/media-sound/alsa-tools/alsa-tools-1.2.2-r1.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,152 +0,0 @@ |
30 |
-# Copyright 1999-2020 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-inherit autotools flag-o-matic xdg |
36 |
- |
37 |
-DESCRIPTION="Advanced Linux Sound Architecture tools" |
38 |
-HOMEPAGE="https://alsa-project.org/wiki/Main_Page" |
39 |
-SRC_URI="https://www.alsa-project.org/files/pub/tools/${P}.tar.bz2" |
40 |
- |
41 |
-LICENSE="GPL-2" |
42 |
-SLOT="0.9" |
43 |
-KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86" |
44 |
- |
45 |
-IUSE="fltk gtk alsa_cards_hdsp alsa_cards_hdspm alsa_cards_mixart |
46 |
-alsa_cards_vx222 alsa_cards_usb-usx2y alsa_cards_sb16 alsa_cards_sbawe |
47 |
-alsa_cards_emu10k1 alsa_cards_emu10k1x alsa_cards_ice1712 |
48 |
-alsa_cards_rme32 alsa_cards_rme96 alsa_cards_sscape alsa_cards_pcxhr" |
49 |
- |
50 |
-DEPEND=">=media-libs/alsa-lib-${PV} |
51 |
- >=dev-python/pyalsa-1.0.26 |
52 |
- fltk? ( >=x11-libs/fltk-1.3.0:1 ) |
53 |
- gtk? ( |
54 |
- dev-libs/gobject-introspection |
55 |
- x11-libs/gtk+:2 |
56 |
- x11-libs/gtk+:3 |
57 |
- )" #468294 |
58 |
-RDEPEND="${DEPEND} |
59 |
- gtk? ( media-fonts/font-misc-misc )" #456114 |
60 |
-BDEPEND=" |
61 |
- virtual/pkgconfig |
62 |
-" |
63 |
- |
64 |
-PATCHES=( |
65 |
- "${FILESDIR}"/envy24control-config-dir.patch |
66 |
-) |
67 |
- |
68 |
-pkg_setup() { |
69 |
- ALSA_TOOLS=( |
70 |
- seq/sbiload |
71 |
- us428control |
72 |
- hwmixvolume |
73 |
- hda-verb |
74 |
- $(usex alsa_cards_mixart mixartloader '') |
75 |
- $(usex alsa_cards_vx222 vxloader '') |
76 |
- $(usex alsa_cards_usb-usx2y usx2yloader '') |
77 |
- $(usex alsa_cards_pcxhr pcxhrloader '') |
78 |
- $(usex alsa_cards_sscape sscape_ctl '') |
79 |
- ) |
80 |
- |
81 |
- if use gtk; then |
82 |
- ALSA_TOOLS+=( |
83 |
- echomixer |
84 |
- hdajackretask |
85 |
- $(usex alsa_cards_ice1712 envy24control '') |
86 |
- ) |
87 |
- # Perhaps a typo the following && logic? |
88 |
- if use alsa_cards_rme32 && use alsa_cards_rme96 ; then |
89 |
- ALSA_TOOLS+=( rmedigicontrol ) |
90 |
- fi |
91 |
- fi |
92 |
- |
93 |
- if use alsa_cards_hdsp || use alsa_cards_hdspm ; then |
94 |
- ALSA_TOOLS+=( |
95 |
- hdsploader |
96 |
- $(usex fltk 'hdspconf hdspmixer' '') |
97 |
- ) |
98 |
- fi |
99 |
- |
100 |
- if use alsa_cards_sb16 || use alsa_cards_sbawe ; then |
101 |
- ALSA_TOOLS+=( sb16_csp ) |
102 |
- fi |
103 |
- |
104 |
- if use alsa_cards_emu10k1 || use alsa_cards_emu10k1x; then |
105 |
- ALSA_TOOLS+=( as10k1 ld10k1 ) |
106 |
- fi |
107 |
-} |
108 |
- |
109 |
-src_prepare() { |
110 |
- default |
111 |
- |
112 |
- # This block only deals with the tools that still use GTK and the |
113 |
- # AM_PATH_GTK macro. |
114 |
- for dir in echomixer envy24control rmedigicontrol; do |
115 |
- has "${dir}" "${ALSA_TOOLS[*]}" || continue |
116 |
- pushd "${dir}" &> /dev/null |
117 |
- eautoreconf |
118 |
- popd &> /dev/null |
119 |
- done |
120 |
- |
121 |
- # This block deals with the tools that are being patched |
122 |
- for dir in hdspconf; do |
123 |
- has "${dir}" "${ALSA_TOOLS[*]}" || continue |
124 |
- pushd "${dir}" &> /dev/null |
125 |
- eautoreconf |
126 |
- popd &> /dev/null |
127 |
- done |
128 |
- |
129 |
- elibtoolize |
130 |
-} |
131 |
- |
132 |
-src_configure() { |
133 |
- if use fltk; then |
134 |
- # hdspmixer requires fltk |
135 |
- append-ldflags "-L$(dirname $(fltk-config --libs))" |
136 |
- append-flags "-I$(fltk-config --includedir)" |
137 |
- fi |
138 |
- |
139 |
- local f |
140 |
- for f in ${ALSA_TOOLS[@]} ; do |
141 |
- cd "${S}/${f}" || die |
142 |
- case "${f}" in |
143 |
- echomixer,envy24control,rmedigicontrol ) |
144 |
- econf --with-gtk2 |
145 |
- ;; |
146 |
- * ) |
147 |
- econf |
148 |
- ;; |
149 |
- esac |
150 |
- done |
151 |
-} |
152 |
- |
153 |
-src_compile() { |
154 |
- local f |
155 |
- for f in ${ALSA_TOOLS[@]} ; do |
156 |
- cd "${S}/${f}" || die |
157 |
- emake |
158 |
- done |
159 |
-} |
160 |
- |
161 |
-src_install() { |
162 |
- local f |
163 |
- for f in ${ALSA_TOOLS[@]} ; do |
164 |
- # Install the main stuff |
165 |
- cd "${S}/${f}" || die |
166 |
- # hotplugdir is for usx2yloader/Makefile.am |
167 |
- emake DESTDIR="${D}" hotplugdir=/lib/firmware install |
168 |
- |
169 |
- # Install the text documentation |
170 |
- local doc |
171 |
- for doc in README TODO ChangeLog AUTHORS; do |
172 |
- if [[ -f "${doc}" ]]; then |
173 |
- mv "${doc}" "${doc}.$(basename ${f})" || die |
174 |
- dodoc "${doc}.$(basename ${f})" |
175 |
- fi |
176 |
- done |
177 |
- done |
178 |
- |
179 |
- # Punt at least /usr/lib/liblo10k1.la (last checked, 1.0.27) |
180 |
- find "${ED}" -type f -name '*.la' -delete || die |
181 |
-} |