void-packages/srcpkgs/ladish/template
Đoàn Trần Công Danh 9978e00086 srcpkgs: remove patch_args=-Np1 en-mass
git grep -l '^patch_args=.*p1' 'srcpkgs/*/template'  |
	xargs -r sed -i '/^patch_args=/d'
2021-06-20 13:17:29 +07:00

39 lines
1.1 KiB
Bash

# Template file for 'ladish'
pkgname=ladish
version=1
revision=11
wrksrc="ladish-1+dfsg0"
build_style=waf
hostmakedepends="perl intltool python pkg-config"
makedepends="python-devel alsa-lib-devel jack-devel
dbus-devel dbus-glib-devel libuuid-devel expat-devel
flowcanvas-devel boost-devel libgnomecanvasmm-devel gtkmm2-devel"
depends="jack a2jmidid hicolor-icon-theme"
pycompile_module="lash.py"
short_desc="Session management system for JACK applications"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2"
homepage="http://ladish.org"
distfiles="${DEBIAN_SITE}/main/l/ladish/ladish_1+dfsg0.orig.tar.bz2"
checksum=39b09d5a4c2f2d65d37374eb8b53f35039f2229d96ea6ddef7b1ce154403383a
python_version=2
CXXFLAGS=-std=c++11
do_configure() {
if [ "$CROSS_BUILD" ];then
python2 waf configure --prefix=/usr --enable-liblash
else
python2 waf configure --prefix=/usr --enable-liblash --enable-pylash
fi
}
ladish-devel_package() {
depends="libuuid-devel ladish>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}