media-libs/rtaudio: Drop 4.0.12
authorAndreas Sturmlechner <asturm@gentoo.org>
Thu, 30 Aug 2018 22:41:27 +0000 (00:41 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Fri, 7 Sep 2018 20:33:51 +0000 (22:33 +0200)
Package-Manager: Portage-2.3.48, Repoman-2.3.10

media-libs/rtaudio/Manifest
media-libs/rtaudio/files/rtaudio-4.0.11-cflags.patch [deleted file]
media-libs/rtaudio/files/rtaudio-4.0.12-configure.patch [deleted file]
media-libs/rtaudio/files/rtaudio-4.0.12-makefile.patch [deleted file]
media-libs/rtaudio/rtaudio-4.0.12-r1.ebuild [deleted file]

index 634d4d095d5309ec2e0497c119481c7b94feb9f7..629e8dfbed2d58fd23c3b0809157b49b3f53b861 100644 (file)
@@ -1,3 +1,2 @@
-DIST rtaudio-4.0.12.tar.gz 330048 BLAKE2B 682abd5df8bd7cd4ea06c8825f11a04ee58c3adf71e019a0eeb42e4b390996ed13742328a4cfe7ae30b65d08370271b438c66d4951c5982223e73cbb221fda8f SHA512 43068cafaf460425334588775bbeee115d1651142d8fa62808880296763952159bff297c482e6d58200cfb6d382205778405993dbbb3a769e4b1228ff0aee3b6
 DIST rtaudio-4.1.2.tar.gz 682382 BLAKE2B ddfb0797db8ffef9a73b1af1864a7e9ec5028ff92473a82c8198fc0e8cce35e76ce820487b750988a91b7a519230659f446f2644288b0347c12c2f72b03fd45d SHA512 1e7f7f0f4dc451d023a7c8ab287fe63034cf6b4e18fe138bab253c307d6dd0cddb669b031f6c21325aaac0ce53002acd2a17dd1e47bd8ac2cb14e058cfce1a21
 DIST rtaudio-5.0.0.tar.gz 615284 BLAKE2B ffb21042896b868b5368708594e050773ea23638e5eca8ea4c63204ee8ad3e433e26f1cc7f359a113df3a962dcaceaff72846346357c9e134c30dde89813cf0a SHA512 390b6c454c42cf066fa94af397b784430dadc1650de320be377b7bbd09eda8705936bff3ee4327358815c3d5247a38fead81c8778cd85db30a12a6ace742c84a
diff --git a/media-libs/rtaudio/files/rtaudio-4.0.11-cflags.patch b/media-libs/rtaudio/files/rtaudio-4.0.11-cflags.patch
deleted file mode 100644 (file)
index 9fa6579..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
---- rtaudio-4.0.11/configure.ac
-+++ rtaudio-4.0.11/configure.ac
-@@ -23,8 +23,8 @@
- AC_MSG_CHECKING(whether to compile debug version)
- AC_ARG_ENABLE(debug,
-   [  --enable-debug = enable various debug output],
--  [AC_SUBST( cppflag, [-D__RTAUDIO_DEBUG__] ) AC_SUBST( cxxflag, [-g] ) AC_SUBST( object_path, [Debug] ) AC_MSG_RESULT(yes)],
--  [AC_SUBST( cppflag, [] ) AC_SUBST( cxxflag, [-O2] ) AC_SUBST( object_path, [Release] ) AC_MSG_RESULT(no)])
-+  [AC_SUBST( cppflag, [-D__RTAUDIO_DEBUG__] ) AC_SUBST( object_path, [Debug] ) AC_MSG_RESULT(yes)],
-+  [AC_SUBST( cppflag, [] ) AC_SUBST( object_path, [Release] ) AC_MSG_RESULT(no)])
- # Checks for functions
-@@ -33,10 +33,6 @@
- # For -I and -D flags
- CPPFLAGS="$CPPFLAGS $cppflag"
--# For debugging and optimization ... overwrite default because it has both -g and -O2
--#CXXFLAGS="$CXXFLAGS $cxxflag"
--CXXFLAGS="$cxxflag"
--
- # Check compiler and use -Wall if gnu.
- if [test $GXX = "yes" ;] then
-   AC_SUBST( cxxflag, [-Wall] )
diff --git a/media-libs/rtaudio/files/rtaudio-4.0.12-configure.patch b/media-libs/rtaudio/files/rtaudio-4.0.12-configure.patch
deleted file mode 100644 (file)
index 7680f75..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
---- rtaudio-4.0.12/configure.ac
-+++ rtaudio-4.0.12/configure.ac
-@@ -25,9 +25,9 @@
- AC_PROG_CXX(g++ CC c++ cxx)
- AC_PROG_RANLIB
- AC_PATH_PROG(AR, ar, no)
--if [[ $AR = "no" ]] ; then
--    AC_MSG_ERROR("Could not find ar - needed to create a library");
--fi
-+AS_IF([test "x$AR" == "x" ], [
-+  AC_MSG_ERROR("Could not find ar - needed to create a library")
-+])
- # Checks for header files.
- AC_HEADER_STDC
-@@ -83,39 +83,46 @@
-   ;;
-   *-*-linux*)
--  AC_ARG_WITH(jack, [  --with-jack = choose JACK server support (mac and linux only)], [
-+  AC_ARG_WITH([jack], AS_HELP_STRING([--with-jack], [choose JACK server support (mac and linux only)]))
-+
-+  AS_IF([test "x$with_jack" != "xno"], [
-     api="$api -D__UNIX_JACK__"
-     AC_MSG_RESULT(using JACK)
-     AC_CHECK_LIB(jack, jack_client_open, , AC_MSG_ERROR(JACK support requires the jack library!))
--    AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(Jack support also requires the asound library!))], )
-+    AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(Jack support also requires the asound library!))])
-   # Look for ALSA flag
--  AC_ARG_WITH(alsa, [  --with-alsa = choose native ALSA API support (linux only)], [
-+  AC_ARG_WITH([alsa], AS_HELP_STRING([--with-alsa], [choose native ALSA API support (linux only)]))
-+
-+  AS_IF([test "x$with_alsa" != "xno"], [
-     api="$api -D__LINUX_ALSA__"
-     req="$req alsa"
-     AC_MSG_RESULT(using ALSA)
--    AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(ALSA support requires the asound library!))], )
-+    AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(ALSA support requires the asound library!))])
-   # Look for PULSE flag
--  AC_ARG_WITH(pulse, [  --with-pulse = choose PulseAudio API support (linux only)], [
-+  AC_ARG_WITH([pulse], AS_HELP_STRING([--with-pulse], [choose PulseAudio API support (linux only)]))
-+
-+  AS_IF([test "x$with_pulse" != "xno"], [
-     api="$api -D__LINUX_PULSE__"
-     req="$req libpulse-simple"
-     AC_MSG_RESULT(using PulseAudio)
-     PKG_CHECK_MODULES([PULSE], [libpulse-simple], , AC_MSG_ERROR(PulseAudio support requires the pulse-simple library!))
--        LIBS="$LIBS `pkg-config --libs libpulse-simple`" ], )
-+        LIBS="$LIBS `pkg-config --libs libpulse-simple`" ])
-   # Look for OSS flag
--  AC_ARG_WITH(oss, [  --with-oss = choose OSS API support (linux only)], [
-+  AC_ARG_WITH([oss], AS_HELP_STRING([--with-oss], [choose OSS API support (linux only)]))
-+
-+  AS_IF([test "x$with_oss" != "xno"], [
-     api="$api -D__LINUX_OSS__"
--    AC_MSG_RESULT(using OSS)], )
-+    AC_MSG_RESULT(using OSS)])
-   # If no audio api flags specified, use ALSA
--  if [test "$api" == "";] then
-+  AS_IF([test "x$api" == "x"], [
-     AC_MSG_RESULT(using ALSA)
-     AC_SUBST( api, [-D__LINUX_ALSA__] )
-     req="$req alsa"
--    AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(ALSA support requires the asound library!))
--  fi
-+    AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(ALSA support requires the asound library!))])
-   AC_CHECK_LIB(pthread, pthread_create, , AC_MSG_ERROR(RtAudio requires the pthread library!))
-   ;;
diff --git a/media-libs/rtaudio/files/rtaudio-4.0.12-makefile.patch b/media-libs/rtaudio/files/rtaudio-4.0.12-makefile.patch
deleted file mode 100644 (file)
index adf109d..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
---- rtaudio-4.0.12/Makefile.in
-+++ rtaudio-4.0.12/Makefile.in
-@@ -24,9 +24,11 @@
- tests:
-       cd tests && $(MAKE) all
--$(LIBRARIES): $(OBJECTS)
-+$(STATIC): $(OBJECTS)
-       $(AR) ruv $(STATIC) $(OBJECTS)
--      ranlib $(STATIC)
-+      $(RANLIB) $(STATIC)
-+
-+$(SHARED): $(OBJECTS)
-       $(CC) -fPIC @libflags@ $(OBJECTS) @LIBS@
-       $(LN) -sf @sharedname@ $(SHARED)
-       $(LN) -sf @sharedname@ $(SHARED).$(MAJOR)
diff --git a/media-libs/rtaudio/rtaudio-4.0.12-r1.ebuild b/media-libs/rtaudio/rtaudio-4.0.12-r1.ebuild
deleted file mode 100644 (file)
index fbef5aa..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils autotools toolchain-funcs
-
-DESCRIPTION="A set of cross-platform C++ classes for realtime audio I/O"
-HOMEPAGE="https://www.music.mcgill.ca/~gary/rtaudio/"
-SRC_URI="https://www.music.mcgill.ca/~gary/${PN}/release/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="+alsa doc jack pulseaudio static-libs"
-REQUIRED_USE="|| ( alsa jack pulseaudio )"
-
-RDEPEND="alsa? ( media-libs/alsa-lib )
-       jack? (
-               media-libs/alsa-lib
-               media-sound/jack-audio-connection-kit
-       )
-       pulseaudio? ( media-sound/pulseaudio )"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
-       epatch "${FILESDIR}"/${PN}-4.0.11-cflags.patch
-       epatch "${FILESDIR}"/${P}-makefile.patch
-       epatch "${FILESDIR}"/${P}-configure.patch
-
-       if ! use static-libs ; then
-               sed -i '/^LIBRARIES =/s/$(STATIC)//' Makefile.in || die
-       fi
-
-       eautoreconf
-}
-
-src_configure() {
-       # OSS support requires OSSv4
-       econf \
-               --without-oss \
-               $(use_with alsa) \
-               $(use_with jack) \
-               $(use_with pulseaudio pulse)
-}
-
-src_compile() {
-       emake AR="$(tc-getAR)"
-}
-
-src_install() {
-       dolib.so librtaudio.so*
-       use static-libs && dolib.a librtaudio.a
-
-       dobin rtaudio-config
-       doheader *.h
-       dodoc readme doc/release.txt
-
-       if use doc ; then
-               dohtml -r doc/html/*
-               dodoc -r doc/images
-       fi
-}