[arch-commits] Commit in synfig/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue May 18 09:27:31 UTC 2021


    Date: Tuesday, May 18, 2021 @ 09:27:31
  Author: felixonmars
Revision: 936243

archrelease: copy trunk to community-staging-x86_64

Added:
  synfig/repos/community-staging-x86_64/
  synfig/repos/community-staging-x86_64/PKGBUILD
    (from rev 936242, synfig/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: synfig/repos/community-staging-x86_64/PKGBUILD (from rev 936242, synfig/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-05-18 09:27:31 UTC (rev 936243)
@@ -0,0 +1,33 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Franco Iacomella <yaco at gnu.org>
+
+pkgname=synfig
+pkgver=1.4.1
+pkgrel=2
+pkgdesc='Professional vector animation program (CLI renderer only)'
+arch=('x86_64')
+url='https://www.synfig.org/'
+license=('GPL3')
+depends=('boost-libs' 'fftw' 'imagemagick' 'libjpeg-turbo' 'libmng' 'libxml++2.6' 'mlt6' 'openexr'
+         'pango')
+makedepends=('boost' 'etl' 'intltool')
+source=("https://downloads.sourceforge.net/synfig/$pkgname-$pkgver.tar.gz")
+sha256sums=('f90f1dcff1a409bbe2bfbb2cf42b7019cf735bec3223722db2feba6e198d1bc1')
+
+build() {
+  cd $pkgname-$pkgver
+
+  # temporary workaround for GCC 11; upstream has refactored etl::clock to
+  # use std::chrono so this should not be needed in future synfig versions
+  CXXFLAGS+=' -std=c++14'
+
+  ./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
+}



More information about the arch-commits mailing list