New package: synfig-1.0.2

Closes #2587
This commit is contained in:
Jürgen Buchmüller 2015-10-20 03:53:23 +02:00
parent e7d406de01
commit 327c86c4a4
3 changed files with 37 additions and 0 deletions

View file

@ -2234,3 +2234,4 @@ libboinc_opencl.so.7 boinc-nox-7.6.2_1
libboinc_api.so.7 boinc-nox-7.6.2_1
libboinc_graphics2.so.7 boinc-nox-7.6.2_1
libbson-1.0.so.0 libbson-1.2.0_1
libsynfig.so.0 synfig-1.0.1_1

View file

@ -0,0 +1,9 @@
--- src/synfig/time.cpp 2015-07-09 09:33:03.000000000 +0200
+++ src/synfig/time.cpp 2015-10-20 02:51:23.394773482 +0200
@@ -319,5 +319,5 @@
bool
Time::is_valid()const
{
- return !isnan(value_);
+ return !std::isnan(value_);
}

27
srcpkgs/synfig/template Normal file
View file

@ -0,0 +1,27 @@
# Template file for 'synfig'
pkgname=synfig
version=1.0.2
revision=1
build_style=gnu-configure
hostmakedepends="boost-build ImageMagick pkg-config"
makedepends="ETL gettext-devel libxml++-devel mlt-devel
libmng-devel boost-build boost-devel libopenexr-devel ffmpeg-devel"
depends="ImageMagick"
short_desc="A free, Open Source 2D vector and timeline-based animation software"
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=34cdf9eac90aadea29fb2997e82da1c32713ab02940f7c8873330f894e167fb4
CXXFLAGS="-std=c++11"
synfig-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}