apulse-9999 added.
This commit is contained in:
parent
8d196bf674
commit
025e73e9e0
|
@ -0,0 +1 @@
|
||||||
|
DIST apulse-0.1.10.tar.gz 110272 SHA256 4f8aa9059d07bac1006e920a4a6b875ad63fdde973b83c138507812c00dd5cd6 SHA512 e922448095b7e3c8ae5766fadd5912ad39c1d0d68c73954305d17909b6bafe3a95c7e1ad4d63a4824293e0ba1495c253204343f31330c0ddb4fb419fe1f9eb12 WHIRLPOOL 56db7a62d75babe269f124f296c6000d322c50c1de583e6b274dc97ec456b6786315cc054ab7e09b1bd436ad47b86b58fc291d8e6f8192b6e2deeca14bef349b
|
|
@ -0,0 +1,43 @@
|
||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit multilib cmake-multilib git-r3
|
||||||
|
|
||||||
|
DESCRIPTION="PulseAudio emulation for ALSA"
|
||||||
|
HOMEPAGE="https://github.com/i-rinat/apulse"
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/i-rinat/apulse.git"
|
||||||
|
|
||||||
|
LICENSE="MIT LGPL-2.1"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS=""
|
||||||
|
|
||||||
|
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() {
|
||||||
|
cmake-utils_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 || die
|
||||||
|
}
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# Author: Daniel Campbell <zlg@gentoo.org>
|
||||||
|
# License: Creative Commons Public Domain Dedication (CC0 1.0)
|
||||||
|
# <https://creativecommons.org/publicdomain/zero/1.0/>
|
||||||
|
|
||||||
|
# apulse needs at least one argument
|
||||||
|
if [ $# -lt 1 ]; then
|
||||||
|
echo "Usage: apulse <app-path> [options]"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Set library path for the application so it'll use apulse. DIRS is
|
||||||
|
# replaced by the ebuild to include the correct paths
|
||||||
|
LD_LIBRARY_PATH=@@DIRS@@${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} exec "$@"
|
|
@ -226,6 +226,7 @@ games-emulation/gens-gs ~amd64
|
||||||
<media-plugins/audacious-plugins-3.10 ~amd64
|
<media-plugins/audacious-plugins-3.10 ~amd64
|
||||||
<media-plugins/caps-plugins-0.9.24 ~amd64
|
<media-plugins/caps-plugins-0.9.24 ~amd64
|
||||||
<media-sound/alsa-utils-1.1.5 ~amd64
|
<media-sound/alsa-utils-1.1.5 ~amd64
|
||||||
|
=media-sound/apulse-9999 **
|
||||||
<media-sound/audacious-3.10 ~amd64
|
<media-sound/audacious-3.10 ~amd64
|
||||||
<media-sound/audacity-2.1 ~amd64
|
<media-sound/audacity-2.1 ~amd64
|
||||||
<media-sound/jack-audio-connection-kit-1 ~amd64
|
<media-sound/jack-audio-connection-kit-1 ~amd64
|
||||||
|
|
Loading…
Reference in New Issue