1 |
commit: e59538996e8ee6730b3c2c2098b8640eb5213afc |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 11 12:47:30 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 11 13:21:28 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5953899 |
7 |
|
8 |
media-libs/portaudio: Revbump to add audacity-portmixer patch |
9 |
|
10 |
taken from Debian. |
11 |
|
12 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
13 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
14 |
|
15 |
media-libs/portaudio/Manifest | 1 + |
16 |
media-libs/portaudio/portaudio-19.06.00-r2.ebuild | 65 +++++++++++++++++++++++ |
17 |
2 files changed, 66 insertions(+) |
18 |
|
19 |
diff --git a/media-libs/portaudio/Manifest b/media-libs/portaudio/Manifest |
20 |
index bd60a57b407..7e5edf9ec29 100644 |
21 |
--- a/media-libs/portaudio/Manifest |
22 |
+++ b/media-libs/portaudio/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST pa_stable_v190600_20161030.tgz 1450572 BLAKE2B 3cd63cca55ff222f452d306a1ab9035739545f48dbc9bc58196052cb51e518d86568059c7528533a6932c39c68d1a5210e06470a16343b92c7e4132b71cc552e SHA512 7ec692cbd8c23878b029fad9d9fd63a021f57e60c4921f602995a2fca070c29f17a280c7f2da5966c4aad29d28434538452f4c822eacf3a60af59a6dc8e9704c |
25 |
+DIST portaudio-19.06.00-audacity-portmixer.patch 8722 BLAKE2B 2b69bcf26e55be46d354dc44756fd03b16031fa86a334b776eb4326a4c64a7e22abd6bf60794847526102391c8e65813b41338cf94c647e3e9b68d82ea5dc5f5 SHA512 f693aef477b516c7a03eb021260cbecb23200422a927a117e3e59a1b4e6c6c2983fbea8ee3a3714ebc55728933654bd7909327a0bab4450ccf4e6a02c86a63b5 |
26 |
|
27 |
diff --git a/media-libs/portaudio/portaudio-19.06.00-r2.ebuild b/media-libs/portaudio/portaudio-19.06.00-r2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..42b46a16acc |
30 |
--- /dev/null |
31 |
+++ b/media-libs/portaudio/portaudio-19.06.00-r2.ebuild |
32 |
@@ -0,0 +1,65 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+inherit multilib-minimal |
38 |
+ |
39 |
+DESCRIPTION="A free, cross-platform, open-source, audio I/O library" |
40 |
+HOMEPAGE="http://www.portaudio.com/" |
41 |
+SRC_URI="http://www.portaudio.com/archives/pa_stable_v190600_20161030.tgz |
42 |
+ https://sources.debian.org/data/main/p/portaudio19/19.6.0-1/debian/patches/audacity-portmixer.patch -> ${PN}-19.06.00-audacity-portmixer.patch" |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+SLOT="0" |
46 |
+kEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux" |
47 |
+IUSE="alsa +cxx debug doc jack oss static-libs" |
48 |
+ |
49 |
+RDEPEND="alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) |
50 |
+ jack? ( virtual/jack[${MULTILIB_USEDEP}] )" |
51 |
+DEPEND="${RDEPEND}" |
52 |
+BDEPEND=" |
53 |
+ doc? ( app-doc/doxygen ) |
54 |
+ virtual/pkgconfig |
55 |
+" |
56 |
+ |
57 |
+S="${WORKDIR}/${PN}" |
58 |
+ |
59 |
+DOCS=( README.txt ) |
60 |
+ |
61 |
+PATCHES=( |
62 |
+ "${DISTDIR}/${PN}-19.06.00-audacity-portmixer.patch" |
63 |
+) |
64 |
+ |
65 |
+multilib_src_configure() { |
66 |
+ local myeconfargs=( |
67 |
+ $(use_enable debug debug-output) |
68 |
+ $(use_enable cxx) |
69 |
+ $(use_enable static-libs static) |
70 |
+ $(use_with alsa) |
71 |
+ $(use_with jack) |
72 |
+ $(use_with oss) |
73 |
+ ) |
74 |
+ |
75 |
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
76 |
+} |
77 |
+ |
78 |
+multilib_src_compile() { |
79 |
+ # workaround parallel build issue |
80 |
+ emake lib/libportaudio.la |
81 |
+ emake |
82 |
+} |
83 |
+ |
84 |
+src_compile() { |
85 |
+ multilib-minimal_src_compile |
86 |
+ |
87 |
+ if use doc; then |
88 |
+ doxygen -u Doxyfile || die |
89 |
+ doxygen Doxyfile || die |
90 |
+ fi |
91 |
+} |
92 |
+ |
93 |
+multilib_src_install_all() { |
94 |
+ einstalldocs |
95 |
+ use doc && dodoc -r doc/html |
96 |
+ find "${ED}" -name "*.la" -delete || die |
97 |
+} |