diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-01 03:04:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-01 03:04:34 +0000 |
commit | aac5e1b02ac846f5e1ce85f4f66fdec46aa9b0d1 (patch) | |
tree | c95b33a77f5b447d4d4e83204c5a846a5c481a08 /media-libs/rtaudio | |
parent | b846e1a1ef5685462a20abbc77cf57ead9064b85 (diff) |
gentoo auto-resync : 01:11:2024 - 03:04:33
Diffstat (limited to 'media-libs/rtaudio')
-rw-r--r-- | media-libs/rtaudio/Manifest | 2 | ||||
-rw-r--r-- | media-libs/rtaudio/rtaudio-6.0.1.ebuild | 75 |
2 files changed, 77 insertions, 0 deletions
diff --git a/media-libs/rtaudio/Manifest b/media-libs/rtaudio/Manifest index f15a20146809..4d900c7dcd4d 100644 --- a/media-libs/rtaudio/Manifest +++ b/media-libs/rtaudio/Manifest @@ -1,4 +1,6 @@ AUX rtaudio-5.1.0-cflags.patch 416 BLAKE2B 6bc60ee1056a56e84a349b9677ab20a00f50fc22e053e0a2a29167db5f631f57749e96c73bbe585adaa346b878b43c5529f10f18b7153b79c10a4ac418d3c04e SHA512 7afad0bf9b562a9ed91567509aacc94d0cb3d95d8241e2bb14b6c826a499a296b99b7ee13317b65fb3bf4bc2526f357c1a34a290290b3fbd82810a43c820fdbf DIST rtaudio-5.2.0.tar.gz 247110 BLAKE2B 1949885c3cbb2846e083fd25ec06ed5ca716563dd4c121f6985e2487488d88b9ffb62078185fe2f4261083c8c1ed4c3e8502d25614767d70d2ab316d77f51eeb SHA512 34e78522778db13d95d4465d7c6a808a63b34d4e1bd0b88113b6390f7b192017e405d0d9ac8fbb1151129627688626d17569dc47da420f7b4631892eb1adff11 +DIST rtaudio-6.0.1.tar.gz 254664 BLAKE2B 17a3893023147b2d68bdb1c827e41b721066cf1759ef1a904d3178ff28b54ba288831e96ad20e23308644800b14d81f9133727efb6012cf9cd01aa80c7ffea02 SHA512 085feb2673185460717ba45fc87254961e477823759e11281092c1ba13301303de1cd36aa9efeba0710cbf2c70f2e2f7f9e41173cf372ded528c41612b19acd5 EBUILD rtaudio-5.2.0.ebuild 1317 BLAKE2B 5e2150db24057aa3e25863d9a0640a8b947aaa79ef14fc78e247f0c0d217e6cdc63f45e2f1557c5cf8ebd3ee3bf50590c566caaec1f198ae2362c635f9da0e52 SHA512 08652c0435a672ba6bbb1674ef635b5d229f3f3b19f28d81720ae642c1ad8d39f5f07ce7538f0423389aec80e847184b7fc648a68ff54ab8934e23a5149933e9 +EBUILD rtaudio-6.0.1.ebuild 1317 BLAKE2B 0762d8b84e82f8be0010629577d9b4515fb496176567af0625864ec04076c1b52466613eb46d353a21a0a02379c51a460551edf35192c1779a4d0bbf760cacc8 SHA512 8e01743b3698fab61bdae36b298ab6ccba08f73d207095154096b137567619805dbdef300e35567b5350122f48178960431749f3922c7168585f4d69d177ec9a MISC metadata.xml 256 BLAKE2B 211ca90d8f704be5ca8a1994f0e8f1adbe1fd4937a10a301ced0b9be171dfdabb223661d168535cd7f5edfe0c8edca4620945e13dc3c43b5832ac183913188f0 SHA512 fde3b658512fa6742886d7dd84efc906331b43f5b0f8fdca353fe2280653381716d7143473c9237b9fe58b9df5889b38b008da34f6ce4b64336f38642d78e3dd diff --git a/media-libs/rtaudio/rtaudio-6.0.1.ebuild b/media-libs/rtaudio/rtaudio-6.0.1.ebuild new file mode 100644 index 000000000000..0cdeea0544f6 --- /dev/null +++ b/media-libs/rtaudio/rtaudio-6.0.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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://github.com/thestk/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/7" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~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-libs/libpulse )" +DEPEND="${RDEPEND}" +BDEPEND=" + doc? ( app-text/doxygen ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-5.1.0-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_compile() { + emake + + if use doc; then + pushd doc + doxygen || die + popd + fi +} + +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 +} |