[arch-commits] Commit in etl/repos (3 files)

Antonio Rojas arojas at archlinux.org
Sat May 20 09:11:16 UTC 2017


    Date: Saturday, May 20, 2017 @ 09:11:15
  Author: arojas
Revision: 228759

archrelease: copy trunk to community-testing-any

Added:
  etl/repos/community-testing-any/
  etl/repos/community-testing-any/ETL-swap-type.patch
    (from rev 228758, etl/trunk/ETL-swap-type.patch)
  etl/repos/community-testing-any/PKGBUILD
    (from rev 228758, etl/trunk/PKGBUILD)

---------------------+
 ETL-swap-type.patch |   11 +++++++++++
 PKGBUILD            |   34 ++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

Copied: etl/repos/community-testing-any/ETL-swap-type.patch (from rev 228758, etl/trunk/ETL-swap-type.patch)
===================================================================
--- community-testing-any/ETL-swap-type.patch	                        (rev 0)
+++ community-testing-any/ETL-swap-type.patch	2017-05-20 09:11:15 UTC (rev 228759)
@@ -0,0 +1,11 @@
+--- ETL/_surface.h~	2016-11-30 04:59:46.000000000 -0600
++++ ETL/_surface.h	2017-03-07 08:08:04.027014347 -0600
+@@ -190,7 +190,7 @@
+ 
+ 	value_prep_type cooker_;
+ 
+-	void swap(const surface &x)
++	void swap(surface &x)
+ 	{
+ 		std::swap(data_,x.data_);
+ 		std::swap(zero_pos_,x.zero_pos_);

Copied: etl/repos/community-testing-any/PKGBUILD (from rev 228758, etl/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2017-05-20 09:11:15 UTC (rev 228759)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Franco Iacomella <yaco at gnu.org>
+
+pkgname=etl
+pkgver=0.04.22
+pkgrel=2
+pkgdesc="VoriaETL: C++ STL complementory multiplatform template library"
+arch=(any)
+url="http://synfig.org"
+license=('GPL2')
+depends=()
+conflicts=('synfig-etl')
+replaces=('synfig-etl')
+source=(https://downloads.sourceforge.net/project/synfig/releases/1.2.0/source/ETL-${pkgver}.tar.gz ETL-swap-type.patch)
+sha256sums=('ac5aeb9b8ec2c69dd455c6c72e104ff20c43e1e5dde6c0cd87f3f7d1b41d2746'
+            '50ef24805f2e90d02fc2b94e2a578f78eaa266b56c57c198b3b947a65237e9c7')
+
+prepare() {
+  cd ETL-$pkgver
+  # fix synfig build with GCC 7 (Fedora)
+  patch -p0 -i ../ETL-swap-type.patch
+}
+
+build() {
+  cd "$srcdir"/ETL-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir"/ETL-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list