void-packages/srcpkgs/ladish/template
Jürgen Buchmüller 3328235057
ladish: rebuild for gcc stdc++ dropping gcc4 compat
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-08-01 15:01:54 +02:00

38 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="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://ladish.org"
distfiles="${DEBIAN_SITE}/main/l/ladish/ladish_1+dfsg0.orig.tar.bz2"
checksum=39b09d5a4c2f2d65d37374eb8b53f35039f2229d96ea6ddef7b1ce154403383a
CXXFLAGS=-std=c++11
do_configure() {
if [ "$CROSS_BUILD" ];then
python waf configure --prefix=/usr --enable-liblash
else
python 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"
}
}