diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
commit | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch) | |
tree | e1810a4b135afce04b34862ef0fab2bfaeb8aeca /media-libs/rtaudio | |
parent | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff) |
gentoo resync : 15.01.2020
Diffstat (limited to 'media-libs/rtaudio')
-rw-r--r-- | media-libs/rtaudio/Manifest | 3 | ||||
-rw-r--r-- | media-libs/rtaudio/files/rtaudio-5.1.0-cflags.patch | 17 | ||||
-rw-r--r-- | media-libs/rtaudio/rtaudio-5.1.0.ebuild | 62 |
3 files changed, 82 insertions, 0 deletions
diff --git a/media-libs/rtaudio/Manifest b/media-libs/rtaudio/Manifest index a66af2f452d6..a3a744b26e4f 100644 --- a/media-libs/rtaudio/Manifest +++ b/media-libs/rtaudio/Manifest @@ -1,7 +1,10 @@ AUX rtaudio-4.1.2-cflags.patch 405 BLAKE2B cb495081882e3df93c29e8b4cff0d71e70a7f0ef3937338345a3956f4dfd32f8bea28d316a5ad9dfdc8a984d62942b42805df1b6e0f3e9a4575033fdf35b327c SHA512 6958533ff2a33bd5e1daf18206ffa816d279b9f39993cbd3987148228099f08910df0e243dbdd1112bdcd6e8fe554dbea9dfc79ef9217695c76996c817310375 AUX rtaudio-4.1.2-configure.patch 3054 BLAKE2B a1ea744db19ba3f59229d738cf4ec1aefd71d38c29ede28d13d403db69ee7c4dbb72c8c91fb3048b183086e7aea08224ed7b1be5711f57a95d609e19805e0b0e SHA512 d359742fa55d7d188a0032f512165cb73300fff3e85e03221a7b30340941fab5149645fe8683cad79f26c5ebdcfcef1a591cc16d0096fb0d5a699e6e7a819ed9 +AUX rtaudio-5.1.0-cflags.patch 416 BLAKE2B 6bc60ee1056a56e84a349b9677ab20a00f50fc22e053e0a2a29167db5f631f57749e96c73bbe585adaa346b878b43c5529f10f18b7153b79c10a4ac418d3c04e SHA512 7afad0bf9b562a9ed91567509aacc94d0cb3d95d8241e2bb14b6c826a499a296b99b7ee13317b65fb3bf4bc2526f357c1a34a290290b3fbd82810a43c820fdbf 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 EBUILD rtaudio-4.1.2.ebuild 1215 BLAKE2B 64056fa39e7213a87d46a333eccc254c5084285d69c263b423081c8f3882bf57ab4656fc9c822052dab469e4dccaf259f6ca96931792e8eb37c0ec5a51c86774 SHA512 4c238c75367fde305cab267d2aea1b6ac27d84213e9fa4e0e66af47150dca9fb4bac4714ee8dc26118d796eab473040ee118824046ddadbf96684bf55cd42710 EBUILD rtaudio-5.0.0.ebuild 1181 BLAKE2B 22500844a4cdcc82419f02af2da7c4bfcfcdcfa63b29b92df796f6f3192cae6fda870d258818d3f1e4ed4eead0f6fa544fe8d2bf46244c3356fbb0e66bcf35e6 SHA512 90901e14e75cc8fa3cee6f3cd4652740a1853737b4cbaaf38b1e56af7c3c4653150ada18d84212dbba811af1373131c00a2b5e18510e1a67cb129b6ebf6ab044 +EBUILD rtaudio-5.1.0.ebuild 1157 BLAKE2B f985435b0540995c4b04442e9f79754ce55de84bb6f8700edaa1189f790222cbee0128695cc4f84f18c91df90a4be333a87421ab97618b3d35dc7b9930213df4 SHA512 40c98e4b8e037bfa5c8b207c0b459dda4b2311e21369e23e9e9cee18fd5569cc826f5ca5c409152c38721f82699647acd8d579b7af82a0e3c438f8329aad5067 MISC metadata.xml 255 BLAKE2B 7a492321189530430d5c71d5598f8a99b548e020d8ace46bb200f1f18abb3a59c4d0dff84c8dc1f78297137c25684d42386d793b84a02e2363fab4d6dcedd4fa SHA512 9e74b875aa129f5b8108121402291772fde4ac18a157dc60f7b3e19c318ee54cd1be54e283a68bc61562f2dc3f5b338b161028d673ff7baa267192ff3b7e8dc8 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 000000000000..0304c57b4dbc --- /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 000000000000..b58111fc01a0 --- /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 +} |