From 327c86c4a468916f119aad4c6d4e57d182b84908 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 20 Oct 2015 03:53:23 +0200 Subject: [PATCH] New package: synfig-1.0.2 Closes #2587 --- common/shlibs | 1 + srcpkgs/synfig/patches/fix-isnan.patch | 9 +++++++++ srcpkgs/synfig/template | 27 ++++++++++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 srcpkgs/synfig/patches/fix-isnan.patch create mode 100644 srcpkgs/synfig/template diff --git a/common/shlibs b/common/shlibs index 625ea646ba..e70fd40675 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/synfig/patches/fix-isnan.patch b/srcpkgs/synfig/patches/fix-isnan.patch new file mode 100644 index 0000000000..6428fe18c7 --- /dev/null +++ b/srcpkgs/synfig/patches/fix-isnan.patch @@ -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_); + } diff --git a/srcpkgs/synfig/template b/srcpkgs/synfig/template new file mode 100644 index 0000000000..364db3bcf7 --- /dev/null +++ b/srcpkgs/synfig/template @@ -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 " +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 + } +}