1 |
commit: 3bfb0f9870e3831841d68f8ea112416bb1dc7713 |
2 |
Author: Joe Konno <joe.konno <AT> intel <DOT> com> |
3 |
AuthorDate: Fri Nov 20 02:33:11 2015 +0000 |
4 |
Commit: Tony Vroon <chainsaw <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 25 15:55:46 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bfb0f98 |
7 |
|
8 |
media-plugins/alsa-plugins: version bump to 1.1.0 |
9 |
|
10 |
Bump version to 1.1.0. Epatches used in 1.0.29-r1 apply and appear to be |
11 |
relevant, so carrying them forward in 1.1.0. All archs were masked |
12 |
already, and may be deemed "stable" later on by the gentoo-sound team. |
13 |
|
14 |
This appears to be a "bugfix" release. No new features, bells, or |
15 |
whistles to account for. |
16 |
|
17 |
ALSA Project release notes at: |
18 |
http://www.alsa-project.org/main/index.php/Changes_v1.0.29_v1.1.0 |
19 |
|
20 |
Package-Manager: Portage 2.2.20.1 |
21 |
|
22 |
v2: rebased on 6d4b41d7904e ("app-emulation/docker-compose: move enum34 |
23 |
dependence") |
24 |
|
25 |
Signed-off-by: Joe Konno <joe.konno <AT> intel.com> |
26 |
|
27 |
media-plugins/alsa-plugins/Manifest | 1 + |
28 |
.../alsa-plugins/alsa-plugins-1.1.0.ebuild | 101 +++++++++++++++++++++ |
29 |
2 files changed, 102 insertions(+) |
30 |
|
31 |
diff --git a/media-plugins/alsa-plugins/Manifest b/media-plugins/alsa-plugins/Manifest |
32 |
index 1e8b198..ea4e4ca 100644 |
33 |
--- a/media-plugins/alsa-plugins/Manifest |
34 |
+++ b/media-plugins/alsa-plugins/Manifest |
35 |
@@ -1,3 +1,4 @@ |
36 |
DIST alsa-plugins-1.0.27.tar.bz2 363593 SHA256 0bbd0c37c2dd7baf16363afb2e58169ffb0f9c0a70031b3b6235594630f3ab35 SHA512 73c2010b66022429bc664bdab1c03694dfd669260dea569e32496bc6e10a11a0da2dd87db6a661ab1376f3aa59f1df8a84cb48ff1d20bb064756c655203f9993 WHIRLPOOL 4487734e0377c880a46df6f7fa53d86a7c38fa3d4bd35e06d128c0ec2b99c789ed64674b59003d8bd0abce2db53301234e467d235532ea145ddb150919cb49af |
37 |
DIST alsa-plugins-1.0.28.tar.bz2 366023 SHA256 426f8af1a07ee9d8c06449524d1f0bd59a06e0331a51aa3d59d343a7c6d03120 SHA512 c79cf22f426f500c704c947af602604c62a76a026c9b945589d1ca83dff16de23cec2f1c29c9713e42736092aa0d0389e514ca2ca646f8e4770c8aa8320725cc WHIRLPOOL 9cb54e2a30a3f682aa23acb6317f267ffb3cd47eceb959fbce73c8db3ba7c8af420b91b91cce865f0aaf0c60b2920f51972640aff8413c871d0709fa7f4f90a6 |
38 |
DIST alsa-plugins-1.0.29.tar.bz2 366077 SHA256 325d85cac285f632b83e0191ae3f348bad03c1f007b937042f164abb81ea6532 SHA512 6bc7d417ee5deb00a6e36864778deb4675a186951747cc799386288704f0d22a5c3d7011b6091602378d02ee79c4696ebb879140cebea392bd68937c8640898a WHIRLPOOL 987c348b536b03b36c2e7f9bff733e5309961b6f052d6a76f1372eb231d9af92191c113d0a577221809b0fcc4bc9614f278afb10472bd1606822aab468210af3 |
39 |
+DIST alsa-plugins-1.1.0.tar.bz2 366296 SHA256 3b83c329953bef99f5fe25ae04ec4a455fe6514939f3b45a5321966652b2c9ee SHA512 5ed31ce1b6d11232d464d3cdef6015403840edbf2154266a479c2fde12ef4506e1f20c0f405ccee9cc39aec80be3bc41b10798a4475494ba56c6b4d69637fdc9 WHIRLPOOL 32c8460ed27a6a554f983e476e09847940e152cbc7b8cf0909243d312091560b1b25360249e3edeae50a46c5990f216cfd17915ec539812a5c473406705c2e73 |
40 |
|
41 |
diff --git a/media-plugins/alsa-plugins/alsa-plugins-1.1.0.ebuild b/media-plugins/alsa-plugins/alsa-plugins-1.1.0.ebuild |
42 |
new file mode 100644 |
43 |
index 0000000..667bf33 |
44 |
--- /dev/null |
45 |
+++ b/media-plugins/alsa-plugins/alsa-plugins-1.1.0.ebuild |
46 |
@@ -0,0 +1,101 @@ |
47 |
+# Copyright 1999-2015 Gentoo Foundation |
48 |
+# Distributed under the terms of the GNU General Public License v2 |
49 |
+# $Id$ |
50 |
+ |
51 |
+EAPI=5 |
52 |
+inherit autotools eutils flag-o-matic multilib multilib-minimal |
53 |
+ |
54 |
+DESCRIPTION="ALSA extra plugins" |
55 |
+HOMEPAGE="http://www.alsa-project.org/" |
56 |
+SRC_URI="mirror://alsaproject/plugins/${P}.tar.bz2" |
57 |
+ |
58 |
+LICENSE="GPL-2 LGPL-2.1" |
59 |
+SLOT="0" |
60 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux" |
61 |
+IUSE="debug ffmpeg jack libav libsamplerate pulseaudio speex" |
62 |
+ |
63 |
+RDEPEND=" |
64 |
+ >=media-libs/alsa-lib-${PV}:=[${MULTILIB_USEDEP}] |
65 |
+ ffmpeg? ( |
66 |
+ libav? ( media-video/libav:= ) |
67 |
+ !libav? ( media-video/ffmpeg:0= ) |
68 |
+ ) |
69 |
+ jack? ( >=media-sound/jack-audio-connection-kit-0.121.3-r1[${MULTILIB_USEDEP}] ) |
70 |
+ libsamplerate? ( >=media-libs/libsamplerate-0.1.8-r1:=[${MULTILIB_USEDEP}] ) |
71 |
+ pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] ) |
72 |
+ speex? ( >=media-libs/speex-1.2_rc1-r1:=[${MULTILIB_USEDEP}] ) |
73 |
+ abi_x86_32? ( |
74 |
+ !<app-emulation/emul-linux-x86-soundlibs-20140406-r1 |
75 |
+ !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32] |
76 |
+ ) |
77 |
+" |
78 |
+DEPEND="${RDEPEND} |
79 |
+ virtual/pkgconfig" |
80 |
+ |
81 |
+src_prepare() { |
82 |
+ epatch "${FILESDIR}"/${PN}-1.0.23-automagic.patch |
83 |
+ epatch "${FILESDIR}"/${PN}-1.0.28-libav10.patch |
84 |
+ has_version '>=media-video/ffmpeg-2.8' && epatch "${FILESDIR}"/${PN}-1.0.29-ffmpeg29.patch |
85 |
+ |
86 |
+ epatch_user |
87 |
+ |
88 |
+ # For some reasons the polyp/pulse plugin does fail with alsaplayer with a |
89 |
+ # failed assert. As the code works just fine with asserts disabled, for now |
90 |
+ # disable them waiting for a better solution. |
91 |
+ sed -i \ |
92 |
+ -e '/AM_CFLAGS/s:-Wall:-DNDEBUG -Wall:' \ |
93 |
+ pulse/Makefile.am || die |
94 |
+ |
95 |
+ eautoreconf |
96 |
+} |
97 |
+ |
98 |
+multilib_src_configure() { |
99 |
+ use debug || append-cppflags -DNDEBUG |
100 |
+ |
101 |
+ local myspeex=no |
102 |
+ use speex && myspeex=lib |
103 |
+ |
104 |
+ ECONF_SOURCE=${S} \ |
105 |
+ econf \ |
106 |
+ $(use_enable ffmpeg avcodec) \ |
107 |
+ $(use_enable jack) \ |
108 |
+ $(use_enable libsamplerate samplerate) \ |
109 |
+ $(use_enable pulseaudio) \ |
110 |
+ --with-speex=${myspeex} |
111 |
+} |
112 |
+ |
113 |
+multilib_src_install_all() { |
114 |
+ einstalldocs |
115 |
+ |
116 |
+ cd doc || die |
117 |
+ dodoc upmix.txt vdownmix.txt README-pcm-oss |
118 |
+ use jack && dodoc README-jack |
119 |
+ use libsamplerate && dodoc samplerate.txt |
120 |
+ use ffmpeg && dodoc lavcrate.txt a52.txt |
121 |
+ |
122 |
+ if use pulseaudio; then |
123 |
+ dodoc README-pulse |
124 |
+ # install ALSA configuration files |
125 |
+ # making PA to be used by alsa clients |
126 |
+ insinto /usr/share/alsa |
127 |
+ doins "${FILESDIR}"/pulse-default.conf |
128 |
+ insinto /usr/share/alsa/alsa.conf.d |
129 |
+ doins "${FILESDIR}"/51-pulseaudio-probe.conf |
130 |
+ # bug #410261, comment 5+ |
131 |
+ # seems to work fine without any path |
132 |
+ sed -i \ |
133 |
+ -e "s:/usr/lib/alsa-lib/::" \ |
134 |
+ "${ED}"/usr/share/alsa/alsa.conf.d/51-pulseaudio-probe.conf || die #410261 |
135 |
+ fi |
136 |
+ |
137 |
+ prune_libtool_files --all |
138 |
+} |
139 |
+ |
140 |
+pkg_postinst() { |
141 |
+ if use pulseaudio; then |
142 |
+ einfo "The PulseAudio device is now set as the default device if the" |
143 |
+ einfo "PulseAudio server is found to be running. Any custom" |
144 |
+ einfo "configuration in /etc/asound.conf or ~/.asoundrc for this" |
145 |
+ einfo "purpose should now be unnecessary." |
146 |
+ fi |
147 |
+} |