void-packages/srcpkgs/libvisual/template

45 lines
1.5 KiB
Text

# Template file for 'libvisual'.
pkgname=libvisual
version=0.4.0
revision=6
build_style=gnu-configure
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 <xtraeme@gmail.com>"
homepage="http://sourceforge.net/projects/libvisual/"
license="LGPL-2.1"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=0b4dfdb87125e129567752089e3c8b54cefed601eef169d2533d8659da8dc1d7
long_desc="
Libvisual is an abstraction library that comes between applications and
audio visualisation plugins.
Often when it comes to audio visualisation plugins or programs that create
visuals they do depend on a player or something else, basically there is no
general framework that enable application developers to easy access cool
audio visualisation plugins. Libvisual wants to change this by providing
an interface towards plugins and applications, through this easy to use
interface applications can easily access plugins and since the drawing is
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"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
libvisual_package() {
pkg_install() {
vmove all
}
}