31 lines
1.0 KiB
Bash
31 lines
1.0 KiB
Bash
# Template file for 'synfig'
|
|
pkgname=synfig
|
|
version=1.4.3
|
|
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 libmagick-devel
|
|
libmng-devel boost-build boost-devel libopenexr-devel ffmpeg-devel"
|
|
depends="ImageMagick"
|
|
short_desc="CLI 2D vector and timeline-based animation software"
|
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://www.synfig.org/"
|
|
distfiles="https://github.com/synfig/synfig/releases/download/v${version}/synfig-${version}.tar.gz"
|
|
checksum=0c8d02ff6c77e468021a4497be34323d38246208d199ab1c3bbf65c9794752e7
|
|
|
|
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/bin/synfig-config
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|