diff options
Diffstat (limited to 'media-libs/libsoundio')
-rw-r--r-- | media-libs/libsoundio/Manifest | 5 | ||||
-rw-r--r-- | media-libs/libsoundio/files/libsoundio-1.1.0_missing_include.patch | 22 | ||||
-rw-r--r-- | media-libs/libsoundio/libsoundio-1.1.0-r1.ebuild | 38 | ||||
-rw-r--r-- | media-libs/libsoundio/metadata.xml | 26 |
4 files changed, 91 insertions, 0 deletions
diff --git a/media-libs/libsoundio/Manifest b/media-libs/libsoundio/Manifest new file mode 100644 index 000000000000..5845d67723f3 --- /dev/null +++ b/media-libs/libsoundio/Manifest @@ -0,0 +1,5 @@ +AUX libsoundio-1.1.0_missing_include.patch 610 SHA256 43223f39af4ae637c6e678e29cebe8a0c92f93cf4d84e0a56ae0603eb87bf10a SHA512 7477d305d84a9bb5482928ed600d39864e43a07790156ead7bac5c8237cbd2a1f57690cdde04d2ef19f5c19eafb47449d3579f5b57da2c59fa18b10b474db683 WHIRLPOOL 7282aafcb4cdf740de00da60196c5d207505438fcfc238b48d9ee8faedb8ac8d1a84dc1337194e4a4689c9d71060507b88821d2d24d2dd21fac394bee387e5de +DIST libsoundio-1.1.0.tar.gz 118672 SHA256 ba0b21397cb3e29dc8f51ed213ae27625f05398c01aefcfbaa860fab42a84281 SHA512 3de35fa83395faea5e6f4478cd82d49615e470b09847fb076647664238e232ff3d4597ca7a07ce06012ae084f11e5d3903b42d8f4afe64c27b1a4b92d2081b5f WHIRLPOOL 4a43e0cb3118502693d95fad90182a3797930ce7797b8fcf411dcd24a053b62df7cc899bf196c4ffb765b9879982b4d08dd17b6b140244e5ce731f0f2fc274c6 +EBUILD libsoundio-1.1.0-r1.ebuild 1100 SHA256 d5b560e191a76e30cfae0486e42ad452b4ae6aacdc6cd2ceb9d5115550b519d3 SHA512 f9a677fbfc3de77565b1a64c5b6c76025f4050a67d0c12b3ec2600fded77bbce4775e8c77a00af318093f99f2f8161344c8177b68c6b45c871eeefc3dfc512c6 WHIRLPOOL 6b5db0c078d9f35271dee74c3964c52bb18ef2312389a77d469179712478219091b1c6f50d8dba76b0d28605e8eab7a1f1aa55a0e70042ee05aeb8edd99abaa2 +MISC ChangeLog 1786 SHA256 7b6b4b0a77aa1792c97080de6a0d2aab5c190647fae9d6e2522b2b3bc050f4a7 SHA512 c6c30728660f5366aab33e2149ee04655b35e8cc23d45e5c06db33c157dfbad9e720fc1b4cd46fe426c110f322fc540bae88f185188b4b3cf356204a154cf185 WHIRLPOOL 623a6165720b216175f9884961e566546b3a6835872300b61526ecf6132b5d0e9e6011869361374d0ad384c5ab43409b127a546175ea62b57da2fed7a44c40da +MISC metadata.xml 901 SHA256 046c121efeb0fbd22fc7c4c3a07262d1caffbd1d81bba6d3b65ed64c65d6b4ec SHA512 156acbf89a915ba57049e365ef53abaf6c1c986d6ccb07e679bf1f7e39de8d708c8cc321aaf8588a7c529e878fea8b182f1eef60748c12287e4dd6ff16c77fb3 WHIRLPOOL 53e6efd4241cd48852bbcf2628765e505aed27870bb07f0bf4625c01d6036da4bc9a3004c1e6f53c37294020ec8263ceb74495404ab3c4168f7ac344c4263965 diff --git a/media-libs/libsoundio/files/libsoundio-1.1.0_missing_include.patch b/media-libs/libsoundio/files/libsoundio-1.1.0_missing_include.patch new file mode 100644 index 000000000000..4a0989525a9b --- /dev/null +++ b/media-libs/libsoundio/files/libsoundio-1.1.0_missing_include.patch @@ -0,0 +1,22 @@ +From e8b908243d58760d7815525d18bddd64ec97a5d2 Mon Sep 17 00:00:00 2001 +From: Andrew Kelley <superjoe30@gmail.com> +Date: Fri, 22 Apr 2016 10:24:32 -0700 +Subject: [PATCH] add missing include directive + +fixes compilation when no backends are available. closes #67 +--- + src/soundio_private.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/soundio_private.h b/src/soundio_private.h +index 13d1d7a..213b36f 100644 +--- a/src/soundio_private.h ++++ b/src/soundio_private.h +@@ -10,6 +10,7 @@ + + #include "soundio_internal.h" + #include "config.h" ++#include "list.h" + + #ifdef SOUNDIO_HAVE_JACK + #include "jack.h" diff --git a/media-libs/libsoundio/libsoundio-1.1.0-r1.ebuild b/media-libs/libsoundio/libsoundio-1.1.0-r1.ebuild new file mode 100644 index 000000000000..09ee009fe3ed --- /dev/null +++ b/media-libs/libsoundio/libsoundio-1.1.0-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-multilib + +DESCRIPTION="C library for cross-platform real-time audio input and output" +HOMEPAGE="http://libsound.io/" +SRC_URI="http://libsound.io/release/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/1" +KEYWORDS="~amd64 ~x86" +IUSE="alsa coreaudio examples jack pulseaudio static-libs" + +DEPEND="alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] ) + jack? ( || ( + >=media-sound/jack-audio-connection-kit-0.125.0[${MULTILIB_USEDEP}] + >=media-sound/jack2-1.9.11_rc1[${MULTILIB_USEDEP}] ) ) + pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] )" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${P}_missing_include.patch" ) + +multilib_src_configure() { + local mycmakeargs=( + -DENABLE_ALSA=$(usex alsa) + -DENABLE_COREAUDIO=$(usex coreaudio) + -DENABLE_JACK=$(usex jack) + -DENABLE_PULSEAUDIO=$(usex pulseaudio) + -DENABLE_WASAPI=no + -DBUILD_STATIC_LIBS=$(usex static-libs) + -DBUILD_EXAMPLE_PROGRAMS=$(multilib_native_usex examples) + -DBUILD_TESTS=no + ) + cmake-utils_src_configure +} diff --git a/media-libs/libsoundio/metadata.xml b/media-libs/libsoundio/metadata.xml new file mode 100644 index 000000000000..ee1f8b21b59f --- /dev/null +++ b/media-libs/libsoundio/metadata.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>sir.suriv@gmail.com</email> + <name>Diogo Pereira</name> +</maintainer> +<maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> +</maintainer> +<longdescription lang="en"> + C library providing cross-platform audio input and output. The API is + suitable for real-time software such as digital audio workstations as + well as consumer software such as music players. +</longdescription> +<upstream> + <maintainer status="active"> + <email>superjoe30@gmail.com</email> + <name>Andrew Kelley</name> + </maintainer> + <remote-id type="github">andrewrk/libsoundio</remote-id> + <bugs-to>https://github.com/andrewrk/libsoundio/issues</bugs-to> + <doc lang="en">http://libsound.io/doc/</doc> +</upstream> +</pkgmetadata> |