public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-libs/rtaudio/, media-libs/rtaudio/files/
@ 2016-08-08  4:16 Tim Harder
  0 siblings, 0 replies; 3+ messages in thread
From: Tim Harder @ 2016-08-08  4:16 UTC (permalink / raw
  To: gentoo-commits

commit:     2bc13a02731fbeb9eb2b19fa353dae13dd6604ef
Author:     Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  8 04:14:41 2016 +0000
Commit:     Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Mon Aug  8 04:15:10 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bc13a02

media-libs/rtaudio: version bump to 4.1.2

 media-libs/rtaudio/Manifest                        |  1 +
 .../rtaudio/files/rtaudio-4.1.2-cflags.patch       | 12 ++++
 .../rtaudio/files/rtaudio-4.1.2-configure.patch    | 68 ++++++++++++++++++++++
 media-libs/rtaudio/rtaudio-4.1.2.ebuild            | 64 ++++++++++++++++++++
 4 files changed, 145 insertions(+)

diff --git a/media-libs/rtaudio/Manifest b/media-libs/rtaudio/Manifest
index 7972183..15d0893 100644
--- a/media-libs/rtaudio/Manifest
+++ b/media-libs/rtaudio/Manifest
@@ -1 +1,2 @@
 DIST rtaudio-4.0.12.tar.gz 330048 SHA256 5179056c796b9582e375d352efa0598e674b9719cf78a85a426517b375ff1cab SHA512 43068cafaf460425334588775bbeee115d1651142d8fa62808880296763952159bff297c482e6d58200cfb6d382205778405993dbbb3a769e4b1228ff0aee3b6 WHIRLPOOL 252fc02dbebdc1777314a97e4acc18ce615f78a82a12cdf6bcf2759867a3da6c755977dec832351c5b86aec7825d07882024179703c746e654a5f7bc2d32b9ce
+DIST rtaudio-4.1.2.tar.gz 682382 SHA256 294d044da313a430c44d311175a4f51c15d56d87ecf72ad9c236f57772ecffb8 SHA512 1e7f7f0f4dc451d023a7c8ab287fe63034cf6b4e18fe138bab253c307d6dd0cddb669b031f6c21325aaac0ce53002acd2a17dd1e47bd8ac2cb14e058cfce1a21 WHIRLPOOL c1e76424c02c43b7328ea4eb7ff632477d2eace02c9d4b9b4ba029cce4f939263a2f4035288503f65efe9a7bf93ddc797e341d7a64d0864c49f19526125860d3

diff --git a/media-libs/rtaudio/files/rtaudio-4.1.2-cflags.patch b/media-libs/rtaudio/files/rtaudio-4.1.2-cflags.patch
new file mode 100644
index 0000000..4997845
--- /dev/null
+++ b/media-libs/rtaudio/files/rtaudio-4.1.2-cflags.patch
@@ -0,0 +1,12 @@
+--- rtaudio-4.1.2/configure.ac
++++ rtaudio-4.1.2/configure.ac
+@@ -62,8 +62,7 @@
+ AC_MSG_CHECKING(whether to compile debug version)
+ AC_ARG_ENABLE(debug,
+   [AS_HELP_STRING([--enable-debug],[enable various debug output])],
+-  [: ${CXXFLAGS="-g -O0"};] [AC_DEFINE([__RTAUDIO_DEBUG__])],
+-  [: ${CXXFLAGS="-O3"}])
++  [AC_DEFINE([__RTAUDIO_DEBUG__])], )
+ 
+ # Checks for programs.
+ AC_PROG_CXX(g++ CC c++ cxx)

diff --git a/media-libs/rtaudio/files/rtaudio-4.1.2-configure.patch b/media-libs/rtaudio/files/rtaudio-4.1.2-configure.patch
new file mode 100644
index 0000000..fa33fb2
--- /dev/null
+++ b/media-libs/rtaudio/files/rtaudio-4.1.2-configure.patch
@@ -0,0 +1,68 @@
+--- rtaudio-4.1.2/configure.ac
++++ rtaudio-4.1.2/configure.ac
+@@ -69,9 +69,9 @@
+ AC_PROG_CXX(g++ CC c++ cxx)
+ AM_PROG_AR
+ 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")
++])
+ 
+ # Initialize libtool
+ LT_INIT([win32-dll])
+@@ -131,38 +130,41 @@
+   ;;
+ 
+   *-*-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)
+-    AC_CHECK_LIB(pulse-simple, pa_simple_flush, , AC_MSG_ERROR(PulseAudio support requires the pulse-simple library!))], )
++    AC_CHECK_LIB(pulse-simple, pa_simple_flush, , AC_MSG_ERROR(PulseAudio support requires the pulse-simple library!))])
+ 
+   # 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/rtaudio-4.1.2.ebuild b/media-libs/rtaudio/rtaudio-4.1.2.ebuild
new file mode 100644
index 0000000..604a640
--- /dev/null
+++ b/media-libs/rtaudio/rtaudio-4.1.2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils autotools
+
+DESCRIPTION="A set of cross-platform C++ classes for realtime audio I/O"
+HOMEPAGE="http://www.music.mcgill.ca/~gary/rtaudio/"
+SRC_URI="http://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() {
+	local PATCHES=(
+		"${FILESDIR}"/${P}-configure.patch
+		"${FILESDIR}"/${P}-cflags.patch
+	)
+
+	default
+
+	# don't rebuild docs
+	export ac_cv_prog_DOXYGEN=
+
+	eautoreconf
+}
+
+src_configure() {
+	# OSS support requires OSSv4
+	local myconf=(
+		$(use_enable static-libs static)
+		$(use_with jack)
+		$(use_with alsa)
+		$(use_with pulseaudio pulse)
+		--without-oss
+	)
+
+	econf "${myconf[@]}"
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+
+	dodoc readme doc/release.txt
+	if use doc ; then
+		dodoc -r doc/html
+		dodoc -r doc/images
+	fi
+
+	prune_libtool_files
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/rtaudio/, media-libs/rtaudio/files/
@ 2019-12-21 21:06 Miroslav Šulc
  0 siblings, 0 replies; 3+ messages in thread
From: Miroslav Šulc @ 2019-12-21 21:06 UTC (permalink / raw
  To: gentoo-commits

commit:     d1a766c7f8cb8fd55207aed1997115d6bf20a690
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 21 21:05:36 2019 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Dec 21 21:06:04 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1a766c7

media-libs/rtaudio: bump 5.1.0

1) eapi7
2) switched to virtual/jack

Closes: https://bugs.gentoo.org/639744
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-libs/rtaudio/Manifest                        |  1 +
 .../rtaudio/files/rtaudio-5.1.0-cflags.patch       | 17 ++++++
 media-libs/rtaudio/rtaudio-5.1.0.ebuild            | 62 ++++++++++++++++++++++
 3 files changed, 80 insertions(+)

diff --git a/media-libs/rtaudio/Manifest b/media-libs/rtaudio/Manifest
index 629e8dfbed2..fcd2ddd0311 100644
--- a/media-libs/rtaudio/Manifest
+++ b/media-libs/rtaudio/Manifest
@@ -1,2 +1,3 @@
 DIST rtaudio-4.1.2.tar.gz 682382 BLAKE2B ddfb0797db8ffef9a73b1af1864a7e9ec5028ff92473a82c8198fc0e8cce35e76ce820487b750988a91b7a519230659f446f2644288b0347c12c2f72b03fd45d SHA512 1e7f7f0f4dc451d023a7c8ab287fe63034cf6b4e18fe138bab253c307d6dd0cddb669b031f6c21325aaac0ce53002acd2a17dd1e47bd8ac2cb14e058cfce1a21
 DIST rtaudio-5.0.0.tar.gz 615284 BLAKE2B ffb21042896b868b5368708594e050773ea23638e5eca8ea4c63204ee8ad3e433e26f1cc7f359a113df3a962dcaceaff72846346357c9e134c30dde89813cf0a SHA512 390b6c454c42cf066fa94af397b784430dadc1650de320be377b7bbd09eda8705936bff3ee4327358815c3d5247a38fead81c8778cd85db30a12a6ace742c84a
+DIST rtaudio-5.1.0.tar.gz 655613 BLAKE2B 9fee4a42a2fc040d3f8c8a18c4ef361bfd9cab22df189f6aff23098e299424d8cb4b54075f33ee4f1ab1f851125194228f65814838b091144431bd891a4c7dfe SHA512 221636cfac2286e17f1f2312be2094b6c89087230b95b649661f9ce91356c77fdd8996fd031f0895aba0b50e8091491cdf393a6aeee6f8508ed320180d8fccf6

diff --git a/media-libs/rtaudio/files/rtaudio-5.1.0-cflags.patch b/media-libs/rtaudio/files/rtaudio-5.1.0-cflags.patch
new file mode 100644
index 00000000000..0304c57b4db
--- /dev/null
+++ b/media-libs/rtaudio/files/rtaudio-5.1.0-cflags.patch
@@ -0,0 +1,17 @@
+diff --git a/configure.ac b/configure.ac
+index 43c054a..27a809a 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -101,12 +101,10 @@ AS_CASE([${enable_debug}],
+   [ yes ], [
+     AC_MSG_RESULT([yes])
+     AC_DEFINE([__RTAUDIO_DEBUG__])
+-    debugflags="${debugflags} -g -O0"
+     object_path=Debug
+   ],
+   [ no ], [
+     AC_MSG_RESULT([no!])
+-    debugflags="${debugflags} -O3"
+   ], [
+     AC_MSG_RESULT([no])
+   ])

diff --git a/media-libs/rtaudio/rtaudio-5.1.0.ebuild b/media-libs/rtaudio/rtaudio-5.1.0.ebuild
new file mode 100644
index 00000000000..b58111fc01a
--- /dev/null
+++ b/media-libs/rtaudio/rtaudio-5.1.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+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/6"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+alsa doc jack pulseaudio static-libs"
+REQUIRED_USE="|| ( alsa jack pulseaudio )"
+
+RDEPEND="alsa? ( media-libs/alsa-lib )
+	jack? (
+		media-libs/alsa-lib
+		virtual/jack
+	)
+	pulseaudio? ( media-sound/pulseaudio )"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-cflags.patch
+)
+
+src_prepare() {
+	default
+
+	# don't rebuild docs
+	export ac_cv_prog_DOXYGEN=
+
+	eautoreconf
+}
+
+src_configure() {
+	# OSS support requires OSSv4
+	local myconf=(
+		$(use_enable static-libs static)
+		$(use_with jack)
+		$(use_with alsa)
+		$(use_with pulseaudio pulse)
+		--without-oss
+	)
+
+	econf "${myconf[@]}"
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+
+	dodoc README.md doc/release.txt
+	if use doc; then
+		dodoc -r doc/html
+		dodoc -r doc/images
+	fi
+
+	find "${D}" -name "*.la" -delete
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/rtaudio/, media-libs/rtaudio/files/
@ 2020-03-19 13:17 Miroslav Šulc
  0 siblings, 0 replies; 3+ messages in thread
From: Miroslav Šulc @ 2020-03-19 13:17 UTC (permalink / raw
  To: gentoo-commits

commit:     9a2d5b45cae5d87b7025f4f48946abe67a2f2655
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 19 13:17:13 2020 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Mar 19 13:17:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a2d5b45

media-libs/rtaudio: removed old 4.1.2 and 5.0.0

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-libs/rtaudio/Manifest                        |  2 -
 .../rtaudio/files/rtaudio-4.1.2-cflags.patch       | 12 ----
 .../rtaudio/files/rtaudio-4.1.2-configure.patch    | 68 ----------------------
 media-libs/rtaudio/rtaudio-4.1.2.ebuild            | 63 --------------------
 media-libs/rtaudio/rtaudio-5.0.0.ebuild            | 62 --------------------
 5 files changed, 207 deletions(-)

diff --git a/media-libs/rtaudio/Manifest b/media-libs/rtaudio/Manifest
index fcd2ddd0311..7ef013b98bc 100644
--- a/media-libs/rtaudio/Manifest
+++ b/media-libs/rtaudio/Manifest
@@ -1,3 +1 @@
-DIST rtaudio-4.1.2.tar.gz 682382 BLAKE2B ddfb0797db8ffef9a73b1af1864a7e9ec5028ff92473a82c8198fc0e8cce35e76ce820487b750988a91b7a519230659f446f2644288b0347c12c2f72b03fd45d SHA512 1e7f7f0f4dc451d023a7c8ab287fe63034cf6b4e18fe138bab253c307d6dd0cddb669b031f6c21325aaac0ce53002acd2a17dd1e47bd8ac2cb14e058cfce1a21
-DIST rtaudio-5.0.0.tar.gz 615284 BLAKE2B ffb21042896b868b5368708594e050773ea23638e5eca8ea4c63204ee8ad3e433e26f1cc7f359a113df3a962dcaceaff72846346357c9e134c30dde89813cf0a SHA512 390b6c454c42cf066fa94af397b784430dadc1650de320be377b7bbd09eda8705936bff3ee4327358815c3d5247a38fead81c8778cd85db30a12a6ace742c84a
 DIST rtaudio-5.1.0.tar.gz 655613 BLAKE2B 9fee4a42a2fc040d3f8c8a18c4ef361bfd9cab22df189f6aff23098e299424d8cb4b54075f33ee4f1ab1f851125194228f65814838b091144431bd891a4c7dfe SHA512 221636cfac2286e17f1f2312be2094b6c89087230b95b649661f9ce91356c77fdd8996fd031f0895aba0b50e8091491cdf393a6aeee6f8508ed320180d8fccf6

diff --git a/media-libs/rtaudio/files/rtaudio-4.1.2-cflags.patch b/media-libs/rtaudio/files/rtaudio-4.1.2-cflags.patch
deleted file mode 100644
index 49978458c68..00000000000
--- a/media-libs/rtaudio/files/rtaudio-4.1.2-cflags.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- rtaudio-4.1.2/configure.ac
-+++ rtaudio-4.1.2/configure.ac
-@@ -62,8 +62,7 @@
- AC_MSG_CHECKING(whether to compile debug version)
- AC_ARG_ENABLE(debug,
-   [AS_HELP_STRING([--enable-debug],[enable various debug output])],
--  [: ${CXXFLAGS="-g -O0"};] [AC_DEFINE([__RTAUDIO_DEBUG__])],
--  [: ${CXXFLAGS="-O3"}])
-+  [AC_DEFINE([__RTAUDIO_DEBUG__])], )
- 
- # Checks for programs.
- AC_PROG_CXX(g++ CC c++ cxx)

diff --git a/media-libs/rtaudio/files/rtaudio-4.1.2-configure.patch b/media-libs/rtaudio/files/rtaudio-4.1.2-configure.patch
deleted file mode 100644
index fa33fb21fee..00000000000
--- a/media-libs/rtaudio/files/rtaudio-4.1.2-configure.patch
+++ /dev/null
@@ -1,68 +0,0 @@
---- rtaudio-4.1.2/configure.ac
-+++ rtaudio-4.1.2/configure.ac
-@@ -69,9 +69,9 @@
- AC_PROG_CXX(g++ CC c++ cxx)
- AM_PROG_AR
- 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")
-+])
- 
- # Initialize libtool
- LT_INIT([win32-dll])
-@@ -131,38 +130,41 @@
-   ;;
- 
-   *-*-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)
--    AC_CHECK_LIB(pulse-simple, pa_simple_flush, , AC_MSG_ERROR(PulseAudio support requires the pulse-simple library!))], )
-+    AC_CHECK_LIB(pulse-simple, pa_simple_flush, , AC_MSG_ERROR(PulseAudio support requires the pulse-simple library!))])
- 
-   # 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/rtaudio-4.1.2.ebuild b/media-libs/rtaudio/rtaudio-4.1.2.ebuild
deleted file mode 100644
index 88f1c3e3134..00000000000
--- a/media-libs/rtaudio/rtaudio-4.1.2.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils autotools ltprune
-
-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 arm64 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() {
-	local PATCHES=(
-		"${FILESDIR}"/${P}-configure.patch
-		"${FILESDIR}"/${P}-cflags.patch
-	)
-
-	default
-
-	# don't rebuild docs
-	export ac_cv_prog_DOXYGEN=
-
-	eautoreconf
-}
-
-src_configure() {
-	# OSS support requires OSSv4
-	local myconf=(
-		$(use_enable static-libs static)
-		$(use_with jack)
-		$(use_with alsa)
-		$(use_with pulseaudio pulse)
-		--without-oss
-	)
-
-	econf "${myconf[@]}"
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-
-	dodoc readme doc/release.txt
-	if use doc ; then
-		dodoc -r doc/html
-		dodoc -r doc/images
-	fi
-
-	prune_libtool_files
-}

diff --git a/media-libs/rtaudio/rtaudio-5.0.0.ebuild b/media-libs/rtaudio/rtaudio-5.0.0.ebuild
deleted file mode 100644
index 294675a9a99..00000000000
--- a/media-libs/rtaudio/rtaudio-5.0.0.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit ltprune autotools
-
-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/6"
-KEYWORDS="~amd64 ~arm64 ~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}"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-4.1.2-cflags.patch
-)
-
-src_prepare() {
-	default
-
-	# don't rebuild docs
-	export ac_cv_prog_DOXYGEN=
-
-	eautoreconf
-}
-
-src_configure() {
-	# OSS support requires OSSv4
-	local myconf=(
-		$(use_enable static-libs static)
-		$(use_with jack)
-		$(use_with alsa)
-		$(use_with pulseaudio pulse)
-		--without-oss
-	)
-
-	econf "${myconf[@]}"
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-
-	dodoc readme doc/release.txt
-	if use doc; then
-		dodoc -r doc/html
-		dodoc -r doc/images
-	fi
-
-	prune_libtool_files
-}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-03-19 13:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-21 21:06 [gentoo-commits] repo/gentoo:master commit in: media-libs/rtaudio/, media-libs/rtaudio/files/ Miroslav Šulc
  -- strict thread matches above, loose matches on Subject: below --
2020-03-19 13:17 Miroslav Šulc
2016-08-08  4:16 Tim Harder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox