void-packages/srcpkgs/synfig/template

30 lines
992 B
Bash

# Template file for 'synfig'
pkgname=synfig
version=1.2.1
revision=1
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"
homepage="http://www.synfig.org/"
distfiles="${SOURCEFORGE_SITE}/synfig/releases/${version}/source/synfig-${version}.tar.gz"
checksum=4d8bada4e99f05ee16b4256fc3f5a551d00a745347944837bbd6fa158b57e457
CXXFLAGS="-std=c++11"
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
}
}