diff options
author | Tim Harder <radhermit@gentoo.org> | 2013-06-15 11:43:34 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2013-06-15 11:43:34 +0000 |
commit | e93057478efa54aafd1431a4804813d085019dfe (patch) | |
tree | 693ed36c002213358dddb16738d11f61941a5371 /media-libs/rtaudio | |
parent | Fix compilation on Darwin, bug #472514 (diff) | |
download | historical-e93057478efa54aafd1431a4804813d085019dfe.tar.gz historical-e93057478efa54aafd1431a4804813d085019dfe.tar.bz2 historical-e93057478efa54aafd1431a4804813d085019dfe.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha179/cvs/Linux x86_64
Manifest-Sign-Key: 0x4AB3E85B4F064CA3
Diffstat (limited to 'media-libs/rtaudio')
-rw-r--r-- | media-libs/rtaudio/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/rtaudio/Manifest | 22 | ||||
-rw-r--r-- | media-libs/rtaudio/files/rtaudio-4.0.12-configure.patch | 73 | ||||
-rw-r--r-- | media-libs/rtaudio/files/rtaudio-4.0.12-makefile.patch | 16 | ||||
-rw-r--r-- | media-libs/rtaudio/rtaudio-4.0.12.ebuild | 60 |
5 files changed, 170 insertions, 11 deletions
diff --git a/media-libs/rtaudio/ChangeLog b/media-libs/rtaudio/ChangeLog index f72a784492b0..301908981812 100644 --- a/media-libs/rtaudio/ChangeLog +++ b/media-libs/rtaudio/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/rtaudio -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/rtaudio/ChangeLog,v 1.1 2012/11/27 07:35:52 radhermit Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/rtaudio/ChangeLog,v 1.2 2013/06/15 11:43:29 radhermit Exp $ + +*rtaudio-4.0.12 (15 Jun 2013) + + 15 Jun 2013; Tim Harder <radhermit@gentoo.org> +rtaudio-4.0.12.ebuild, + +files/rtaudio-4.0.12-configure.patch, +files/rtaudio-4.0.12-makefile.patch: + Version bump. *rtaudio-4.0.11 (27 Nov 2012) diff --git a/media-libs/rtaudio/Manifest b/media-libs/rtaudio/Manifest index 45be858cb2b1..b8a97236d0b7 100644 --- a/media-libs/rtaudio/Manifest +++ b/media-libs/rtaudio/Manifest @@ -4,18 +4,22 @@ Hash: SHA256 AUX rtaudio-4.0.11-cflags.patch 977 SHA256 24561d3814ab1387af4caa2a49f56018502e987355e98fbd88b5a035c920382b SHA512 7295c7ab58dfb2c685a5a740d338e42daa550da09969a5a1c2a8897c832b497774457b5dc1cb9f1b8203e12edc2fb56b2e1e787d0fccd21873c1c20fe843b37b WHIRLPOOL 8abfb7e19a4c94a85229fb5a850360045228a92acba1522cd28a3a829f5b11fdd83b82dfcd38dff5c7b02018ea40742234abe0925b88483e6540d4dca2e84a50 AUX rtaudio-4.0.11-configure.patch 2251 SHA256 9162994677a7fd03d2e228967d4b1f5c092c13d24996f162c601349bbe521316 SHA512 a0dbd05c0c46f17b54b0801dfd715b22c923076987d881f25115381598dbbb24f0c876ba5db405250b48b2c69612f90fe8cd5e716f97e88327ce04ccf0aaae09 WHIRLPOOL ce2af6fbd348e726cea1f400826721334fc69ae836a3efa22dd49780fdb4c77bb2d98767c9661b2f7eed103e646bf6df4d28405638eda376c95802766f2a5d3c AUX rtaudio-4.0.11-makefile.patch 491 SHA256 02c2a4303fef86383012b085c6b592a7d0cfcb68d99947594d9e7f7aaa01ee5b SHA512 bf2626a53718a00d005027853d4120d7e054da97993f87a47d95760927e72ed7457c99836a5be71404bab542ba0efba6834e7f7423c1d0529a42eb56a0845d1f WHIRLPOOL beb5d466253d02e9195f892da7d49813180eb95895246137f736d306df918725ae8840e633b08cf6963fc6984a4448a190d2eb345bde869cbb0960981281d683 +AUX rtaudio-4.0.12-configure.patch 3067 SHA256 080cc8bfef1d3a7f93db221bde8a06288d7d9a8cf591c32e1ece11b9419467ba SHA512 15b9e2855fac77a612b6a61f5005a9c5ce3f5f26b5c79be440372ddd450dbc06750fa8ea7bcc935138ee6b2511eecd2db10bc42153fc53699a7dc9db284e5ac5 WHIRLPOOL 9c9c238f805a53027653dbd6a85e3cc080e380913a73097f306949ced25a4d2380fdec915607560bec9ca25e4ab15baea0a66d47f76f6d0dd33f7e6f76049b41 +AUX rtaudio-4.0.12-makefile.patch 387 SHA256 70326583122dddd62a525c9a4cef10a837c9be08be0d489904a707ff9b960122 SHA512 d9af95399ce9b76adf532c8febd7543a0aacedc6b3ba214fa0e53c0dc607ebb086762442330d07dc182c8d96e5de834c016798b9b6c4eefab8c96a06332cd207 WHIRLPOOL d60e5e1f4703cffeb43da494e81398e35f9fd815d81b7b3009a2993b80143f2674151dc91bb40ed34182508166fac97d26f3b071003c67a5660dd1874579939b DIST rtaudio-4.0.11.tar.gz 313295 SHA256 1167ebd33515c064cd7c2d7c7b44f34998ab016a182c1874d70790163eced311 SHA512 92611b9bba4984c6e29670b54d47ac474d884efab364bc2760876c8555b4e152845bd3763028497482a002282761be8e80f8f6aa775933ef7db9d8a13239770a WHIRLPOOL 982e884bb1ec09b228c1c12f76ed80c1d65fd145140e737510efc78d58b213bf56cdcc5e7c10484b7be1eb0e135b28ab5c32fe6f551645463a11e7e664932830 +DIST rtaudio-4.0.12.tar.gz 330048 SHA256 5179056c796b9582e375d352efa0598e674b9719cf78a85a426517b375ff1cab SHA512 43068cafaf460425334588775bbeee115d1651142d8fa62808880296763952159bff297c482e6d58200cfb6d382205778405993dbbb3a769e4b1228ff0aee3b6 WHIRLPOOL 252fc02dbebdc1777314a97e4acc18ce615f78a82a12cdf6bcf2759867a3da6c755977dec832351c5b86aec7825d07882024179703c746e654a5f7bc2d32b9ce EBUILD rtaudio-4.0.11.ebuild 1318 SHA256 a122749ffac801e3f0b9be7d7bd4b44def2d059d16106d48c45f032a6d3f3178 SHA512 9c856618f431a5c2a0326d4ef4bc35d7f2851fa9a0f4e2677d188459584de5e7fe89678488826e1b0167a4f61fdc53d9da259a005eb67fb7833e8fc6e403b0f6 WHIRLPOOL 227756ab84edc4106e1a4f3ca1c3f788db1b6fbe88739da0f167e256641a375de5da3783150c18beea47dd3e52c5c7df691f28a8811f64763c5f2a77d3658876 -MISC ChangeLog 481 SHA256 10f013e5d12ae4baf4b1e0f560d6b8475aa8d32babf9dade5b24272087a990a1 SHA512 12e4b001cb553f5b48d2ee881e828005055dd538353eed9951ad351fa1ebce317b8c6d784429e31e4759ea033d3ad14553b48b1ef9990af008a950510be3369f WHIRLPOOL 10294f87042539e435ad3645d9aa8e68a671cd023f388e555e7694dbac51eda0af6cf9f3849ba763b47ccf710bbe163d8dbd50682ee213e0e5ce65fcb094c5c9 +EBUILD rtaudio-4.0.12.ebuild 1385 SHA256 a174562d71167368a773f6b700e79d12449d8b4beef8733212523ea6e785f362 SHA512 ea81267eba14caf3c11818d1d482bec81dd6a77a6dd6201a173e1045b207e2c6e86fa4753f9ebeb7a546a470666600d14eeae1d460034f9eb5cbadf545868ffb WHIRLPOOL 0a16a336e251a97a0d79ff7d08069c077a27bb470affb2d6d498b8b664b5d316ccd6d512df218f9d507f381afd2547b2d2eacdc9690e7cfb405c19d897969aeb +MISC ChangeLog 681 SHA256 df4f08e4755f4dfdff99db728c43fa87a7367f2bc956d3813ab5e4a0a3193010 SHA512 3df49314b9eb61d02b17b54ffeb9516b5d4f2126d74c1c83c0128066158780f294c02bf2f135865bc78c0245bdbb91ed92f72550c10f01590be99d75d8d92a3f WHIRLPOOL ff5025168439d6812a0cc8b662755fdf83a82520b98f482975d240493c0b30ffa0cece3bb757893f95712bc710f1d05a897108cccfb8904ce3dfb357968e2127 MISC metadata.xml 161 SHA256 0ba191421eefd954d1efe9f6c3384e8c8d7455d35a7e79457272e1c29211b09e SHA512 e9f8695c64d7b6aa86b9b6186490d50b5a75d593ac1c86b9698265c6345899c64fa712acdde3bdbfb2464139e44623efdae29b67b73c1c85bcbedfbd10e874fd WHIRLPOOL c01ec8b583f907a3a62da7d5bf74d09809244709021f437dc3f0064b2d52baa3dd4386369b46a9fd74020146017cf6117ad04b147e8538b1a2c7202e1b4a2dd5 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) +Version: GnuPG v2.0.20 (GNU/Linux) -iQEcBAEBCAAGBQJQtG1fAAoJEEqz6FtPBkyjzpEH/2iV5elIqOZsdG3KjKkz8q5W -cXugViD8RDt6hSRT9Sfm/4o+Laqoz9lZJZtVHUhnb88aRn2/9fmVcvRVzGCcTJb7 -Yie0U77VDeWuR2g1p8J65Dd1o/oVi9dEfVBfAMSSsXWBFyoJ65ExAV38kSmhSfFU -a+pb3gWfSV+LtXjK1NnxH4IzzERKRfcZPYZ8YgEqhc5Gkufp9Vn1zzYlvS82Q24j -ecjHo7yorNrHhoBTul6b1KmmGzA00VCs/lDwt5fTnO4/JAzjBn8YovLYhhlH4WFd -f7Z9BfEo/A7JFdyVr8hNdAhXJUbxuXzPsXFVI2vdNxAAYS/hBZeVweAfhj1fxEs= -=K5wk +iQEcBAEBCAAGBQJRvFNlAAoJEEqz6FtPBkyjhGwH/AyBWxCM8hpnrhwZ00gE0z8Q +tMQ3C+KmPL76RRHOHxPea87xQ7AJasX3rV0Jt8ho+vMYIYf/tTgSXZwO9K6PbJKm +HNjIvWNj/eC2McLwtEKmdgxBrTcugUpQmcGgEjPEPHKZ4RTlLIDQPivaAEfbiVRr +D5cpGLempeUZsYLT0EEE5CXEBNXbgKI7QTdxQsz6TgqOfa84WoGKZrse9/TU1ian +HwfK+f1wGf7quaIbzem36fNTJMU4+Az4TzEcE19FG5KPF0rYZGbX0n/rUTIX4NfR +Py/DIgRjL4n58E9WcvzTQB4ZEzvkGRfmMIzNvAdk0PHkaFQs4oC+kWKDxzaBDGg= +=G3Rz -----END PGP SIGNATURE----- diff --git a/media-libs/rtaudio/files/rtaudio-4.0.12-configure.patch b/media-libs/rtaudio/files/rtaudio-4.0.12-configure.patch new file mode 100644 index 000000000000..7680f75d40d3 --- /dev/null +++ b/media-libs/rtaudio/files/rtaudio-4.0.12-configure.patch @@ -0,0 +1,73 @@ +--- rtaudio-4.0.12/configure.ac ++++ rtaudio-4.0.12/configure.ac +@@ -25,9 +25,9 @@ + AC_PROG_CXX(g++ CC c++ cxx) + AC_PROG_RANLIB + 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") ++]) + + # Checks for header files. + AC_HEADER_STDC +@@ -83,39 +83,46 @@ + ;; + + *-*-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) + PKG_CHECK_MODULES([PULSE], [libpulse-simple], , AC_MSG_ERROR(PulseAudio support requires the pulse-simple library!)) +- LIBS="$LIBS `pkg-config --libs libpulse-simple`" ], ) ++ LIBS="$LIBS `pkg-config --libs libpulse-simple`" ]) + + # 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/files/rtaudio-4.0.12-makefile.patch b/media-libs/rtaudio/files/rtaudio-4.0.12-makefile.patch new file mode 100644 index 000000000000..adf109de5de9 --- /dev/null +++ b/media-libs/rtaudio/files/rtaudio-4.0.12-makefile.patch @@ -0,0 +1,16 @@ +--- rtaudio-4.0.12/Makefile.in ++++ rtaudio-4.0.12/Makefile.in +@@ -24,9 +24,11 @@ + tests: + cd tests && $(MAKE) all + +-$(LIBRARIES): $(OBJECTS) ++$(STATIC): $(OBJECTS) + $(AR) ruv $(STATIC) $(OBJECTS) +- ranlib $(STATIC) ++ $(RANLIB) $(STATIC) ++ ++$(SHARED): $(OBJECTS) + $(CC) -fPIC @libflags@ $(OBJECTS) @LIBS@ + $(LN) -sf @sharedname@ $(SHARED) + $(LN) -sf @sharedname@ $(SHARED).$(MAJOR) diff --git a/media-libs/rtaudio/rtaudio-4.0.12.ebuild b/media-libs/rtaudio/rtaudio-4.0.12.ebuild new file mode 100644 index 000000000000..6821533dc5c8 --- /dev/null +++ b/media-libs/rtaudio/rtaudio-4.0.12.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/rtaudio/rtaudio-4.0.12.ebuild,v 1.1 2013/06/15 11:43:29 radhermit Exp $ + +EAPI=5 + +inherit eutils autotools toolchain-funcs + +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" + +RDEPEND="alsa? ( media-libs/alsa-lib ) + jack? ( media-sound/jack-audio-connection-kit ) + pulseaudio? ( media-sound/pulseaudio )" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-4.0.11-cflags.patch + epatch "${FILESDIR}"/${P}-makefile.patch + epatch "${FILESDIR}"/${P}-configure.patch + + if ! use static-libs ; then + sed -i '/^LIBRARIES =/s/$(STATIC)//' Makefile.in || die + fi + + eautoreconf +} + +src_configure() { + # OSS support requires OSSv4 + econf \ + --without-oss \ + $(use_with alsa) \ + $(use_with jack) \ + $(use_with pulseaudio pulse) +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + dolib.so librtaudio.so* + use static-libs && dolib.a librtaudio.a + + dobin rtaudio-config + doheader *.h + dodoc readme doc/release.txt + + if use doc ; then + dohtml -r doc/html/* + dodoc -r doc/images + fi +} |