1 |
commit: 9dd9eb0700a1dcb0f810ab8a2164589df3d72d13 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 16 11:46:42 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 16 13:06:16 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dd9eb07 |
7 |
|
8 |
media-libs/alsa-lib: Bump to version 1.2.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.18 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
media-libs/alsa-lib/Manifest | 1 + |
14 |
media-libs/alsa-lib/alsa-lib-1.2.1.ebuild | 85 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 86 insertions(+) |
16 |
|
17 |
diff --git a/media-libs/alsa-lib/Manifest b/media-libs/alsa-lib/Manifest |
18 |
index cd408d8b4b3..9ff8c6aa372 100644 |
19 |
--- a/media-libs/alsa-lib/Manifest |
20 |
+++ b/media-libs/alsa-lib/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST alsa-lib-1.1.2.tar.bz2 947423 BLAKE2B 09cd6a625d8f681c5515fd925191fb5468158 |
22 |
DIST alsa-lib-1.1.6.tar.bz2 989316 BLAKE2B 2aec62d262148571cc1b93ac8053002b61266951caf8b2855fc65b699ec928672748a21ba11a25e14e752a4a85f68b2f77b5ad6af9b2f1fc5e9de41313ace54a SHA512 00117769a3d5c609019b975188d6e7a07d035bd0461f54c5f291e14667620506f1adb6d61350f78d54648850f31965aae3ab0e697bf9e09c988e2d15bf6b09f0 |
23 |
DIST alsa-lib-1.1.8.tar.bz2 1002562 BLAKE2B a531ab501943924d007f7ae0e4489deea805ccbc8f2f02d3ee392aa2dbe54ffe31f58ee1744308f851a68f693c83125088708e901d0d83e4a7a5f644ef448aa3 SHA512 50ae107c6efe8200b4c41e0463e099d16e149332f1d3a22c3e81d3e7d980b7f93f3610fc9711ef62067caeb1054e7ea612ba3903bf8a91ebeffa48687cf80eed |
24 |
DIST alsa-lib-1.1.9.tar.bz2 1058187 BLAKE2B 60454be162a0f36334602586762f8ce657d2883636bcb65ae91dedce62297bd40f3dbdc6213ef773542708b367f8796e143b1fc987c40de6d5d5a69a648f6b18 SHA512 402e39cca82d17555e3e52ef06b8ed9dcf58531da393809a7b5cf18658299fa90ee8a60bfc5213482d7a02b13140c441f1333b144556f44ab4adb786a2fb3c49 |
25 |
+DIST alsa-lib-1.2.1.tar.bz2 1003711 BLAKE2B 6aa34238a07c9da2c1fe86e51111018541a647779e0ab4a5ecbfc4a8dcfdc168d5d921ec1c5ae4822227a31ea317cccc41a5c23f19d0e92a6302bba81bfa1423 SHA512 a5bd60ed0cfca3911db534364554412c479d2cb6ded6c8e7011d2510797a6cbd10613d6e1d42cb589afec8e7408c8fd5465360ddd14df8701af7dc414961c19e |
26 |
|
27 |
diff --git a/media-libs/alsa-lib/alsa-lib-1.2.1.ebuild b/media-libs/alsa-lib/alsa-lib-1.2.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..ba7e99bdece |
30 |
--- /dev/null |
31 |
+++ b/media-libs/alsa-lib/alsa-lib-1.2.1.ebuild |
32 |
@@ -0,0 +1,85 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) |
39 |
+ |
40 |
+inherit autotools multilib multilib-minimal python-single-r1 |
41 |
+ |
42 |
+DESCRIPTION="Advanced Linux Sound Architecture Library" |
43 |
+HOMEPAGE="https://alsa-project.org/" |
44 |
+SRC_URI="https://www.alsa-project.org/files/pub/lib/${P}.tar.bz2" |
45 |
+ |
46 |
+LICENSE="LGPL-2.1" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" |
49 |
+IUSE="alisp debug doc elibc_uclibc python +thread-safety" |
50 |
+ |
51 |
+RDEPEND="python? ( ${PYTHON_DEPS} )" |
52 |
+DEPEND="${RDEPEND} |
53 |
+ doc? ( >=app-doc/doxygen-1.2.6 )" |
54 |
+ |
55 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
56 |
+ |
57 |
+PATCHES=( |
58 |
+ "${FILESDIR}/${PN}-1.1.6-missing_files.patch" #652422 |
59 |
+) |
60 |
+ |
61 |
+pkg_setup() { |
62 |
+ use python && python-single-r1_pkg_setup |
63 |
+} |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ find . -name Makefile.am -exec sed -i -e '/CFLAGS/s:-g -O2::' {} + || die |
67 |
+ # https://bugs.gentoo.org/509886 |
68 |
+ if use elibc_uclibc ; then |
69 |
+ sed -i -e 's:oldapi queue_timer:queue_timer:' test/Makefile.am || die |
70 |
+ fi |
71 |
+ # https://bugs.gentoo.org/545950 |
72 |
+ sed -i -e '5s:^$:\nAM_CPPFLAGS = -I$(top_srcdir)/include:' test/lsb/Makefile.am || die |
73 |
+ default |
74 |
+ eautoreconf |
75 |
+} |
76 |
+ |
77 |
+multilib_src_configure() { |
78 |
+ local myeconfargs=( |
79 |
+ --disable-maintainer-mode |
80 |
+ --disable-resmgr |
81 |
+ --enable-aload |
82 |
+ --enable-rawmidi |
83 |
+ --enable-seq |
84 |
+ --enable-shared |
85 |
+ # enable Python only on final ABI |
86 |
+ $(multilib_native_use_enable python) |
87 |
+ $(use_enable alisp) |
88 |
+ $(use_enable thread-safety) |
89 |
+ $(use_with debug) |
90 |
+ $(usex elibc_uclibc --without-versioned '') |
91 |
+ ) |
92 |
+ |
93 |
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
94 |
+} |
95 |
+ |
96 |
+multilib_src_compile() { |
97 |
+ emake |
98 |
+ |
99 |
+ if multilib_is_native_abi && use doc; then |
100 |
+ emake doc |
101 |
+ grep -FZrl "${S}" doc/doxygen/html | \ |
102 |
+ xargs -0 sed -i -e "s:${S}::" |
103 |
+ fi |
104 |
+} |
105 |
+ |
106 |
+multilib_src_install() { |
107 |
+ emake DESTDIR="${D}" install |
108 |
+ if multilib_is_native_abi && use doc; then |
109 |
+ docinto html |
110 |
+ dodoc -r doc/doxygen/html/. |
111 |
+ fi |
112 |
+} |
113 |
+ |
114 |
+multilib_src_install_all() { |
115 |
+ find "${ED}" -type f \( -name '*.a' -o -name '*.la' \) -delete || die |
116 |
+ dodoc ChangeLog doc/asoundrc.txt NOTES TODO |
117 |
+} |