alsa-lib: cross build and dbg support.
This commit is contained in:
parent
50050391f1
commit
9d366cbe39
3 changed files with 14 additions and 10 deletions
srcpkgs/alsa-lib
|
@ -2,10 +2,7 @@
|
||||||
#
|
#
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="glibc-devel alsa-lib>=${version}"
|
depends="glibc-devel alsa-lib>=${version}"
|
||||||
short_desc="${sourcepkg} development files"
|
short_desc="${short_desc} - development files"
|
||||||
long_desc="${long_desc}
|
|
||||||
|
|
||||||
This package contains files for development, headers, static libs, etc."
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmove usr/include usr
|
vmove usr/include usr
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
# Template file for 'alsa-lib-python'.
|
# Template file for 'alsa-lib-python'.
|
||||||
#
|
#
|
||||||
short_desc="${sourcepkg} - python smixer plugin"
|
short_desc="${short_desc} - python smixer plugin"
|
||||||
long_desc="${long_desc}
|
|
||||||
|
|
||||||
This package contains a python smixer plugin for ALSA."
|
|
||||||
|
|
||||||
replaces="alsa-lib<=1.0.25"
|
replaces="alsa-lib<=1.0.25"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'alsa-lib'.
|
# Template build file for 'alsa-lib'.
|
||||||
pkgname=alsa-lib
|
pkgname=alsa-lib
|
||||||
version=1.0.26
|
version=1.0.26
|
||||||
revision=1
|
revision=2
|
||||||
subpackages="$pkgname-devel $pkgname-python"
|
subpackages="$pkgname-devel $pkgname-python"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
makedepends="pkg-config python-devel"
|
makedepends="pkg-config python-devel"
|
||||||
|
@ -18,3 +18,14 @@ long_desc="
|
||||||
This package includes the ALSA runtime libraries to simplify application
|
This package includes the ALSA runtime libraries to simplify application
|
||||||
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."
|
||||||
|
|
||||||
|
if [ -n "$XBPS_CROSS_BUILD" ]; then
|
||||||
|
# XXX python plugin
|
||||||
|
makedepends="automake pkg-config"
|
||||||
|
configure_args="--disable-python"
|
||||||
|
subpackages="$pkgname-devel"
|
||||||
|
pre_configure() {
|
||||||
|
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.in
|
||||||
|
autoreconf -fi
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue