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/rtaudio/files/, media-libs/rtaudio/
Date: Fri, 07 Sep 2018 20:34:53
Message-Id: 1536352431.a1ad2ca1cf7e28b4d59cfddb0ed1492773793b83.asturm@gentoo
1 commit: a1ad2ca1cf7e28b4d59cfddb0ed1492773793b83
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 30 22:41:27 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 7 20:33:51 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1ad2ca1
7
8 media-libs/rtaudio: Drop 4.0.12
9
10 Package-Manager: Portage-2.3.48, Repoman-2.3.10
11
12 media-libs/rtaudio/Manifest | 1 -
13 .../rtaudio/files/rtaudio-4.0.11-cflags.patch | 24 -------
14 .../rtaudio/files/rtaudio-4.0.12-configure.patch | 73 ----------------------
15 .../rtaudio/files/rtaudio-4.0.12-makefile.patch | 16 -----
16 media-libs/rtaudio/rtaudio-4.0.12-r1.ebuild | 63 -------------------
17 5 files changed, 177 deletions(-)
18
19 diff --git a/media-libs/rtaudio/Manifest b/media-libs/rtaudio/Manifest
20 index 634d4d095d5..629e8dfbed2 100644
21 --- a/media-libs/rtaudio/Manifest
22 +++ b/media-libs/rtaudio/Manifest
23 @@ -1,3 +1,2 @@
24 -DIST rtaudio-4.0.12.tar.gz 330048 BLAKE2B 682abd5df8bd7cd4ea06c8825f11a04ee58c3adf71e019a0eeb42e4b390996ed13742328a4cfe7ae30b65d08370271b438c66d4951c5982223e73cbb221fda8f SHA512 43068cafaf460425334588775bbeee115d1651142d8fa62808880296763952159bff297c482e6d58200cfb6d382205778405993dbbb3a769e4b1228ff0aee3b6
25 DIST rtaudio-4.1.2.tar.gz 682382 BLAKE2B ddfb0797db8ffef9a73b1af1864a7e9ec5028ff92473a82c8198fc0e8cce35e76ce820487b750988a91b7a519230659f446f2644288b0347c12c2f72b03fd45d SHA512 1e7f7f0f4dc451d023a7c8ab287fe63034cf6b4e18fe138bab253c307d6dd0cddb669b031f6c21325aaac0ce53002acd2a17dd1e47bd8ac2cb14e058cfce1a21
26 DIST rtaudio-5.0.0.tar.gz 615284 BLAKE2B ffb21042896b868b5368708594e050773ea23638e5eca8ea4c63204ee8ad3e433e26f1cc7f359a113df3a962dcaceaff72846346357c9e134c30dde89813cf0a SHA512 390b6c454c42cf066fa94af397b784430dadc1650de320be377b7bbd09eda8705936bff3ee4327358815c3d5247a38fead81c8778cd85db30a12a6ace742c84a
27
28 diff --git a/media-libs/rtaudio/files/rtaudio-4.0.11-cflags.patch b/media-libs/rtaudio/files/rtaudio-4.0.11-cflags.patch
29 deleted file mode 100644
30 index 9fa657929c2..00000000000
31 --- a/media-libs/rtaudio/files/rtaudio-4.0.11-cflags.patch
32 +++ /dev/null
33 @@ -1,24 +0,0 @@
34 ---- rtaudio-4.0.11/configure.ac
35 -+++ rtaudio-4.0.11/configure.ac
36 -@@ -23,8 +23,8 @@
37 - AC_MSG_CHECKING(whether to compile debug version)
38 - AC_ARG_ENABLE(debug,
39 - [ --enable-debug = enable various debug output],
40 -- [AC_SUBST( cppflag, [-D__RTAUDIO_DEBUG__] ) AC_SUBST( cxxflag, [-g] ) AC_SUBST( object_path, [Debug] ) AC_MSG_RESULT(yes)],
41 -- [AC_SUBST( cppflag, [] ) AC_SUBST( cxxflag, [-O2] ) AC_SUBST( object_path, [Release] ) AC_MSG_RESULT(no)])
42 -+ [AC_SUBST( cppflag, [-D__RTAUDIO_DEBUG__] ) AC_SUBST( object_path, [Debug] ) AC_MSG_RESULT(yes)],
43 -+ [AC_SUBST( cppflag, [] ) AC_SUBST( object_path, [Release] ) AC_MSG_RESULT(no)])
44 -
45 -
46 - # Checks for functions
47 -@@ -33,10 +33,6 @@
48 - # For -I and -D flags
49 - CPPFLAGS="$CPPFLAGS $cppflag"
50 -
51 --# For debugging and optimization ... overwrite default because it has both -g and -O2
52 --#CXXFLAGS="$CXXFLAGS $cxxflag"
53 --CXXFLAGS="$cxxflag"
54 --
55 - # Check compiler and use -Wall if gnu.
56 - if [test $GXX = "yes" ;] then
57 - AC_SUBST( cxxflag, [-Wall] )
58
59 diff --git a/media-libs/rtaudio/files/rtaudio-4.0.12-configure.patch b/media-libs/rtaudio/files/rtaudio-4.0.12-configure.patch
60 deleted file mode 100644
61 index 7680f75d40d..00000000000
62 --- a/media-libs/rtaudio/files/rtaudio-4.0.12-configure.patch
63 +++ /dev/null
64 @@ -1,73 +0,0 @@
65 ---- rtaudio-4.0.12/configure.ac
66 -+++ rtaudio-4.0.12/configure.ac
67 -@@ -25,9 +25,9 @@
68 - AC_PROG_CXX(g++ CC c++ cxx)
69 - AC_PROG_RANLIB
70 - AC_PATH_PROG(AR, ar, no)
71 --if [[ $AR = "no" ]] ; then
72 -- AC_MSG_ERROR("Could not find ar - needed to create a library");
73 --fi
74 -+AS_IF([test "x$AR" == "x" ], [
75 -+ AC_MSG_ERROR("Could not find ar - needed to create a library")
76 -+])
77 -
78 - # Checks for header files.
79 - AC_HEADER_STDC
80 -@@ -83,39 +83,46 @@
81 - ;;
82 -
83 - *-*-linux*)
84 -- AC_ARG_WITH(jack, [ --with-jack = choose JACK server support (mac and linux only)], [
85 -+ AC_ARG_WITH([jack], AS_HELP_STRING([--with-jack], [choose JACK server support (mac and linux only)]))
86 -+
87 -+ AS_IF([test "x$with_jack" != "xno"], [
88 - api="$api -D__UNIX_JACK__"
89 - AC_MSG_RESULT(using JACK)
90 - AC_CHECK_LIB(jack, jack_client_open, , AC_MSG_ERROR(JACK support requires the jack library!))
91 -- AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(Jack support also requires the asound library!))], )
92 -+ AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(Jack support also requires the asound library!))])
93 -
94 - # Look for ALSA flag
95 -- AC_ARG_WITH(alsa, [ --with-alsa = choose native ALSA API support (linux only)], [
96 -+ AC_ARG_WITH([alsa], AS_HELP_STRING([--with-alsa], [choose native ALSA API support (linux only)]))
97 -+
98 -+ AS_IF([test "x$with_alsa" != "xno"], [
99 - api="$api -D__LINUX_ALSA__"
100 - req="$req alsa"
101 - AC_MSG_RESULT(using ALSA)
102 -- AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(ALSA support requires the asound library!))], )
103 -+ AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(ALSA support requires the asound library!))])
104 -
105 - # Look for PULSE flag
106 -- AC_ARG_WITH(pulse, [ --with-pulse = choose PulseAudio API support (linux only)], [
107 -+ AC_ARG_WITH([pulse], AS_HELP_STRING([--with-pulse], [choose PulseAudio API support (linux only)]))
108 -+
109 -+ AS_IF([test "x$with_pulse" != "xno"], [
110 - api="$api -D__LINUX_PULSE__"
111 - req="$req libpulse-simple"
112 - AC_MSG_RESULT(using PulseAudio)
113 - PKG_CHECK_MODULES([PULSE], [libpulse-simple], , AC_MSG_ERROR(PulseAudio support requires the pulse-simple library!))
114 -- LIBS="$LIBS `pkg-config --libs libpulse-simple`" ], )
115 -+ LIBS="$LIBS `pkg-config --libs libpulse-simple`" ])
116 -
117 - # Look for OSS flag
118 -- AC_ARG_WITH(oss, [ --with-oss = choose OSS API support (linux only)], [
119 -+ AC_ARG_WITH([oss], AS_HELP_STRING([--with-oss], [choose OSS API support (linux only)]))
120 -+
121 -+ AS_IF([test "x$with_oss" != "xno"], [
122 - api="$api -D__LINUX_OSS__"
123 -- AC_MSG_RESULT(using OSS)], )
124 -+ AC_MSG_RESULT(using OSS)])
125 -
126 - # If no audio api flags specified, use ALSA
127 -- if [test "$api" == "";] then
128 -+ AS_IF([test "x$api" == "x"], [
129 - AC_MSG_RESULT(using ALSA)
130 - AC_SUBST( api, [-D__LINUX_ALSA__] )
131 - req="$req alsa"
132 -- AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(ALSA support requires the asound library!))
133 -- fi
134 -+ AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(ALSA support requires the asound library!))])
135 -
136 - AC_CHECK_LIB(pthread, pthread_create, , AC_MSG_ERROR(RtAudio requires the pthread library!))
137 - ;;
138
139 diff --git a/media-libs/rtaudio/files/rtaudio-4.0.12-makefile.patch b/media-libs/rtaudio/files/rtaudio-4.0.12-makefile.patch
140 deleted file mode 100644
141 index adf109de5de..00000000000
142 --- a/media-libs/rtaudio/files/rtaudio-4.0.12-makefile.patch
143 +++ /dev/null
144 @@ -1,16 +0,0 @@
145 ---- rtaudio-4.0.12/Makefile.in
146 -+++ rtaudio-4.0.12/Makefile.in
147 -@@ -24,9 +24,11 @@
148 - tests:
149 - cd tests && $(MAKE) all
150 -
151 --$(LIBRARIES): $(OBJECTS)
152 -+$(STATIC): $(OBJECTS)
153 - $(AR) ruv $(STATIC) $(OBJECTS)
154 -- ranlib $(STATIC)
155 -+ $(RANLIB) $(STATIC)
156 -+
157 -+$(SHARED): $(OBJECTS)
158 - $(CC) -fPIC @libflags@ $(OBJECTS) @LIBS@
159 - $(LN) -sf @sharedname@ $(SHARED)
160 - $(LN) -sf @sharedname@ $(SHARED).$(MAJOR)
161
162 diff --git a/media-libs/rtaudio/rtaudio-4.0.12-r1.ebuild b/media-libs/rtaudio/rtaudio-4.0.12-r1.ebuild
163 deleted file mode 100644
164 index fbef5aab668..00000000000
165 --- a/media-libs/rtaudio/rtaudio-4.0.12-r1.ebuild
166 +++ /dev/null
167 @@ -1,63 +0,0 @@
168 -# Copyright 1999-2016 Gentoo Foundation
169 -# Distributed under the terms of the GNU General Public License v2
170 -
171 -EAPI=5
172 -
173 -inherit eutils autotools toolchain-funcs
174 -
175 -DESCRIPTION="A set of cross-platform C++ classes for realtime audio I/O"
176 -HOMEPAGE="https://www.music.mcgill.ca/~gary/rtaudio/"
177 -SRC_URI="https://www.music.mcgill.ca/~gary/${PN}/release/${P}.tar.gz"
178 -
179 -LICENSE="MIT"
180 -SLOT="0"
181 -KEYWORDS="amd64 x86"
182 -IUSE="+alsa doc jack pulseaudio static-libs"
183 -REQUIRED_USE="|| ( alsa jack pulseaudio )"
184 -
185 -RDEPEND="alsa? ( media-libs/alsa-lib )
186 - jack? (
187 - media-libs/alsa-lib
188 - media-sound/jack-audio-connection-kit
189 - )
190 - pulseaudio? ( media-sound/pulseaudio )"
191 -DEPEND="${RDEPEND}"
192 -
193 -src_prepare() {
194 - epatch "${FILESDIR}"/${PN}-4.0.11-cflags.patch
195 - epatch "${FILESDIR}"/${P}-makefile.patch
196 - epatch "${FILESDIR}"/${P}-configure.patch
197 -
198 - if ! use static-libs ; then
199 - sed -i '/^LIBRARIES =/s/$(STATIC)//' Makefile.in || die
200 - fi
201 -
202 - eautoreconf
203 -}
204 -
205 -src_configure() {
206 - # OSS support requires OSSv4
207 - econf \
208 - --without-oss \
209 - $(use_with alsa) \
210 - $(use_with jack) \
211 - $(use_with pulseaudio pulse)
212 -}
213 -
214 -src_compile() {
215 - emake AR="$(tc-getAR)"
216 -}
217 -
218 -src_install() {
219 - dolib.so librtaudio.so*
220 - use static-libs && dolib.a librtaudio.a
221 -
222 - dobin rtaudio-config
223 - doheader *.h
224 - dodoc readme doc/release.txt
225 -
226 - if use doc ; then
227 - dohtml -r doc/html/*
228 - dodoc -r doc/images
229 - fi
230 -}