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