2011-07-13 05:09:11 +00:00
|
|
|
# Template build file for 'alsa-utils'.
|
|
|
|
pkgname=alsa-utils
|
2013-07-13 05:51:40 +00:00
|
|
|
version=1.0.27.2
|
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-07-10 07:42:26 +00:00
|
|
|
configure_args="--with-systemdsystemunitdir=/usr/lib/systemd/system
|
2013-05-26 19:08:04 +00:00
|
|
|
--with-udev-rules-dir=/usr/lib/udev/rules.d -disable-alsaconf"
|
2013-03-24 11:14:37 +00:00
|
|
|
hostmakedepends="pkg-config xmlto"
|
2013-04-17 08:27:09 +00:00
|
|
|
makedepends="ncurses-devel alsa-lib-devel>=1.0.27 libsamplerate-devel"
|
2011-07-13 05:09:11 +00:00
|
|
|
short_desc="The Advanced Linux Sound Architecture (ALSA) utils"
|
2011-07-17 06:27:36 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-07-13 05:09:11 +00:00
|
|
|
homepage="http://www.alsa-project.org"
|
|
|
|
license="GPL-2"
|
2012-07-09 21:01:40 +00:00
|
|
|
distfiles="ftp://ftp.alsa-project.org/pub/utils/$pkgname-$version.tar.bz2"
|
2013-07-13 05:51:40 +00:00
|
|
|
checksum=02bfac39092f3b68d743c23ad3d688d6c5aa8df69f2ccd692c5b8282edb352ea
|
2011-07-13 05:09:11 +00:00
|
|
|
long_desc="
|
|
|
|
The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
|
|
|
|
functionality to the Linux operating system.
|
|
|
|
|
2011-10-11 02:55:44 +00:00
|
|
|
This package includes the ALSA runtime utilities."
|
2013-04-12 06:55:23 +00:00
|
|
|
|
2013-05-26 19:08:04 +00:00
|
|
|
post_install() {
|
|
|
|
# Install required udev rules file.
|
|
|
|
make -C alsactl 90-alsa-restore.rules
|
|
|
|
vinstall alsactl/90-alsa-restore.rules 644 usr/lib/udev/rules.d
|
|
|
|
}
|
|
|
|
|
2013-04-12 06:55:23 +00:00
|
|
|
alsa-utils_package() {
|
2013-04-17 08:27:09 +00:00
|
|
|
# Needs snd_pcm_abort() from >= 1.0.27.
|
|
|
|
depends="alsa-lib>=1.0.27"
|
2013-04-12 06:55:23 +00:00
|
|
|
make_dirs="/var/lib/alsa 0750 root root"
|
|
|
|
pkg_install() {
|
2013-05-26 18:25:48 +00:00
|
|
|
vmove all
|
2013-04-12 06:55:23 +00:00
|
|
|
}
|
|
|
|
}
|