Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/alsa-lib/
Date: Sun, 03 May 2020 15:58:22
Message-Id: 1588521485.ddc24d861021c907b622f4fe80fad21433a1f1fc.asturm@gentoo
1 commit: ddc24d861021c907b622f4fe80fad21433a1f1fc
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 3 15:43:29 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun May 3 15:58:05 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddc24d86
7
8 media-libs/alsa-lib: Drop 1.2.2 (r0)
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-libs/alsa-lib/alsa-lib-1.2.2.ebuild | 85 -------------------------------
14 1 file changed, 85 deletions(-)
15
16 diff --git a/media-libs/alsa-lib/alsa-lib-1.2.2.ebuild b/media-libs/alsa-lib/alsa-lib-1.2.2.ebuild
17 deleted file mode 100644
18 index 19216bb8736..00000000000
19 --- a/media-libs/alsa-lib/alsa-lib-1.2.2.ebuild
20 +++ /dev/null
21 @@ -1,85 +0,0 @@
22 -# Copyright 1999-2020 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=7
26 -
27 -PYTHON_COMPAT=( python{2_7,3_{6,7,8}} )
28 -
29 -inherit autotools multilib multilib-minimal python-single-r1
30 -
31 -DESCRIPTION="Advanced Linux Sound Architecture Library"
32 -HOMEPAGE="https://alsa-project.org/"
33 -SRC_URI="https://www.alsa-project.org/files/pub/lib/${P}.tar.bz2"
34 -
35 -LICENSE="LGPL-2.1"
36 -SLOT="0"
37 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
38 -IUSE="alisp debug doc elibc_uclibc python +thread-safety"
39 -
40 -RDEPEND="python? ( ${PYTHON_DEPS} )"
41 -DEPEND="${RDEPEND}
42 - doc? ( >=app-doc/doxygen-1.2.6 )"
43 -
44 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
45 -
46 -PATCHES=(
47 - "${FILESDIR}/${PN}-1.1.6-missing_files.patch" #652422
48 -)
49 -
50 -pkg_setup() {
51 - use python && python-single-r1_pkg_setup
52 -}
53 -
54 -src_prepare() {
55 - find . -name Makefile.am -exec sed -i -e '/CFLAGS/s:-g -O2::' {} + || die
56 - # https://bugs.gentoo.org/509886
57 - if use elibc_uclibc ; then
58 - sed -i -e 's:oldapi queue_timer:queue_timer:' test/Makefile.am || die
59 - fi
60 - # https://bugs.gentoo.org/545950
61 - sed -i -e '5s:^$:\nAM_CPPFLAGS = -I$(top_srcdir)/include:' test/lsb/Makefile.am || die
62 - default
63 - eautoreconf
64 -}
65 -
66 -multilib_src_configure() {
67 - local myeconfargs=(
68 - --disable-maintainer-mode
69 - --disable-resmgr
70 - --enable-aload
71 - --enable-rawmidi
72 - --enable-seq
73 - --enable-shared
74 - # enable Python only on final ABI
75 - $(multilib_native_use_enable python)
76 - $(use_enable alisp)
77 - $(use_enable thread-safety)
78 - $(use_with debug)
79 - $(usex elibc_uclibc --without-versioned '')
80 - )
81 -
82 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
83 -}
84 -
85 -multilib_src_compile() {
86 - emake
87 -
88 - if multilib_is_native_abi && use doc; then
89 - emake doc
90 - grep -FZrl "${S}" doc/doxygen/html | \
91 - xargs -0 sed -i -e "s:${S}::"
92 - fi
93 -}
94 -
95 -multilib_src_install() {
96 - emake DESTDIR="${D}" install
97 - if multilib_is_native_abi && use doc; then
98 - docinto html
99 - dodoc -r doc/doxygen/html/.
100 - fi
101 -}
102 -
103 -multilib_src_install_all() {
104 - find "${ED}" -type f \( -name '*.a' -o -name '*.la' \) -delete || die
105 - dodoc ChangeLog doc/asoundrc.txt NOTES TODO
106 -}