diff options
-rw-r--r-- | media-sound/apulse/Manifest | 1 | ||||
-rw-r--r-- | media-sound/apulse/apulse-0.1.9.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/media-sound/apulse/Manifest b/media-sound/apulse/Manifest index b6ea6aa90eba..8b891245b624 100644 --- a/media-sound/apulse/Manifest +++ b/media-sound/apulse/Manifest @@ -1,3 +1,4 @@ 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 +DIST apulse-0.1.9.tar.gz 106767 SHA256 75f5099086ae80857e8f9e8167398ab709f9133605891e0245116ca9c4ff4b18 SHA512 8323edebdee7bc927042857aa0587e1887a07da98ff9392ef9d075dc0e35c854b7a632be3e54fdbdac6d61b8baf05ae5fb9d180a5dab4b928be3237fdba5b941 WHIRLPOOL 5785243a5585b784f62467837e321648be1e3411020633f10cab2bca406f73c3a93503594e001e1a43d787882b740e1599ba3054a435e169bac4633377db60b3 diff --git a/media-sound/apulse/apulse-0.1.9.ebuild b/media-sound/apulse/apulse-0.1.9.ebuild new file mode 100644 index 000000000000..692b9facae2f --- /dev/null +++ b/media-sound/apulse/apulse-0.1.9.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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 +} |