synfigstudio: update to 1.4.3

This commit is contained in:
newbluemoon 2022-11-08 21:38:13 +01:00 committed by Piraty
parent 0aa01597d8
commit 5606107a68
2 changed files with 2 additions and 31 deletions

View File

@ -1,29 +0,0 @@
Prevent synfigstudio from filtering out the compilers '-g' option to produce debug
information.
--- synfigstudio-1.4.2.orig/configure
+++ synfigstudio-1.4.2/configure
@@ -18015,8 +18015,8 @@ fi
;;
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"
+ CFLAGS="$CFLAGS -DNDEBUG"
+ CXXFLAGS="$CXXFLAGS -DNDEBUG"
;;
esac
--- synfigstudio-1.4.2.orig/m4/subs.m4
+++ synfigstudio-1.4.2/m4/subs.m4
@@ -83,8 +83,8 @@ AC_DEFUN([AC_ARG_DEBUG],
;;
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 -DNDEBUG"
+ CFLAGS="$CFLAGS -DNDEBUG"
;;
esac

View File

@ -1,6 +1,6 @@
# Template file for 'synfigstudio'
pkgname=synfigstudio
version=1.4.2
version=1.4.3
revision=1
build_style=gnu-configure
configure_args="--disable-update-mimedb"
@ -12,7 +12,7 @@ maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-2.0-or-later"
homepage="https://www.synfig.org/"
distfiles="https://github.com/synfig/synfig/releases/download/v${version}/synfigstudio-${version}.tar.gz"
checksum=4e86d4d8def6675fc92855a411795cc4062a1669cda82535d18b48a68b4d5497
checksum=500d08e94b803aa261fa17eebb3ed74cd1573296477f866e3fe8cceab2f7c1ba
python_version=3
CXXFLAGS="-Wno-deprecated-copy -DHAVE_LOCALE_H=1"
export DATADIRNAME=share