1 |
commit: 6801663e49d9c116fc7628fc24995419306fee89 |
2 |
Author: Niklāvs Koļesņikovs <89q1r14hd <AT> relay <DOT> firefox <DOT> com> |
3 |
AuthorDate: Mon Nov 1 19:45:20 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 2 09:58:34 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6801663e |
7 |
|
8 |
media-libs/alsa-lib: remove old and never unmasked version |
9 |
|
10 |
Signed-off-by: Niklāvs Koļesņikovs <89q1r14hd <AT> relay.firefox.com> |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
media-libs/alsa-lib/Manifest | 1 - |
14 |
.../alsa-lib/alsa-lib-1.2.5_p20210604.ebuild | 103 --------------------- |
15 |
2 files changed, 104 deletions(-) |
16 |
|
17 |
diff --git a/media-libs/alsa-lib/Manifest b/media-libs/alsa-lib/Manifest |
18 |
index 7d94b680606..2f2cda5dd26 100644 |
19 |
--- a/media-libs/alsa-lib/Manifest |
20 |
+++ b/media-libs/alsa-lib/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
DIST alsa-lib-1.2.4.tar.bz2 1044405 BLAKE2B e1d5d9afe21dac693645274ae4ec8a607c9fcc9915ba4ebccfdb539d44b9353ba07529e2c8eaca119884b926d4467285313c945c9015a788101fe532064442db SHA512 12086952dc8f16f1cb6946517858e17b1c3276aeda9ff5703a84bb38aa78eb4c4e9cb4485c5b3f21f174fdbd976b3bcbbc481e85cb2460652858490df51ae844 |
23 |
DIST alsa-lib-1.2.5.1.tar.bz2 1069073 BLAKE2B 5464cc7f263bdf7b10aa7e1f542ad6dbc55bf300156fd1bded00375c41a518d4b14f96e28eb1c60a6ce7cc6e27da4b2e8598cd867f15417f260fc23513f93e11 SHA512 01998ffa449e925ff552c13aea47f9540903afdc533086067c78dcaba4d239c347180d3d28bb0000e6d19b7779c7249fcc77a30057930ca22d18ba55e163fa1c |
24 |
-DIST alsa-lib-1.2.5_p20210604.tar.gz 814186 BLAKE2B d3bc2f42a0266c1af33953026eecb97d9d4f2cc845924b762b7f6777d15e2a3f60347bd3d6184a8b431ebe703c3b06bcbfbef67345064fbcd14b223e5e4d0e4e SHA512 e04ac38ae6f4b97ac75584c36562ad620820be5156206dc6466b8bfac0d50d1c8e588fac7d5e9d8716c9c89b82ebd9ae9cbc8137080a433a5ddde8177c102a99 |
25 |
|
26 |
diff --git a/media-libs/alsa-lib/alsa-lib-1.2.5_p20210604.ebuild b/media-libs/alsa-lib/alsa-lib-1.2.5_p20210604.ebuild |
27 |
deleted file mode 100644 |
28 |
index 88c9ad860cf..00000000000 |
29 |
--- a/media-libs/alsa-lib/alsa-lib-1.2.5_p20210604.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,103 +0,0 @@ |
32 |
-# Copyright 1999-2021 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
38 |
-inherit autotools multilib-minimal python-single-r1 |
39 |
- |
40 |
-# When COMMIT is defined, this ebuild turns from a release into a snapshot ebuild: |
41 |
-COMMIT="abe805ed6c7f38e48002e575535afd1f673b9bcd" |
42 |
-# Also set SNAPSHOT_PV to match the correct PV, so that the ebuild can detect a naive rename: |
43 |
-SNAPSHOT_PV="1.2.5_p20210604" |
44 |
- |
45 |
-DESCRIPTION="Advanced Linux Sound Architecture Library" |
46 |
-HOMEPAGE="https://alsa-project.org/wiki/Main_Page" |
47 |
-if [[ -n ${COMMIT} ]]; then |
48 |
- SRC_URI="https://git.alsa-project.org/?p=${PN}.git;a=snapshot;h=${COMMIT};sf=tgz -> ${P}.tar.gz" |
49 |
- S="${WORKDIR}"/${PN}-${COMMIT:0:7} |
50 |
-else |
51 |
- # TODO: Upstream does publish .sig files, so someone could implement verify-sig ;) |
52 |
- SRC_URI="https://www.alsa-project.org/files/pub/lib/${P}.tar.bz2" |
53 |
-fi |
54 |
- |
55 |
-LICENSE="LGPL-2.1" |
56 |
-SLOT="0" |
57 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" |
58 |
-IUSE="alisp debug doc elibc_uclibc python +thread-safety" |
59 |
- |
60 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
61 |
- |
62 |
-BDEPEND="doc? ( >=app-doc/doxygen-1.2.6 )" |
63 |
-RDEPEND="python? ( ${PYTHON_DEPS} ) |
64 |
- media-libs/alsa-topology-conf |
65 |
- media-libs/alsa-ucm-conf |
66 |
-" |
67 |
-DEPEND="${RDEPEND}" |
68 |
- |
69 |
-PATCHES=( |
70 |
- "${FILESDIR}/${PN}-1.1.6-missing_files.patch" # bug #652422 |
71 |
-) |
72 |
- |
73 |
-pkg_pretend() { |
74 |
- if [[ -n ${COMMIT} && -z ${SNAPSHOT_PV} || -z ${COMMIT} && -n ${SNAPSHOT_PV} ]]; then |
75 |
- eerror "Please either set both COMMIT and SNAPSHOT_PV or neither!" |
76 |
- elif [[ -n ${SNAPSHOT_PV} && ${PV} != ${SNAPSHOT_PV} ]]; then |
77 |
- eerror "Rename of snapshot ebuild detected - please check COMMIT & SNAPSHOT_PV!" |
78 |
- fi |
79 |
-} |
80 |
- |
81 |
-pkg_setup() { |
82 |
- use python && python-single-r1_pkg_setup |
83 |
-} |
84 |
- |
85 |
-src_prepare() { |
86 |
- find . -name Makefile.am -exec sed -i -e '/CFLAGS/s:-g -O2::' {} + || die |
87 |
- # https://bugs.gentoo.org/509886 |
88 |
- if use elibc_uclibc ; then |
89 |
- sed -i -e 's:oldapi queue_timer:queue_timer:' test/Makefile.am || die |
90 |
- fi |
91 |
- # https://bugs.gentoo.org/545950 |
92 |
- sed -i -e '5s:^$:\nAM_CPPFLAGS = -I$(top_srcdir)/include:' test/lsb/Makefile.am || die |
93 |
- default |
94 |
- eautoreconf |
95 |
-} |
96 |
- |
97 |
-multilib_src_configure() { |
98 |
- local myeconfargs=( |
99 |
- --disable-maintainer-mode |
100 |
- --disable-resmgr |
101 |
- --enable-aload |
102 |
- --enable-rawmidi |
103 |
- --enable-seq |
104 |
- --enable-shared |
105 |
- # enable Python only on final ABI |
106 |
- $(multilib_native_use_enable python) |
107 |
- $(use_enable alisp) |
108 |
- $(use_enable thread-safety) |
109 |
- $(use_with debug) |
110 |
- $(usex elibc_uclibc --without-versioned '') |
111 |
- ) |
112 |
- |
113 |
- ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
114 |
-} |
115 |
- |
116 |
-multilib_src_compile() { |
117 |
- emake |
118 |
- |
119 |
- if multilib_is_native_abi && use doc; then |
120 |
- emake doc |
121 |
- grep -FZrl "${S}" doc/doxygen/html | \ |
122 |
- xargs -0 sed -i -e "s:${S}::" || die |
123 |
- fi |
124 |
-} |
125 |
- |
126 |
-multilib_src_install() { |
127 |
- multilib_is_native_abi && use doc && local HTML_DOCS=( doc/doxygen/html/. ) |
128 |
- default |
129 |
-} |
130 |
- |
131 |
-multilib_src_install_all() { |
132 |
- find "${ED}" -type f \( -name '*.a' -o -name '*.la' \) -delete || die |
133 |
- dodoc ChangeLog doc/asoundrc.txt NOTES TODO |
134 |
-} |