Obsolete apulse removed.

This commit is contained in:
Kolan Sh 2022-08-05 09:09:57 +03:00
parent 81417caa3d
commit c9a9d106bd
3 changed files with 0 additions and 58 deletions

View File

@ -1 +0,0 @@
DIST apulse-0.1.10.tar.gz 110272 SHA256 4f8aa9059d07bac1006e920a4a6b875ad63fdde973b83c138507812c00dd5cd6 SHA512 e922448095b7e3c8ae5766fadd5912ad39c1d0d68c73954305d17909b6bafe3a95c7e1ad4d63a4824293e0ba1495c253204343f31330c0ddb4fb419fe1f9eb12 WHIRLPOOL 56db7a62d75babe269f124f296c6000d322c50c1de583e6b274dc97ec456b6786315cc054ab7e09b1bd436ad47b86b58fc291d8e6f8192b6e2deeca14bef349b

View File

@ -1,43 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
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_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_src_configure
}
multilib_src_install_all() {
cmake_src_install
einstalldocs
dobin "${T}"/apulse
}

View File

@ -1,14 +0,0 @@
#!/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 "$@"