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-plugins/alsa-plugins/
Date: Thu, 22 Dec 2016 10:51:36
Message-Id: 1482403882.2b6b668e302e26cdf45ccbdc2d32c99fcd7c8b18.polynomial-c@gentoo
1 commit: 2b6b668e302e26cdf45ccbdc2d32c99fcd7c8b18
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 22 10:49:15 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 22 10:51:22 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b6b668e
7
8 media-plugins/alsa-plugins: Removed old.
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 media-plugins/alsa-plugins/Manifest | 1 -
13 .../alsa-plugins/alsa-plugins-1.1.0.ebuild | 101 ---------------------
14 2 files changed, 102 deletions(-)
15
16 diff --git a/media-plugins/alsa-plugins/Manifest b/media-plugins/alsa-plugins/Manifest
17 index 007f533..dbe3e1b 100644
18 --- a/media-plugins/alsa-plugins/Manifest
19 +++ b/media-plugins/alsa-plugins/Manifest
20 @@ -1,3 +1,2 @@
21 DIST alsa-plugins-1.0.29.tar.bz2 366077 SHA256 325d85cac285f632b83e0191ae3f348bad03c1f007b937042f164abb81ea6532 SHA512 6bc7d417ee5deb00a6e36864778deb4675a186951747cc799386288704f0d22a5c3d7011b6091602378d02ee79c4696ebb879140cebea392bd68937c8640898a WHIRLPOOL 987c348b536b03b36c2e7f9bff733e5309961b6f052d6a76f1372eb231d9af92191c113d0a577221809b0fcc4bc9614f278afb10472bd1606822aab468210af3
22 -DIST alsa-plugins-1.1.0.tar.bz2 366296 SHA256 3b83c329953bef99f5fe25ae04ec4a455fe6514939f3b45a5321966652b2c9ee SHA512 5ed31ce1b6d11232d464d3cdef6015403840edbf2154266a479c2fde12ef4506e1f20c0f405ccee9cc39aec80be3bc41b10798a4475494ba56c6b4d69637fdc9 WHIRLPOOL 32c8460ed27a6a554f983e476e09847940e152cbc7b8cf0909243d312091560b1b25360249e3edeae50a46c5990f216cfd17915ec539812a5c473406705c2e73
23 DIST alsa-plugins-1.1.1.tar.bz2 366193 SHA256 8ea4d1e082c36528a896a2581e5eb62d4dc2683238e353050d0d624e65f901f1 SHA512 9dd277cb5cce144ce4e5e0010cebcba0f8634c783e7bcd80ce6d04b198d6de5150a2764df3087a39a468b5fb7c4578de2e252095568e811dedaa5e7ffdbeb7c9 WHIRLPOOL 20f36afcb01dfe47172b6470fea929ffb267e0b7a78ac4ca8c2031b33faa6fe15bd0608d9963e053366ac6bf3b2f540d776537c8547418a0d2b80b5c0366a76f
24
25 diff --git a/media-plugins/alsa-plugins/alsa-plugins-1.1.0.ebuild b/media-plugins/alsa-plugins/alsa-plugins-1.1.0.ebuild
26 deleted file mode 100644
27 index 667bf33..00000000
28 --- a/media-plugins/alsa-plugins/alsa-plugins-1.1.0.ebuild
29 +++ /dev/null
30 @@ -1,101 +0,0 @@
31 -# Copyright 1999-2015 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -# $Id$
34 -
35 -EAPI=5
36 -inherit autotools eutils flag-o-matic multilib multilib-minimal
37 -
38 -DESCRIPTION="ALSA extra plugins"
39 -HOMEPAGE="http://www.alsa-project.org/"
40 -SRC_URI="mirror://alsaproject/plugins/${P}.tar.bz2"
41 -
42 -LICENSE="GPL-2 LGPL-2.1"
43 -SLOT="0"
44 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux"
45 -IUSE="debug ffmpeg jack libav libsamplerate pulseaudio speex"
46 -
47 -RDEPEND="
48 - >=media-libs/alsa-lib-${PV}:=[${MULTILIB_USEDEP}]
49 - ffmpeg? (
50 - libav? ( media-video/libav:= )
51 - !libav? ( media-video/ffmpeg:0= )
52 - )
53 - jack? ( >=media-sound/jack-audio-connection-kit-0.121.3-r1[${MULTILIB_USEDEP}] )
54 - libsamplerate? ( >=media-libs/libsamplerate-0.1.8-r1:=[${MULTILIB_USEDEP}] )
55 - pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
56 - speex? ( >=media-libs/speex-1.2_rc1-r1:=[${MULTILIB_USEDEP}] )
57 - abi_x86_32? (
58 - !<app-emulation/emul-linux-x86-soundlibs-20140406-r1
59 - !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32]
60 - )
61 -"
62 -DEPEND="${RDEPEND}
63 - virtual/pkgconfig"
64 -
65 -src_prepare() {
66 - epatch "${FILESDIR}"/${PN}-1.0.23-automagic.patch
67 - epatch "${FILESDIR}"/${PN}-1.0.28-libav10.patch
68 - has_version '>=media-video/ffmpeg-2.8' && epatch "${FILESDIR}"/${PN}-1.0.29-ffmpeg29.patch
69 -
70 - epatch_user
71 -
72 - # For some reasons the polyp/pulse plugin does fail with alsaplayer with a
73 - # failed assert. As the code works just fine with asserts disabled, for now
74 - # disable them waiting for a better solution.
75 - sed -i \
76 - -e '/AM_CFLAGS/s:-Wall:-DNDEBUG -Wall:' \
77 - pulse/Makefile.am || die
78 -
79 - eautoreconf
80 -}
81 -
82 -multilib_src_configure() {
83 - use debug || append-cppflags -DNDEBUG
84 -
85 - local myspeex=no
86 - use speex && myspeex=lib
87 -
88 - ECONF_SOURCE=${S} \
89 - econf \
90 - $(use_enable ffmpeg avcodec) \
91 - $(use_enable jack) \
92 - $(use_enable libsamplerate samplerate) \
93 - $(use_enable pulseaudio) \
94 - --with-speex=${myspeex}
95 -}
96 -
97 -multilib_src_install_all() {
98 - einstalldocs
99 -
100 - cd doc || die
101 - dodoc upmix.txt vdownmix.txt README-pcm-oss
102 - use jack && dodoc README-jack
103 - use libsamplerate && dodoc samplerate.txt
104 - use ffmpeg && dodoc lavcrate.txt a52.txt
105 -
106 - if use pulseaudio; then
107 - dodoc README-pulse
108 - # install ALSA configuration files
109 - # making PA to be used by alsa clients
110 - insinto /usr/share/alsa
111 - doins "${FILESDIR}"/pulse-default.conf
112 - insinto /usr/share/alsa/alsa.conf.d
113 - doins "${FILESDIR}"/51-pulseaudio-probe.conf
114 - # bug #410261, comment 5+
115 - # seems to work fine without any path
116 - sed -i \
117 - -e "s:/usr/lib/alsa-lib/::" \
118 - "${ED}"/usr/share/alsa/alsa.conf.d/51-pulseaudio-probe.conf || die #410261
119 - fi
120 -
121 - prune_libtool_files --all
122 -}
123 -
124 -pkg_postinst() {
125 - if use pulseaudio; then
126 - einfo "The PulseAudio device is now set as the default device if the"
127 - einfo "PulseAudio server is found to be running. Any custom"
128 - einfo "configuration in /etc/asound.conf or ~/.asoundrc for this"
129 - einfo "purpose should now be unnecessary."
130 - fi
131 -}