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