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/rubberband/, media-libs/rubberband/files/
Date: Fri, 16 Apr 2021 07:20:56
Message-Id: 1618557639.9b1fa5b281be976d25a485a5baa1cd9180ec19d3.fordfrog@gentoo
1 commit: 9b1fa5b281be976d25a485a5baa1cd9180ec19d3
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 16 07:20:39 2021 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 16 07:20:39 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b1fa5b2
7
8 media-libs/rubberband: removed obsolete 1.9.0
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 media-libs/rubberband/Manifest | 1 -
14 .../files/rubberband-1.9.0-makefile.patch | 13 ----
15 media-libs/rubberband/rubberband-1.9.0.ebuild | 74 ----------------------
16 3 files changed, 88 deletions(-)
17
18 diff --git a/media-libs/rubberband/Manifest b/media-libs/rubberband/Manifest
19 index 7d2a54820f1..844ba70b659 100644
20 --- a/media-libs/rubberband/Manifest
21 +++ b/media-libs/rubberband/Manifest
22 @@ -1,2 +1 @@
23 -DIST rubberband-1.9.0.tar.bz2 192240 BLAKE2B dd97f80e01b05883645bf7c78730f8a3f873a60379cc209887591a28d0b6292e083c2f522db35ef9435c0a446eaa9b5acab8b5e2c9703514019491a939a804c9 SHA512 2226cfec98f280a12f874f60620c3bf09f7399a7808af5e9f5c9a5154b989cfbf3c4220e162d722e319a4ef046f81c6a07eac2b8c6035c8f6230f0a20b1577a8
24 DIST rubberband-1.9.1.tar.bz2 164644 BLAKE2B 1bbbd0056b2131ac16bf427db93e19bdd6adb5433733e62523f4a04c8a74d1a48e82dbace09e7ffe6dddfeec699e3aeee8e84344c9e7cbe75067316dde6268d6 SHA512 cb20ef8fb717a9e6b5b0b921541bd701e94326e12cdb20d50bed344d12fa1b4fd731335c3a0a7f2d2a5ce96031d965b209e7667c4d55fd8494b8e20d3409f0d3
25
26 diff --git a/media-libs/rubberband/files/rubberband-1.9.0-makefile.patch b/media-libs/rubberband/files/rubberband-1.9.0-makefile.patch
27 deleted file mode 100644
28 index 5539162dec2..00000000000
29 --- a/media-libs/rubberband/files/rubberband-1.9.0-makefile.patch
30 +++ /dev/null
31 @@ -1,13 +0,0 @@
32 -diff --git a/Makefile.in b/Makefile.in
33 -index fdddb72..86c0548 100644
34 ---- a/Makefile.in
35 -+++ b/Makefile.in
36 -@@ -19,7 +19,7 @@ VAMP_PLUGIN_LIBS := @Vamp_LIBS@ $(LIBRARY_LIBS)
37 - LADSPA_PLUGIN_LIBS := $(LIBRARY_LIBS)
38 -
39 - MKDIR := mkdir
40 --AR := ar
41 -+AR ?= ar
42 -
43 - INSTALL_BINDIR := $(PREFIX)/bin
44 - INSTALL_INCDIR := $(PREFIX)/include/rubberband
45
46 diff --git a/media-libs/rubberband/rubberband-1.9.0.ebuild b/media-libs/rubberband/rubberband-1.9.0.ebuild
47 deleted file mode 100644
48 index 3a6cfca0a2c..00000000000
49 --- a/media-libs/rubberband/rubberband-1.9.0.ebuild
50 +++ /dev/null
51 @@ -1,74 +0,0 @@
52 -# Copyright 1999-2020 Gentoo Authors
53 -# Distributed under the terms of the GNU General Public License v2
54 -
55 -EAPI=7
56 -
57 -inherit multilib-minimal toolchain-funcs
58 -
59 -DESCRIPTION="An audio time-stretching and pitch-shifting library and utility program"
60 -HOMEPAGE="https://www.breakfastquay.com/rubberband/"
61 -SRC_URI="https://breakfastquay.com/files/releases/${P}.tar.bz2"
62 -
63 -LICENSE="GPL-2"
64 -SLOT="0"
65 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86"
66 -IUSE="ladspa static-libs +programs vamp"
67 -
68 -BDEPEND="
69 - virtual/pkgconfig
70 -"
71 -CDEPEND="
72 - media-libs/libsamplerate[${MULTILIB_USEDEP}]
73 - media-libs/libsndfile
74 - sci-libs/fftw:3.0[${MULTILIB_USEDEP}]
75 - ladspa? ( media-libs/ladspa-sdk )
76 - vamp? ( media-libs/vamp-plugin-sdk[${MULTILIB_USEDEP}] )
77 -"
78 -RDEPEND="${CDEPEND}"
79 -DEPEND="${CDEPEND}"
80 -
81 -PATCHES=(
82 - "${FILESDIR}/${P}-makefile.patch"
83 -)
84 -
85 -src_prepare() {
86 - default
87 - if ! use static-libs ; then
88 - sed -e '/^all:/s/$(STATIC_TARGET)//' \
89 - -e '/^\tcp $(STATIC_TARGET)/d' \
90 - -i Makefile.in || die
91 - fi
92 -
93 - sed -e '/cp -f.*JNI_TARGET/d' -i Makefile.in || die
94 -
95 - multilib_copy_sources
96 -}
97 -
98 -multilib_src_configure() {
99 - econf \
100 - $(use_enable programs ) \
101 - $(use_enable ladspa ) \
102 - $(use_enable vamp )
103 -}
104 -
105 -multilib_src_compile() {
106 - emake AR="$(tc-getAR)"
107 -}
108 -
109 -multilib_src_install() {
110 - # fix libdir in .pc file
111 - sed -iE "s%/lib$%/$(get_libdir)%g" "${BUILD_DIR}/rubberband.pc.in" || die "Failed to fix .pc file"
112 -
113 - emake INSTALL_BINDIR="${ED}/usr/bin" \
114 - INSTALL_INCDIR="${ED}/usr/include/rubberband" \
115 - INSTALL_LIBDIR="${ED}/usr/$(get_libdir)" \
116 - INSTALL_VAMPDIR="${ED}/usr/$(get_libdir)/vamp" \
117 - INSTALL_LADSPADIR="${ED}/usr/$(get_libdir)/ladspa" \
118 - INSTALL_LRDFDIR="${ED}/usr/share/ladspa/rdf" \
119 - INSTALL_PKGDIR="${ED}/usr/$(get_libdir)/pkgconfig" \
120 - install
121 -}
122 -
123 -multilib_src_install_all() {
124 - einstalldocs
125 -}