From a8054c40581b5aec1b06f4d00e1c93b75dfb3d02 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 17 Feb 2014 18:23:23 +0100 Subject: [PATCH] alsa-lib: remove long_desc. --- srcpkgs/alsa-lib/template | 40 +++++++++++++-------------------------- 1 file changed, 13 insertions(+), 27 deletions(-) diff --git a/srcpkgs/alsa-lib/template b/srcpkgs/alsa-lib/template index dc2c1a38702..25b4996091a 100644 --- a/srcpkgs/alsa-lib/template +++ b/srcpkgs/alsa-lib/template @@ -1,9 +1,10 @@ # Template build file for 'alsa-lib'. pkgname=alsa-lib version=1.0.27.2 -revision=1 +revision=2 build_style=gnu-configure -hostmakedepends="pkg-config" +configure_args="--with-pythonlibs=-lpython2.7 --with-pythonincludes=-I${XBPS_CROSS_BASE}/usr/include/python2.7" +hostmakedepends="automake libtool pkg-config python-devel" makedepends="python-devel" short_desc="The Advanced Linux Sound Architecture (ALSA) library" maintainer="Juan RP " @@ -11,24 +12,11 @@ license="LGPL-2.1" homepage="http://www.alsa-project.org" distfiles="ftp://ftp.alsa-project.org/pub/lib/$pkgname-$version.tar.bz2" checksum=690ed393e7efd4fc7e3a2d2cda5449298ca0c895197e5914e350882012430d19 -long_desc=" - The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI - functionality to the Linux operating system. - This package includes the ALSA runtime libraries to simplify application - programming and provide higher level functionality as well as support for - the older OSS API, providing binary compatibility for most OSS programs." - -if [ -n "$CROSS_BUILD" ]; then - # XXX python plugin - unset makedepends - hostmakedepends+=" libtool automake" - configure_args+=" --disable-python" - pre_configure() { - sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.in - autoreconf -fi - } -fi +pre_configure() { + sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.in + autoreconf -fi +} alsa-lib-devel_package() { depends="alsa-lib>=${version}" @@ -40,12 +28,10 @@ alsa-lib-devel_package() { } } -if [ -z "$CROSS_BUILD" ]; then - alsa-lib-python_package() { - short_desc+=" - python smixer plugin" - replaces="alsa-lib<=1.0.25" - pkg_install() { - vmove usr/lib/alsa-lib/smixer/smixer-python.so - } +alsa-lib-python_package() { + short_desc+=" - python smixer plugin" + replaces="alsa-lib<=1.0.25" + pkg_install() { + vmove usr/lib/alsa-lib/smixer/smixer-python.so } -fi +}