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