void-packages/srcpkgs/synfig/template

29 lines
1,021 B
Bash

# Template file for 'synfig'
pkgname=synfig
version=1.2.1
revision=3
build_style=gnu-configure
configure_args="--with-boost-libdir=${XBPS_CROSS_BASE}/usr/lib"
hostmakedepends="boost-build ImageMagick pkg-config intltool"
makedepends="ETL gettext-devel libxml++-devel mlt-devel
libmng-devel boost-build boost-devel libopenexr-devel ffmpeg-devel"
depends="ImageMagick"
short_desc="Open Source 2D vector and timeline-based animation software (command line renderer)"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="GPL-3.0-or-later"
homepage="http://www.synfig.org/"
distfiles="${SOURCEFORGE_SITE}/synfig/releases/${version}/source/synfig-${version}.tar.gz"
checksum=4d8bada4e99f05ee16b4256fc3f5a551d00a745347944837bbd6fa158b57e457
CXXFLAGS="-std=c++11 -DHAVE_LOCALE_H=1"
synfig-devel_package() {
depends="${sourcepkg}>=${version}_${revision}
libopenexr-devel libxml++-devel mlt-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}