void-packages/srcpkgs/synfigstudio/template

28 lines
843 B
Bash

# Template file for 'synfigstudio'
pkgname=synfigstudio
version=1.2.2
revision=2
build_style=gnu-configure
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}/source-synfigstudio-${version}.tar.gz"
checksum=76fa37998af634cf694f9b5bdfcb90220bc88f8527df117d9282a39fe01489e2
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
}
}