summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Campbell <zlg@gentoo.org>2015-12-25 01:23:18 -0800
committerDaniel Campbell <zlg@gentoo.org>2015-12-25 01:23:18 -0800
commit19a5f8d04a7123f556c0664edd92d334bdb78222 (patch)
treea8e5c4838f2d3836fd26e6ccc4a09ef1a3874a3e /media-sound/apulse
parentnet-wireless/uhd: version bump (diff)
downloadgentoo-19a5f8d04a7123f556c0664edd92d334bdb78222.tar.gz
gentoo-19a5f8d04a7123f556c0664edd92d334bdb78222.tar.bz2
gentoo-19a5f8d04a7123f556c0664edd92d334bdb78222.zip
media-sound/apulse: version bump to 0.1.7
Package-Manager: portage-2.2.26
Diffstat (limited to 'media-sound/apulse')
-rw-r--r--media-sound/apulse/Manifest1
-rw-r--r--media-sound/apulse/apulse-0.1.7.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/media-sound/apulse/Manifest b/media-sound/apulse/Manifest
index c1d978bce1b1..eb3d021acb31 100644
--- a/media-sound/apulse/Manifest
+++ b/media-sound/apulse/Manifest
@@ -1,2 +1,3 @@
DIST apulse-0.1.4.tar.gz 99976 SHA256 717bc537c389af546b4db2ed7622a8896f7f0f306612c9eb6c693a70c104c86f SHA512 500abca0f6b4df35acb417744a5967e58ceff8cc2a0d640db03847d79b077295abe8888ee5d0008383349bd964345a340334f39e1f55286713db94a86c6596dc WHIRLPOOL 7fe604ed3128cb24d375f4f84ee77317fd499202d8bf46f9c68735501b35a55050852d08260b2c4ad0419ac32a3d330946c65aa402b9b66dbf6d25c3a92966bb
DIST apulse-0.1.6.tar.gz 101938 SHA256 f9ffbf7aff96680beff3243758e5c1e0d4ac9043d4bd6cbfb219890b4b91c9f3 SHA512 0bcc3966a1455bac64e7b9731a988c5d10d893544354453b70f36121e92854a632f33a2ec84fa2ee4d2010221f82fb83cea872d66c4b053b0cd9014215014dc2 WHIRLPOOL 114d7e5d2f344ee4bdb96df01db8f10b10798ef2b332542f45e0e2957462c8255963a7d00628c01fcf58c19703c207aa967fdb258efcd28922ef05687517a8d3
+DIST apulse-0.1.7.tar.gz 103311 SHA256 fc0e4853684ca5145950690405b0d4f89bf3a5aef7a86addec451561fb5f3e1b SHA512 05b73b6151ba76c1a0a05e065cc41ddf2239135920d94ba6e8b3c0228faa3d49ad8f008a4bcad37500c5e545c03f9f88327504a06e99718abab491b3e35925dc WHIRLPOOL e96e48bfa3cdaf983e5d46ea3431ccf8818ce5a8cb78b5f7df8d559227ab4f4c8e9bc828d5f255f0fb2a8c7c9cc01ba07041cc0150a9577a9359c41ee4607089
diff --git a/media-sound/apulse/apulse-0.1.7.ebuild b/media-sound/apulse/apulse-0.1.7.ebuild
new file mode 100644
index 000000000000..dde232ef3894
--- /dev/null
+++ b/media-sound/apulse/apulse-0.1.7.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit multilib cmake-multilib
+
+DESCRIPTION="PulseAudio emulation for ALSA"
+HOMEPAGE="https://github.com/i-rinat/apulse"
+SRC_URI="https://github.com/i-rinat/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="dev-libs/glib:2[${MULTILIB_USEDEP}]
+ media-libs/alsa-lib[${MULTILIB_USEDEP}]"
+RDEPEND="${DEPEND}
+ !!media-plugins/alsa-plugins[pulseaudio]"
+
+MULTILIB_CHOST_TOOLS=( /usr/bin/apulse )
+
+src_prepare() {
+ # Ensure all relevant libdirs are added, to support all ABIs
+ DIRS=
+ _add_dir() { DIRS="${EPREFIX}/usr/$(get_libdir)/apulse${DIRS:+:${DIRS}}"; }
+ multilib_foreach_abi _add_dir
+ sed -e "s#@@DIRS@@#${DIRS}#g" "${FILESDIR}"/apulse > "${T}"/apulse
+}
+
+multilib_src_configure() {
+ local mycmakeargs="-DAPULSEPATH=${EPREFIX}/usr/$(get_libdir)/apulse"
+ cmake-utils_src_configure
+}
+
+multilib_src_install_all() {
+ cmake-utils_src_install
+ einstalldocs
+ dobin "${T}"/apulse
+}