alsa-lib: move python smixer plugin into its own subpkg.

This commit is contained in:
Juan RP 2012-05-06 16:57:48 +02:00
parent 7e0ae9d66b
commit 2774d25eed
5 changed files with 25 additions and 3 deletions

1
srcpkgs/alsa-lib-python Symbolic link
View File

@ -0,0 +1 @@
alsa-lib

View File

@ -0,0 +1,7 @@
libasound.so.2
libpthread.so.0
libdl.so.2
libutil.so.1
libm.so.6
libpython2.7.so.1.0
libc.so.6

View File

@ -0,0 +1,13 @@
# Template file for 'alsa-lib-python'.
#
short_desc="${sourcepkg} - python smixer plugin"
long_desc="${long_desc}
This package contains a python smixer plugin for ALSA."
replaces="alsa-lib<=1.0.25"
do_install() {
vmove usr/lib/alsa-lib/smixer/smixer-python.so \
usr/lib/alsa-mixer/smixer
}

View File

@ -1,7 +1,5 @@
libpthread.so.0 libpthread.so.0
libc.so.6 libc.so.6
libdl.so.2 libdl.so.2
libutil.so.1
libm.so.6 libm.so.6
libpython2.7.so.1.0
librt.so.1 librt.so.1

View File

@ -1,10 +1,13 @@
# Template build file for 'alsa-lib'. # Template build file for 'alsa-lib'.
pkgname=alsa-lib pkgname=alsa-lib
version=1.0.25 version=1.0.25
revision=1
homepage="http://www.alsa-project.org"
distfiles="ftp://ftp.alsa-project.org/pub/lib/$pkgname-$version.tar.bz2" distfiles="ftp://ftp.alsa-project.org/pub/lib/$pkgname-$version.tar.bz2"
build_style=gnu-configure build_style=gnu-configure
short_desc="The Advanced Linux Sound Architecture (ALSA) library" short_desc="The Advanced Linux Sound Architecture (ALSA) library"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
checksum=5a1a805cf04106316d549ec650116ce6711a162e107ba8b3c551866680e286e6 checksum=5a1a805cf04106316d549ec650116ce6711a162e107ba8b3c551866680e286e6
long_desc=" long_desc="
The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
@ -14,6 +17,6 @@ long_desc="
programming and provide higher level functionality as well as support for programming and provide higher level functionality as well as support for
the older OSS API, providing binary compatibility for most OSS programs." the older OSS API, providing binary compatibility for most OSS programs."
subpackages="$pkgname-devel" subpackages="$pkgname-devel $pkgname-python"
Add_dependency build pkg-config Add_dependency build pkg-config
Add_dependency build python-devel Add_dependency build python-devel