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