diff --git a/srcpkgs/libvisual/template b/srcpkgs/libvisual/template index 428b0b59e23..8e5b625bf6a 100644 --- a/srcpkgs/libvisual/template +++ b/srcpkgs/libvisual/template @@ -1,9 +1,9 @@ # Template file for 'libvisual'. pkgname=libvisual version=0.4.0 -revision=5 +revision=6 build_style=gnu-configure -configure_args="--disable-static" +configure_args="ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes" hostmakedepends="pkg-config" short_desc="Abstraction library for audio visualisation plugins" maintainer="Juan RP " @@ -24,17 +24,22 @@ long_desc=" done by the application it also enables the developer to draw the visual anywhere he wants." +pre_configure() { + sed -e 's,-L$(libdir),,' -i libvisual/Makefile.in +} + libvisual-devel_package() { depends="libvisual-${version}_${revision}" - short_desc+=" -- development files" + short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" } } libvisual_package() { pkg_install() { - vmove usr + vmove all } }