New package: alsa-tools-1.0.29

This commit is contained in:
Steve Prybylski 2015-09-10 22:06:47 -04:00
parent c7ee16c83a
commit dc8c6565e6
4 changed files with 67 additions and 0 deletions

View file

@ -2157,3 +2157,4 @@ libhashkit.so.2 libmemcached-1.0.18_1
libmemcachedutil.so.2 libmemcached-1.0.18_1
libc-client.so.1 c-client-2007f_1
libonig.so.2 oniguruma-5.9.6_1
liblo10k1.so.0 alsa-tools-1.0.29_1

1
srcpkgs/alsa-tools-devel Symbolic link
View file

@ -0,0 +1 @@
alsa-tools

View file

@ -0,0 +1,13 @@
--- ./ld10k1/src/ld10k1_fnc1.c.orig 2015-09-10 22:54:40.229499746 -0400
+++ ./ld10k1/src/ld10k1_fnc1.c 2015-09-10 23:09:37.236472375 -0400
@@ -23,6 +23,10 @@
#include "config.h"
#endif
+#if !defined(__GLIBC__)
+typedef void (*__sighandler_t) (int);
+#endif
+
#include <alsa/asoundlib.h>
#include <signal.h>

View file

@ -0,0 +1,52 @@
# Template file for 'alsa-tools'
pkgname=alsa-tools
version=1.0.29
revision=1
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel gtk+-devel gtk+3-devel fltk-devel"
depends="python-alsa"
short_desc="Advanced ALSA tools for certain sound cards"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="GPL-2"
homepage="http://alsa-project.org"
distfiles="ftp://ftp.alsa-project.org/pub/tools/${pkgname}-${version}.tar.bz2"
checksum=94abf0ab5a73f0710c70d4fb3dc1003af5bae2d2ed721d59d245b41ad0f2fbd1
_tools=(
as10k1 echomixer envy24control hdajackretask hda-verb hdspconf hdsploader
hdspmixer hwmixvolume ld10k1 mixartloader pcxhrloader rmedigicontrol sb16_csp
seq/sbiload sscape_ctl us428control usx2yloader vxloader
)
do_configure() {
for tool in ${_tools[@]}; do
cd ${wrksrc}/${tool}
msg_normal "Configuring ${tool} ...\n"
./configure ${configure_args}
done
}
do_build() {
for tool in ${_tools[@]}; do
msg_normal "Building ${tool} ...\n"
make -C ${tool} ${makejobs}
done
}
do_install() {
for tool in ${_tools[@]}; do
msg_normal "Installing ${tool} ...\n"
make -C ${tool} DESTDIR=${DESTDIR} install
done
}
alsa-tools-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include/
vmove usr/lib/*.so
vmove usr/share/aclocal
}
}