diff --git a/common/shlibs b/common/shlibs index 2712126b148..bf4d7eac0b5 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/alsa-tools-devel b/srcpkgs/alsa-tools-devel new file mode 120000 index 00000000000..e41bf5cb676 --- /dev/null +++ b/srcpkgs/alsa-tools-devel @@ -0,0 +1 @@ +alsa-tools \ No newline at end of file diff --git a/srcpkgs/alsa-tools/patches/musl-__sighandler_t.patch b/srcpkgs/alsa-tools/patches/musl-__sighandler_t.patch new file mode 100644 index 00000000000..7231d2e59ba --- /dev/null +++ b/srcpkgs/alsa-tools/patches/musl-__sighandler_t.patch @@ -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 + + #include diff --git a/srcpkgs/alsa-tools/template b/srcpkgs/alsa-tools/template new file mode 100644 index 00000000000..015e08e21cb --- /dev/null +++ b/srcpkgs/alsa-tools/template @@ -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 " +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 + } +} +