void-packages/srcpkgs/synfigstudio/template

29 lines
946 B
Bash

# Template file for 'synfigstudio'
# Should be kept in sync with 'synfig' and 'ETL'
pkgname=synfigstudio
version=1.4.4
revision=2
build_style=gnu-configure
configure_args="--disable-update-mimedb"
hostmakedepends="pkg-config intltool gettext synfig"
makedepends="ETL synfig-devel boost-devel gtkmm-devel libltdl-devel
libmagick-devel"
short_desc="Vector based 2D animation studio"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.synfig.org/"
distfiles="https://github.com/synfig/synfig/releases/download/v${version}/synfigstudio-${version}.tar.gz"
checksum=8893c681ccda6bc34f173d5183e28fbf78feb348f26a7661bc3c038e837eb21f
python_version=3
CXXFLAGS="-Wno-deprecated-copy -DHAVE_LOCALE_H=1"
export DATADIRNAME=share
synfigstudio-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}