Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/alsa-tools/
Date: Tue, 02 Jun 2020 12:13:20
Message-Id: 1591099985.8068996689f6b1f16caf62d5f52aaa4cf8e165ef.asturm@gentoo
1 commit: 8068996689f6b1f16caf62d5f52aaa4cf8e165ef
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 31 00:11:42 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 2 12:13:05 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80689966
7
8 media-sound/alsa-tools: Drop 1.1.7
9
10 Package-Manager: Portage-2.3.100, Repoman-2.3.22
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-sound/alsa-tools/Manifest | 1 -
14 media-sound/alsa-tools/alsa-tools-1.1.7.ebuild | 160 -------------------------
15 2 files changed, 161 deletions(-)
16
17 diff --git a/media-sound/alsa-tools/Manifest b/media-sound/alsa-tools/Manifest
18 index 0840ed61ce3..6d2751688e2 100644
19 --- a/media-sound/alsa-tools/Manifest
20 +++ b/media-sound/alsa-tools/Manifest
21 @@ -1,2 +1 @@
22 -DIST alsa-tools-1.1.7.tar.bz2 1782642 BLAKE2B 1b2235c3471595c17836b376e5c87194b798f39d2ab52398c634b430c55a4d10482af2aef9568c6694ac4f5a58c4b2f4601cc6a7a80b4e1a3e87dd8d86d8e67a SHA512 d715fa5b909fb33ffce252b4ae9f027dc7c1a509253d52bda6ecbc5e0a38e7d30ab8486b14114b226424217812a0edf66e7ec11f7674e44c77a14e4dfb16889c
23 DIST alsa-tools-1.2.2.tar.bz2 1876266 BLAKE2B 2bfe4464869927f73b1059de9d972231b90af3be930e0e63048fcc40dadace0c842396e339874595f917b632fe407e16977a8b774240ffaf758004d42f46a27c SHA512 935d46ee3cc843566ccea183bcf7ea36439a4a6aa22964ebf6fd2722b78ec634d3be4e6a30b04c608abe6c5a132dd633f8343fff19f9d90a756d6699fc849a16
24
25 diff --git a/media-sound/alsa-tools/alsa-tools-1.1.7.ebuild b/media-sound/alsa-tools/alsa-tools-1.1.7.ebuild
26 deleted file mode 100644
27 index 71a66dbc3ad..00000000000
28 --- a/media-sound/alsa-tools/alsa-tools-1.1.7.ebuild
29 +++ /dev/null
30 @@ -1,160 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -inherit autotools flag-o-matic gnome2-utils xdg-utils
36 -
37 -DESCRIPTION="Advanced Linux Sound Architecture tools"
38 -HOMEPAGE="https://alsa-project.org/"
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 ~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 -COMMON_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-python/pygtk-2
55 - x11-libs/gtk+:2
56 - x11-libs/gtk+:3
57 - )" #468294
58 -RDEPEND="${COMMON_DEPEND}
59 - gtk? ( media-fonts/font-misc-misc )" #456114
60 -DEPEND="${COMMON_DEPEND}
61 - virtual/pkgconfig"
62 -
63 -PATCHES=(
64 - "${FILESDIR}"/envy24control-config-dir.patch
65 -)
66 -
67 -pkg_setup() {
68 - ALSA_TOOLS=(
69 - seq/sbiload
70 - us428control
71 - hwmixvolume
72 - hda-verb
73 - $(usex alsa_cards_mixart mixartloader '')
74 - $(usex alsa_cards_vx222 vxloader '')
75 - $(usex alsa_cards_usb-usx2y usx2yloader '')
76 - $(usex alsa_cards_pcxhr pcxhrloader '')
77 - $(usex alsa_cards_sscape sscape_ctl '')
78 - )
79 -
80 - if use gtk; then
81 - ALSA_TOOLS+=(
82 - echomixer
83 - hdajackretask
84 - $(usex alsa_cards_ice1712 envy24control '')
85 - )
86 - # Perhaps a typo the following && logic?
87 - if use alsa_cards_rme32 && use alsa_cards_rme96 ; then
88 - ALSA_TOOLS+=( rmedigicontrol )
89 - fi
90 - fi
91 -
92 - if use alsa_cards_hdsp || use alsa_cards_hdspm ; then
93 - ALSA_TOOLS+=(
94 - hdsploader
95 - $(usex fltk 'hdspconf hdspmixer' '')
96 - )
97 - fi
98 -
99 - if use alsa_cards_sb16 || use alsa_cards_sbawe ; then
100 - ALSA_TOOLS+=( sb16_csp )
101 - fi
102 -
103 - if use alsa_cards_emu10k1 || use alsa_cards_emu10k1x; then
104 - ALSA_TOOLS+=( as10k1 ld10k1 )
105 - fi
106 -}
107 -
108 -src_prepare() {
109 - default
110 -
111 - # This block only deals with the tools that still use GTK and the
112 - # AM_PATH_GTK macro.
113 - for dir in echomixer envy24control rmedigicontrol; do
114 - has "${dir}" "${ALSA_TOOLS[*]}" || continue
115 - pushd "${dir}" &> /dev/null
116 - eautoreconf
117 - popd &> /dev/null
118 - done
119 -
120 - # This block deals with the tools that are being patched
121 - for dir in hdspconf; do
122 - has "${dir}" "${ALSA_TOOLS[*]}" || continue
123 - pushd "${dir}" &> /dev/null
124 - eautoreconf
125 - popd &> /dev/null
126 - done
127 -
128 - elibtoolize
129 -}
130 -
131 -src_configure() {
132 - if use fltk; then
133 - # hdspmixer requires fltk
134 - append-ldflags "-L$(dirname $(fltk-config --libs))"
135 - append-flags "-I$(fltk-config --includedir)"
136 - fi
137 -
138 - local f
139 - for f in ${ALSA_TOOLS[@]} ; do
140 - cd "${S}/${f}" || die
141 - case "${f}" in
142 - echomixer,envy24control,rmedigicontrol )
143 - econf --with-gtk2
144 - ;;
145 - * )
146 - econf
147 - ;;
148 - esac
149 - done
150 -}
151 -
152 -src_compile() {
153 - local f
154 - for f in ${ALSA_TOOLS[@]} ; do
155 - cd "${S}/${f}" || die
156 - emake
157 - done
158 -}
159 -
160 -src_install() {
161 - local f
162 - for f in ${ALSA_TOOLS[@]} ; do
163 - # Install the main stuff
164 - cd "${S}/${f}" || die
165 - # hotplugdir is for usx2yloader/Makefile.am
166 - emake DESTDIR="${D}" hotplugdir=/lib/firmware install
167 -
168 - # Install the text documentation
169 - local doc
170 - for doc in README TODO ChangeLog AUTHORS; do
171 - if [[ -f "${doc}" ]]; then
172 - mv "${doc}" "${doc}.$(basename ${f})" || die
173 - dodoc "${doc}.$(basename ${f})"
174 - fi
175 - done
176 - done
177 -
178 - # Punt at least /usr/lib/liblo10k1.la (last checked, 1.0.27)
179 - find "${ED}" -name '*.la' -delete || die
180 -}
181 -
182 -pkg_postinst() {
183 - gnome2_icon_cache_update
184 - xdg_desktop_database_update
185 -}
186 -
187 -pkg_postrm() {
188 - gnome2_icon_cache_update
189 - xdg_desktop_database_update
190 -}