Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/alsa-tools/
Date: Thu, 31 Mar 2016 20:36:24
Message-Id: 1459456479.a917e0ea072bb24155844bc5d9011a723bbf9c9d.polynomial-c@gentoo
1 commit: a917e0ea072bb24155844bc5d9011a723bbf9c9d
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 31 20:34:39 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 31 20:34:39 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a917e0ea
7
8 media-sound/alsa-tools: Removed old.
9
10 Package-Manager: portage-2.2.28
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 media-sound/alsa-tools/Manifest | 1 -
14 media-sound/alsa-tools/alsa-tools-1.0.27-r1.ebuild | 153 ---------------------
15 2 files changed, 154 deletions(-)
16
17 diff --git a/media-sound/alsa-tools/Manifest b/media-sound/alsa-tools/Manifest
18 index 7412348..e8738fa 100644
19 --- a/media-sound/alsa-tools/Manifest
20 +++ b/media-sound/alsa-tools/Manifest
21 @@ -1,4 +1,3 @@
22 -DIST alsa-tools-1.0.27.tar.bz2 1650746 SHA256 6562611b5a6560712f109e09740a9d4fa47296b07ed9590cb44139c5f154ada2 SHA512 aad985329e5649b5bd7c142e95c5d1c415f28bac1afb81ad21fedac76e736d18abe4aa129e798650d91b2dd14fb18f3960ed5218768c689319c2360c432b4589 WHIRLPOOL 0d827aee4219e393c61a55920e3d66eb4e208e9d3d93ac9c1bf208c5c0c8cdf2d58f63d70b534458f3542cd3cbd5478129d73aecc57ce6654bc43f0bc73c0f25
23 DIST alsa-tools-1.0.28.tar.bz2 1675680 SHA256 76e59711c6d0f39cbddce83ce1ed8da00bad112fee021f94fa990d8685cc3761 SHA512 b5150edb5f5124d5ec256b7c3348207da1bb9847ab2f10297171d6a43f559a31429ef96608a2c670db75d269dd940ebf2b6e3cbfafde530de25cbd95dce31af2 WHIRLPOOL 20f8acf8edf3fa82f19e4098c520c155a87966272d769f29a6208b25fc80a831a6cfdb3c748406ced643b5de7fa4cfb43f3a62d634fd90512369b1f57ea9cb92
24 DIST alsa-tools-1.0.29.tar.bz2 1715439 SHA256 94abf0ab5a73f0710c70d4fb3dc1003af5bae2d2ed721d59d245b41ad0f2fbd1 SHA512 c236e105106e65b9f02e5baed536fa33f8efcff21a75470127e2edacf0bbb3ec555131e146d9dbfc8da307355b372e7c2acaf8edaa98dc7880abd484fbdb2813 WHIRLPOOL 19d34f425ad45d540a0ccd2ae2c77bae810ee6039250f57296c280156c6e6ed8d3788f306975f6b06b8b3f377e714d644aed08c177bd9d83acf352ccb939a47d
25 DIST alsa-tools-1.1.0.tar.bz2 1715113 SHA256 7d34558c590a50294b36576d257316a1ac5cd951eb8cd7d330e09f8cc757ab51 SHA512 caabbc9a8b494de6bba0dea6440b335b35e5c7dab4942ac36f127a75c2212ff98e7e38566444666edcf40c6c95e6d9797c421014fb5c5c292bb398780e6c9f87 WHIRLPOOL daf731da17c172275b484da37962d85569d70066392bb65f6b462a5f9f17784d204deec203d2466cbc08cb691689b7fc8cd664b370b39e233f1e8afb43c9d0ff
26
27 diff --git a/media-sound/alsa-tools/alsa-tools-1.0.27-r1.ebuild b/media-sound/alsa-tools/alsa-tools-1.0.27-r1.ebuild
28 deleted file mode 100644
29 index 3cfac0d..0000000
30 --- a/media-sound/alsa-tools/alsa-tools-1.0.27-r1.ebuild
31 +++ /dev/null
32 @@ -1,153 +0,0 @@
33 -# Copyright 1999-2014 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -# $Id$
36 -
37 -EAPI=5
38 -inherit autotools eutils flag-o-matic
39 -
40 -DESCRIPTION="Advanced Linux Sound Architecture tools"
41 -HOMEPAGE="http://www.alsa-project.org/"
42 -SRC_URI="mirror://alsaproject/tools/${P}.tar.bz2"
43 -
44 -LICENSE="GPL-2"
45 -SLOT="0.9"
46 -KEYWORDS="amd64 ~mips ppc ~ppc64 sparc x86"
47 -
48 -ECHOAUDIO_CARDS="alsa_cards_darla20 alsa_cards_gina20
49 -alsa_cards_layla20 alsa_cards_darla24 alsa_cards_gina24
50 -alsa_cards_layla24 alsa_cards_mona alsa_cards_mia alsa_cards_indigo
51 -alsa_cards_indigoio alsa_cards_echo3g"
52 -
53 -IUSE="fltk gtk alsa_cards_hdsp alsa_cards_hdspm alsa_cards_mixart
54 -alsa_cards_vx222 alsa_cards_usb-usx2y alsa_cards_sb16 alsa_cards_sbawe
55 -alsa_cards_emu10k1 alsa_cards_emu10k1x alsa_cards_ice1712
56 -alsa_cards_rme32 alsa_cards_rme96 alsa_cards_sscape alsa_cards_pcxhr
57 -${ECHOAUDIO_CARDS}"
58 -
59 -RDEPEND=">=media-libs/alsa-lib-${PV}
60 - >=dev-python/pyalsa-1.0.26
61 - fltk? ( >=x11-libs/fltk-1.3.0:1 )
62 - gtk? (
63 - >=dev-python/pygtk-2
64 - x11-libs/gtk+:2
65 - x11-libs/gtk+:3
66 - )" #468294
67 -DEPEND="${RDEPEND}
68 - virtual/pkgconfig"
69 -
70 -pkg_setup() {
71 - ALSA_TOOLS="seq/sbiload us428control hwmixvolume hda-verb"
72 -
73 - if use gtk; then
74 - ALSA_TOOLS="${ALSA_TOOLS} hdajackretask"
75 - use alsa_cards_ice1712 && \
76 - ALSA_TOOLS="${ALSA_TOOLS} envy24control"
77 - use alsa_cards_rme32 && use alsa_cards_rme96 && \
78 - ALSA_TOOLS="${ALSA_TOOLS} rmedigicontrol"
79 - fi
80 -
81 - if use alsa_cards_hdsp || use alsa_cards_hdspm; then
82 - ALSA_TOOLS="${ALSA_TOOLS} hdsploader"
83 - use fltk && ALSA_TOOLS="${ALSA_TOOLS} hdspconf hdspmixer"
84 - fi
85 -
86 - use alsa_cards_mixart && ALSA_TOOLS="${ALSA_TOOLS} mixartloader"
87 - use alsa_cards_vx222 && ALSA_TOOLS="${ALSA_TOOLS} vxloader"
88 - use alsa_cards_usb-usx2y && ALSA_TOOLS="${ALSA_TOOLS} usx2yloader"
89 - use alsa_cards_pcxhr && ALSA_TOOLS="${ALSA_TOOLS} pcxhr"
90 - use alsa_cards_sscape && ALSA_TOOLS="${ALSA_TOOLS} sscape_ctl"
91 -
92 - { use alsa_cards_sb16 || use alsa_cards_sbawe; } && \
93 - ALSA_TOOLS="${ALSA_TOOLS} sb16_csp"
94 -
95 - if use alsa_cards_emu10k1 || use alsa_cards_emu10k1x; then
96 - ALSA_TOOLS="${ALSA_TOOLS} as10k1 ld10k1"
97 - fi
98 -
99 - if use gtk; then
100 - for card in ${ECHOAUDIO_CARDS}; do
101 - if use ${card}; then
102 - ALSA_TOOLS="${ALSA_TOOLS} echomixer"
103 - fi
104 - done
105 - fi
106 -}
107 -
108 -src_prepare() {
109 - epatch "${FILESDIR}"/envy24control-config-dir.patch
110 -
111 - epatch_user
112 -
113 - # This block only deals with the tools that still use GTK and the
114 - # AM_PATH_GTK macro.
115 - for dir in echomixer envy24control rmedigicontrol; do
116 - has "${dir}" "${ALSA_TOOLS}" || continue
117 - pushd "${dir}" &> /dev/null
118 - eautoreconf
119 - popd &> /dev/null
120 - done
121 -
122 - # This block deals with the tools that are being patched
123 - for dir in hdspconf; do
124 - has "${dir}" "${ALSA_TOOLS}" || continue
125 - pushd "${dir}" &> /dev/null
126 - eautoreconf
127 - popd &> /dev/null
128 - done
129 -
130 - elibtoolize
131 -}
132 -
133 -src_configure() {
134 - if use fltk; then
135 - # hdspmixer requires fltk
136 - append-ldflags "-L$(dirname $(fltk-config --libs))"
137 - append-flags "-I$(fltk-config --includedir)"
138 - fi
139 -
140 - local f
141 - for f in ${ALSA_TOOLS}
142 - do
143 - cd "${S}/${f}"
144 - case "${f}" in
145 - echomixer,envy24control,rmedigicontrol )
146 - econf --with-gtk2
147 - ;;
148 - * )
149 - econf
150 - ;;
151 - esac
152 - done
153 -}
154 -
155 -src_compile() {
156 - local f
157 - for f in ${ALSA_TOOLS}
158 - do
159 - cd "${S}/${f}"
160 - emake
161 - done
162 -}
163 -
164 -src_install() {
165 - local f
166 - for f in ${ALSA_TOOLS}
167 - do
168 - # Install the main stuff
169 - cd "${S}/${f}"
170 - # hotplugdir is for usx2yloader/Makefile.am
171 - emake DESTDIR="${D}" hotplugdir=/lib/firmware install
172 -
173 - # Install the text documentation
174 - local doc
175 - for doc in README TODO ChangeLog AUTHORS; do
176 - if [[ -f "${doc}" ]]; then
177 - mv "${doc}" "${doc}.$(basename ${f})" || die
178 - dodoc "${doc}.$(basename ${f})"
179 - fi
180 - done
181 - done
182 -
183 - # Punt at least /usr/lib/liblo10k1.la (last checked, 1.0.27)
184 - prune_libtool_files
185 -}