Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libsoundtouch/
Date: Sun, 30 May 2021 10:40:24
Message-Id: 1622371213.1d70bb9199dbeaf7d2744836f0c7de2423003614.fordfrog@gentoo
1 commit: 1d70bb9199dbeaf7d2744836f0c7de2423003614
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 30 10:39:58 2021 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Sun May 30 10:40:13 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d70bb91
7
8 media-libs/libsoundtouch: removed obsolete 2.1.2
9
10 Package-Manager: Portage-3.0.19, Repoman-3.0.3
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 media-libs/libsoundtouch/Manifest | 1 -
14 .../libsoundtouch/libsoundtouch-2.1.2.ebuild | 55 ----------------------
15 2 files changed, 56 deletions(-)
16
17 diff --git a/media-libs/libsoundtouch/Manifest b/media-libs/libsoundtouch/Manifest
18 index 6fc659883fd..8c873eb9d2e 100644
19 --- a/media-libs/libsoundtouch/Manifest
20 +++ b/media-libs/libsoundtouch/Manifest
21 @@ -1,2 +1 @@
22 -DIST soundtouch-2.1.2.tar.bz2 526281 BLAKE2B f15f004fd6abdf4cd6fdb842c650480c670a517c6d94365633a7cc4beb95447d7a8bee965d4b258da6c31630e370e3c1c1fc73abfe8568ace465ce41a87397cf SHA512 d45cb0f94e3df32e9c76722a148f201277b2ddc3e390394c1f4ae1263f13557c6b664e90301b5f62d7561d743ab4903a44a34ab7248880b343d581cebd5f0cd9
23 DIST soundtouch-2.2.tar.bz2 527571 BLAKE2B 0ed67604f0996a9112cbabad9eda39c314aa1f3b1b70aac2a014f76880cb5ad06aeb697f44e9229ad197c9245ce8f684f5fb9b31ce31ae631400a17fe825679f SHA512 8bc1b9aa60031145e8be7ab48d10d93da84b0f5032eb2d8cf46291d4267b6810513f284f6fa72dd6f343e30eeec03070a7485cd933f30bace2ebf995bc843143
24
25 diff --git a/media-libs/libsoundtouch/libsoundtouch-2.1.2.ebuild b/media-libs/libsoundtouch/libsoundtouch-2.1.2.ebuild
26 deleted file mode 100644
27 index 032c08b2267..00000000000
28 --- a/media-libs/libsoundtouch/libsoundtouch-2.1.2.ebuild
29 +++ /dev/null
30 @@ -1,55 +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 -inherit autotools flag-o-matic multilib-minimal toolchain-funcs
37 -
38 -MY_PN=${PN/lib}
39 -MY_P=${MY_PN}-${PV}
40 -DESCRIPTION="Audio processing library for changing tempo, pitch and playback rates"
41 -HOMEPAGE="https://www.surina.net/soundtouch/ https://gitlab.com/soundtouch/soundtouch"
42 -SRC_URI="https://gitlab.com/${MY_PN}/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2"
43 -
44 -LICENSE="LGPL-2.1"
45 -# subslot = libSoundTouch.so soname
46 -SLOT="0/1"
47 -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
48 -IUSE="cpu_flags_x86_sse openmp static-libs"
49 -
50 -BDEPEND="virtual/pkgconfig"
51 -
52 -S="${WORKDIR}/${MY_P}"
53 -
54 -src_prepare() {
55 - default
56 - if use openmp ; then
57 - tc-has-openmp || die "Please switch to an openmp compatible compiler"
58 - fi
59 - sed -i "s:^\(dist_doc_DATA=\)COPYING.TXT :\1:" Makefile.am || die
60 - sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g' configure.ac || die
61 - eautoreconf
62 -}
63 -
64 -multilib_src_configure() {
65 - local myeconfargs=(
66 - --enable-shared
67 - --disable-integer-samples
68 - $(use_enable cpu_flags_x86_sse x86-optimizations)
69 - $(use_enable openmp)
70 - $(use_enable static-libs static)
71 - )
72 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
73 -}
74 -
75 -multilib_src_compile() {
76 - emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}"
77 -}
78 -
79 -multilib_src_install() {
80 - emake DESTDIR="${D}" pkgdocdir="${EPREFIX}"/usr/share/doc/${PF}/html install
81 -}
82 -
83 -multilib_src_install_all() {
84 - find "${ED}" -name '*.la' -delete || die
85 -}