summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Campbell <zlg@gentoo.org>2017-03-14 23:21:44 -0700
committerDaniel Campbell <zlg@gentoo.org>2017-03-14 23:24:21 -0700
commit5ce6204bff193af4c8114c4b0623cd0e1fceb31b (patch)
treeca845e99b0807f58f90a7cfee6faee1f158a9867 /media-sound/apulse
parentdev-python/arpeggio: Add python3_6 to PYTHON_COMPAT (diff)
downloadgentoo-5ce6204bff193af4c8114c4b0623cd0e1fceb31b.tar.gz
gentoo-5ce6204bff193af4c8114c4b0623cd0e1fceb31b.tar.bz2
gentoo-5ce6204bff193af4c8114c4b0623cd0e1fceb31b.zip
media-sound/apulse: version bump
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'media-sound/apulse')
-rw-r--r--media-sound/apulse/Manifest1
-rw-r--r--media-sound/apulse/apulse-0.1.8.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/media-sound/apulse/Manifest b/media-sound/apulse/Manifest
index 8b2dfb2ed911..b6ea6aa90eba 100644
--- a/media-sound/apulse/Manifest
+++ b/media-sound/apulse/Manifest
@@ -1,2 +1,3 @@
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
+DIST apulse-0.1.8.tar.gz 105297 SHA256 4d47b962f4873f011883477e9eec7c232cbb3cab8189a1029f41b14a235e449d SHA512 0c14dfc5722766665a8f4def645d9995b9b274f9ab3bc38968a386669fab47c77b573f053f9dccae249631465a8ade4bcd68667e44c20698ac1211993d95aa84 WHIRLPOOL df0d11eb151bc79b1de0fdbef48523eb06273b405f33e1782f2b6132bc331d103e5c1c87293630dede3d5883e20898ed4054a7bb0fb1d27e55facc4c360e0f34
diff --git a/media-sound/apulse/apulse-0.1.8.ebuild b/media-sound/apulse/apulse-0.1.8.ebuild
new file mode 100644
index 000000000000..4404c7df17dc
--- /dev/null
+++ b/media-sound/apulse/apulse-0.1.8.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}