Date: Saturday, November 7, 2020 @ 22:58:45
  Author: arojas
Revision: 746150

archrelease: copy trunk to community-staging-x86_64

Added:
  synfig/repos/community-staging-x86_64/
  synfig/repos/community-staging-x86_64/PKGBUILD
    (from rev 746149, synfig/trunk/PKGBUILD)
  synfig/repos/community-staging-x86_64/fix-build.patch
    (from rev 746149, synfig/trunk/fix-build.patch)

-----------------+
 PKGBUILD        |   34 ++++++++++++++++++++++++++++++++++
 fix-build.patch |   25 +++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

Copied: synfig/repos/community-staging-x86_64/PKGBUILD (from rev 746149, 
synfig/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-07 22:58:45 UTC (rev 746150)
@@ -0,0 +1,34 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Sergej Pupykin <[email protected]>
+# Contributor: Franco Iacomella <[email protected]>
+
+pkgname=synfig
+pkgver=1.2.2
+pkgrel=4
+pkgdesc="Professional vector animation program (CLI renderer only)"
+arch=(x86_64)
+url="https://www.synfig.org/";
+license=(GPL2)
+depends=(boost-libs fftw imagemagick libjpeg-turbo libmng libxml++2.6 mlt 
openexr pango)
+makedepends=(boost etl intltool)
+source=(https://downloads.sourceforge.net/synfig/$pkgname-$pkgver.tar.gz
+        fix-build.patch)
+sha256sums=('5f5f7b33483041165f9a63fe4d95eb815971c7444569e574206f6964e83cc2ef'
+            '5f6e6b56a2d55074fb187e48611fbf0ca337e9d4ddd78669e9d836ce6ebedb78')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np2 -i ../fix-build.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: synfig/repos/community-staging-x86_64/fix-build.patch (from rev 746149, 
synfig/trunk/fix-build.patch)
===================================================================
--- community-staging-x86_64/fix-build.patch                            (rev 0)
+++ community-staging-x86_64/fix-build.patch    2020-11-07 22:58:45 UTC (rev 
746150)
@@ -0,0 +1,25 @@
+From dedb2f7f82a04c0cb3aad462bbe055412f3f5e18 Mon Sep 17 00:00:00 2001
+From: ice0 <[email protected]>
+Date: Wed, 29 Aug 2018 12:25:24 +0700
+Subject: [PATCH] Fixed MacOS 10.14 build (removed unnecessary include)
+
+---
+ synfig-core/src/synfig/savecanvas.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/synfig-core/src/synfig/savecanvas.cpp 
b/synfig-core/src/synfig/savecanvas.cpp
+index 4335a7bb1..370a389e0 100644
+--- a/synfig-core/src/synfig/savecanvas.cpp
++++ b/synfig-core/src/synfig/savecanvas.cpp
+@@ -66,9 +66,9 @@
+ #include <ETL/stringf>
+ #include "gradient.h"
+ 
+-extern "C" {
++/*extern "C" {
+ #include <libxml/tree.h>
+-}
++}*/
+ 
+ #endif
+ 

Reply via email to