diff --git a/srcpkgs/synfig/patches/cflags-cxxflags.patch b/srcpkgs/synfig/patches/cflags-cxxflags.patch new file mode 100644 index 00000000000..d0c1b2280fd --- /dev/null +++ b/srcpkgs/synfig/patches/cflags-cxxflags.patch @@ -0,0 +1,29 @@ +Prevent synfig from filtering out the compiler’s '-g' option to produce debug +information. + +--- a/configure 2021-07-28 17:11:56.000000000 +0200 ++++ b/configure 2021-08-09 21:35:13.846748903 +0200 +@@ -19613,8 +19613,8 @@ + ;; + no|*) + debug_flags="-DNDEBUG" +- CXXFLAGS="`echo $CXXFLAGS | sed 's:-g[a-z-]*\s::g' | sed 's:-g[a-z-]*$::'` $debug_flags" +- CFLAGS="`echo $CFLAGS | sed 's:-g[a-z-]*\s::g' | sed 's:-g[a-z-]*$::'` $debug_flags" ++ CXXFLAGS="$CXXFLAGS $debug_flags" ++ CFLAGS="$CFLAGS $debug_flags" + ;; + esac + +--- a/m4/subs.m4 2021-07-12 17:45:48.000000000 +0200 ++++ b/m4/subs.m4 2021-08-09 21:39:39.014802968 +0200 +@@ -85,8 +85,8 @@ + ;; + no|*) + debug_flags="-DNDEBUG" +- CXXFLAGS="`echo $CXXFLAGS | sed 's:-g[[a-z-]]*\s::g' | sed 's:-g[[a-z-]]*$::'` $debug_flags" +- CFLAGS="`echo $CFLAGS | sed 's:-g[[a-z-]]*\s::g' | sed 's:-g[[a-z-]]*$::'` $debug_flags" ++ CXXFLAGS="$CXXFLAGS $debug_flags" ++ CFLAGS="$CFLAGS $debug_flags" + ;; + esac + diff --git a/srcpkgs/synfig/template b/srcpkgs/synfig/template index d36db2d1ea6..87416c4a173 100644 --- a/srcpkgs/synfig/template +++ b/srcpkgs/synfig/template @@ -1,11 +1,11 @@ # Template file for 'synfig' pkgname=synfig -version=1.4.1 +version=1.4.2 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 +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" @@ -13,7 +13,7 @@ maintainer="Diogo Leal " 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=f90f1dcff1a409bbe2bfbb2cf42b7019cf735bec3223722db2feba6e198d1bc1 +checksum=e66688b908ab2f05f87cc5a364f958a1351f101ccab3b3ade33a926453002f4e CXXFLAGS="-std=c++11 -DHAVE_LOCALE_H=1"