void-packages/srcpkgs/synfigstudio/template

31 lines
946 B
Bash

# Template file for 'synfigstudio'
pkgname=synfigstudio
version=1.4.0
revision=1
build_style=gnu-configure
configure_args="--disable-update-mimedb"
hostmakedepends="pkg-config intltool gettext"
makedepends="ETL synfig-devel gtkmm-devel libltdl-devel boost-devel"
short_desc="Vector based 2D animation studio"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="http://www.synfig.org/"
distfiles="https://github.com/synfig/synfig/releases/download/v${version}/synfigstudio-${version}.tar.gz"
checksum=ca1eb1a3e2264c57974a576d1995e005079d96cee19d3dffaacded72c93fbd56
python_version=3
CXXFLAGS="-Wno-deprecated-copy -DHAVE_LOCALE_H=1"
if [ -n "$CROSS_BUILD" ]; then
# uses synfig to create some icons
hostmakedepends+=" synfig"
fi
synfigstudio-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}