diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
commit | b7b97785ebbb2f11d24d14dab8b81ed274f4ce6a (patch) | |
tree | 9fd110f9fc996e8a4213eeda994a8c112491b86d /media-libs/portaudio | |
parent | 066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (diff) |
gentoo resync : 19.03.2019
Diffstat (limited to 'media-libs/portaudio')
-rw-r--r-- | media-libs/portaudio/Manifest | 2 | ||||
-rw-r--r-- | media-libs/portaudio/portaudio-19.06.00-r2.ebuild | 65 |
2 files changed, 67 insertions, 0 deletions
diff --git a/media-libs/portaudio/Manifest b/media-libs/portaudio/Manifest index d1965b1c7c34..853dee0a4594 100644 --- a/media-libs/portaudio/Manifest +++ b/media-libs/portaudio/Manifest @@ -1,3 +1,5 @@ DIST pa_stable_v190600_20161030.tgz 1450572 BLAKE2B 3cd63cca55ff222f452d306a1ab9035739545f48dbc9bc58196052cb51e518d86568059c7528533a6932c39c68d1a5210e06470a16343b92c7e4132b71cc552e SHA512 7ec692cbd8c23878b029fad9d9fd63a021f57e60c4921f602995a2fca070c29f17a280c7f2da5966c4aad29d28434538452f4c822eacf3a60af59a6dc8e9704c +DIST portaudio-19.06.00-audacity-portmixer.patch 8722 BLAKE2B 2b69bcf26e55be46d354dc44756fd03b16031fa86a334b776eb4326a4c64a7e22abd6bf60794847526102391c8e65813b41338cf94c647e3e9b68d82ea5dc5f5 SHA512 f693aef477b516c7a03eb021260cbecb23200422a927a117e3e59a1b4e6c6c2983fbea8ee3a3714ebc55728933654bd7909327a0bab4450ccf4e6a02c86a63b5 EBUILD portaudio-19.06.00-r1.ebuild 1304 BLAKE2B 7b7d5a1df2595d2541f0e4c502f2272bb85977168fd1b2637228fa6ec62694a5923cbaa5d5acd90edc31932dc1c271b3482d0579625a6d4be1b1cafcbb433307 SHA512 acff9301c7e2d2faff2a2c3b702eb29e0f828161ea08bb2395dc829caa5c88ea9a793ae36954dfb33b5782f53c5554d6b577c4f3de250c53130f84197230dfe9 +EBUILD portaudio-19.06.00-r2.ebuild 1547 BLAKE2B 80c4c05d4039e408ab4ff6f7b331deecbf3c76f2cac2087e26cfae75d80444830310f214696c0c44db5d6eecdca8b9cb89554cbd95e2484a4bd10f4a3b1e4f50 SHA512 e3c4a4f27f3ef9837589b4825a12d55b039884c669564e2919410cba6d64fd25139c297295463185d6471d483adeaa34e6d15bd774ed3ec86b558336252b0868 MISC metadata.xml 249 BLAKE2B f7f8f071ecba933f3d39b0b60983281d59299b92de9375a60ab4109d7202800cb790bce0c426227f04b3e2624b1adb20876145741355abc6a4938b8b9698d144 SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343 diff --git a/media-libs/portaudio/portaudio-19.06.00-r2.ebuild b/media-libs/portaudio/portaudio-19.06.00-r2.ebuild new file mode 100644 index 000000000000..6cfde7247b8c --- /dev/null +++ b/media-libs/portaudio/portaudio-19.06.00-r2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit multilib-minimal + +DESCRIPTION="A free, cross-platform, open-source, audio I/O library" +HOMEPAGE="http://www.portaudio.com/" +SRC_URI="http://www.portaudio.com/archives/pa_stable_v190600_20161030.tgz + https://sources.debian.org/data/main/p/portaudio19/19.6.0-1/debian/patches/audacity-portmixer.patch -> ${PN}-19.06.00-audacity-portmixer.patch" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux" +IUSE="alsa +cxx debug doc jack oss static-libs" + +RDEPEND="alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) + jack? ( virtual/jack[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND}" +BDEPEND=" + doc? ( app-doc/doxygen ) + virtual/pkgconfig +" + +S="${WORKDIR}/${PN}" + +DOCS=( README.txt ) + +PATCHES=( + "${DISTDIR}/${PN}-19.06.00-audacity-portmixer.patch" +) + +multilib_src_configure() { + local myeconfargs=( + $(use_enable debug debug-output) + $(use_enable cxx) + $(use_enable static-libs static) + $(use_with alsa) + $(use_with jack) + $(use_with oss) + ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_compile() { + # workaround parallel build issue + emake lib/libportaudio.la + emake +} + +src_compile() { + multilib-minimal_src_compile + + if use doc; then + doxygen -u Doxyfile || die + doxygen Doxyfile || die + fi +} + +multilib_src_install_all() { + einstalldocs + use doc && dodoc -r doc/html + find "${ED}" -name "*.la" -delete || die +} |