synfig: update to 1.4.2

This commit is contained in:
newbluemoon 2021-08-06 09:50:58 +02:00 committed by Érico Nogueira Rolim
parent 0f5816a9e4
commit c24a4c1d50
2 changed files with 32 additions and 3 deletions

View File

@ -0,0 +1,29 @@
Prevent synfig from filtering out the compilers '-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

View File

@ -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 <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=f90f1dcff1a409bbe2bfbb2cf42b7019cf735bec3223722db2feba6e198d1bc1
checksum=e66688b908ab2f05f87cc5a364f958a1351f101ccab3b3ade33a926453002f4e
CXXFLAGS="-std=c++11 -DHAVE_LOCALE_H=1"