void-packages/srcpkgs/libvisual/template

29 lines
839 B
Bash

# Template file for 'libvisual'
pkgname=libvisual
version=0.4.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config SDL-devel"
makedepends="SDL-devel"
short_desc="Abstraction library for audio visualisation plugins"
maintainer="Piraty <mail@piraty.dev>"
license="LGPL-2.1-or-later"
homepage="http://libvisual.org"
distfiles="https://github.com/Libvisual/libvisual/releases/download/libvisual-${version}/libvisual-${version}.tar.bz2"
checksum="2aa5967c5c9522c8d7ab9bd9246c77a582c1aaf4f2b3f06493dbe3066f00380a"
pre_configure() {
vsed -e 's,-L$(libdir),,' -i libvisual/Makefile.in
vsed -e 's,i*86),i*86*),' -i configure
}
libvisual-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}