mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
media-sound/alsa-utils: Removed old.
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
DIST alsa-utils-1.1.2.tar.bz2 1193140 BLAKE2B 8c9d3baae1530a399299379963e68c50d2d4fca63045b7c59b14240d5ad6316c37f1c7d6f4a7fa2cfeb8e5ae561440b9ad689475e006ab1fcaea2065b7c33015 SHA512 38dc3331e8410123085738e74ca34c860666027ee2f6aaa21f48e726c84d8e6264043c8c7111ce2b1e158a0f38142a04d72a128ee54e00173dc4e4ba514d2f14
|
||||
DIST alsa-utils-1.1.4.tar.bz2 1202047 BLAKE2B 5da3c543ef6056b99ed56975211a0a788e0672160f21b7579e4f9d6d192b655d81a1350f096ff35547f89c7353532523c592d44cf3d5a740cd2189cb9626144d SHA512 96852b3f5b57d7d9078a20881f28311543d446b69c80450179823a225089df7306456991890a7ef37672c1f55e9c386a7731c94e125504dcda2c88a674c8b4c7
|
||||
DIST alsa-utils-1.1.5.tar.bz2 1202691 BLAKE2B 2a30079775d7d0abb8e2036f2e2569b392920bd5f60ec5361b9b69d3f1cc1d277225318c7e0c477c6d9608a3c45430cd1e2030069e4cdf1f960a7631985f9eab SHA512 102e9ed34b89219dbad243ad5f61ca65fb8101502566c02f40d4e69abb45baa7a60f24440de1417e0f0e7f55b28db53d365d53a59af11f1ca816e2aa5907153d
|
||||
DIST alsa-utils-1.1.6.tar.bz2 1203722 BLAKE2B e098ecbc5835c8ecd311a4df1ab51a709200b0d3666437f7f059d3842f07e1200a934b951e8e2c8ecedbe0aef4e2c766d875df577662eb21ce989807941ab6b7 SHA512 24d0ffaeeccecb3276d7d35ef51e6de6026a63fa5a1a1e4605b024f54d8097717e97ec9d33cfe50830ad17e4a89268ca24b065039b0df7f9fbe02b570617aa58
|
||||
DIST alsa-utils-1.1.7.tar.bz2 1205754 BLAKE2B 419fa61fe85750ed26ab2b1dfe87adc7898f8c95dfe082993c0d5ee7755c4cb6563000555f44267608a2138d033e7011e7c67d98b714fdf1884cc03a8fd50ed3 SHA512 5da9b03e219d67634307bd5bb06b76734db5286221bec11658ce9c4dfca8ed639a4155ed90450f1d6c8db322960bb023ced0873e276500ce24f14fab17ceeb65
|
||||
|
||||
@@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit eutils systemd udev
|
||||
|
||||
DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
|
||||
HOMEPAGE="https://alsa-project.org/"
|
||||
SRC_URI="mirror://alsaproject/utils/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0.9"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
|
||||
IUSE="bat doc +libsamplerate +ncurses nls selinux"
|
||||
|
||||
CDEPEND=">=media-libs/alsa-lib-${PV}
|
||||
libsamplerate? ( media-libs/libsamplerate )
|
||||
ncurses? ( >=sys-libs/ncurses-5.7-r7:0= )
|
||||
bat? ( sci-libs/fftw:= )"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-text/xmlto )"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-alsa )"
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use doc || myconf='--disable-xmlto'
|
||||
|
||||
# --disable-alsaconf because it doesn't work with sys-apps/kmod wrt #456214
|
||||
econf \
|
||||
--disable-maintainer-mode \
|
||||
$(use_enable bat) \
|
||||
$(use_enable libsamplerate alsaloop) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable ncurses alsamixer) \
|
||||
--disable-alsaconf \
|
||||
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
|
||||
--with-udev-rules-dir="${EPREFIX}/$(get_udevdir)"/rules.d \
|
||||
--with-asound-state-dir="${EPREFIX}"/var/lib/alsa \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc seq/*/README.*
|
||||
|
||||
newinitd "${FILESDIR}"/alsasound.initd-r7 alsasound
|
||||
newconfd "${FILESDIR}"/alsasound.confd-r4 alsasound
|
||||
|
||||
insinto /etc/modprobe.d
|
||||
newins "${FILESDIR}"/alsa-modules.conf-rc alsa.conf
|
||||
|
||||
keepdir /var/lib/alsa
|
||||
|
||||
# ALSA lib parser.c:1266:(uc_mgr_scan_master_configs) error: could not
|
||||
# scan directory /usr/share/alsa/ucm: No such file or directory
|
||||
# alsaucm: unable to obtain card list: No such file or directory
|
||||
keepdir /usr/share/alsa/ucm
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog
|
||||
elog "To take advantage of the init script, and automate the process of"
|
||||
elog "saving and restoring sound-card mixer levels you should"
|
||||
elog "add alsasound to the boot runlevel. You can do this as"
|
||||
elog "root like so:"
|
||||
elog "# rc-update add alsasound boot"
|
||||
ewarn
|
||||
ewarn "The ALSA core should be built into the kernel or loaded through other"
|
||||
ewarn "means. There is no longer any modular auto(un)loading in alsa-utils."
|
||||
fi
|
||||
}
|
||||
@@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit eutils systemd udev
|
||||
|
||||
DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
|
||||
HOMEPAGE="https://alsa-project.org/"
|
||||
SRC_URI="mirror://alsaproject/utils/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0.9"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
|
||||
IUSE="bat doc +libsamplerate +ncurses nls selinux"
|
||||
|
||||
CDEPEND=">=media-libs/alsa-lib-${PV}
|
||||
libsamplerate? ( media-libs/libsamplerate )
|
||||
ncurses? ( >=sys-libs/ncurses-5.7-r7:0= )
|
||||
bat? ( sci-libs/fftw:= )"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-text/xmlto )"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-alsa )"
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use doc || myconf='--disable-xmlto'
|
||||
|
||||
# --disable-alsaconf because it doesn't work with sys-apps/kmod wrt #456214
|
||||
econf \
|
||||
--disable-maintainer-mode \
|
||||
$(use_enable bat) \
|
||||
$(use_enable libsamplerate alsaloop) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable ncurses alsamixer) \
|
||||
--disable-alsaconf \
|
||||
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
|
||||
--with-udev-rules-dir="${EPREFIX}/$(get_udevdir)"/rules.d \
|
||||
--with-asound-state-dir="${EPREFIX}"/var/lib/alsa \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc seq/*/README.*
|
||||
|
||||
newinitd "${FILESDIR}"/alsasound.initd-r7 alsasound
|
||||
newconfd "${FILESDIR}"/alsasound.confd-r4 alsasound
|
||||
|
||||
insinto /etc/modprobe.d
|
||||
newins "${FILESDIR}"/alsa-modules.conf-rc alsa.conf
|
||||
|
||||
keepdir /var/lib/alsa
|
||||
|
||||
# ALSA lib parser.c:1266:(uc_mgr_scan_master_configs) error: could not
|
||||
# scan directory /usr/share/alsa/ucm: No such file or directory
|
||||
# alsaucm: unable to obtain card list: No such file or directory
|
||||
keepdir /usr/share/alsa/ucm
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog
|
||||
elog "To take advantage of the init script, and automate the process of"
|
||||
elog "saving and restoring sound-card mixer levels you should"
|
||||
elog "add alsasound to the boot runlevel. You can do this as"
|
||||
elog "root like so:"
|
||||
elog "# rc-update add alsasound boot"
|
||||
ewarn
|
||||
ewarn "The ALSA core should be built into the kernel or loaded through other"
|
||||
ewarn "means. There is no longer any modular auto(un)loading in alsa-utils."
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user