[arch-commits] Commit in opencollada/repos (4 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Wed Dec 5 19:19:26 UTC 2018


    Date: Wednesday, December 5, 2018 @ 19:19:25
  Author: svenstaro
Revision: 411581

archrelease: copy trunk to community-staging-x86_64

Added:
  opencollada/repos/community-staging-x86_64/
  opencollada/repos/community-staging-x86_64/PKGBUILD
    (from rev 411580, opencollada/trunk/PKGBUILD)
  opencollada/repos/community-staging-x86_64/opencollada.conf
    (from rev 411580, opencollada/trunk/opencollada.conf)
  opencollada/repos/community-staging-x86_64/pcre.patch
    (from rev 411580, opencollada/trunk/pcre.patch)

------------------+
 PKGBUILD         |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 opencollada.conf |    1 +
 pcre.patch       |   14 ++++++++++++++
 3 files changed, 61 insertions(+)

Copied: opencollada/repos/community-staging-x86_64/PKGBUILD (from rev 411580, opencollada/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-12-05 19:19:25 UTC (rev 411581)
@@ -0,0 +1,46 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=opencollada
+pkgver=1.6.68
+pkgrel=1
+epoch=1
+pkgdesc="Stream based reader and writer library for COLLADA files"
+arch=(x86_64)
+url="https://github.com/KhronosGroup/OpenCOLLADA"
+license=('GPL')
+depends=('libxml2' 'pcre')
+makedepends=('git' 'cmake')
+source=('opencollada.conf'
+        'pcre.patch'
+        "git://github.com/KhronosGroup/OpenCOLLADA.git#tag=v${pkgver}")
+sha256sums=('2fc9656a2b881ca4528416daa91fc525adaa97d73e96a18b41aa7856270eba1f'
+            'f37a7cbadcaa06b70133f76c509c61bdcf13715bc13aed11b5db83ef594813b3'
+            'SKIP')
+
+prepare() {
+  cd "$srcdir"/OpenCOLLADA
+
+  patch -Np1 -i "$srcdir"/pcre.patch
+}
+
+build() {
+  cd "$srcdir"/OpenCOLLADA
+
+  [[ -d build ]] && rm -r build
+  mkdir build && cd build
+
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DUSE_SHARED=ON \
+    -DUSE_STATIC=OFF
+  make
+}
+
+package() {
+  cd "$srcdir"/OpenCOLLADA/build
+
+  make DESTDIR=$pkgdir install
+
+  install -Dm644 $srcdir/opencollada.conf $pkgdir/etc/ld.so.conf.d/opencollada.conf
+}
+
+# vim:set ts=2 sw=2 et:

Copied: opencollada/repos/community-staging-x86_64/opencollada.conf (from rev 411580, opencollada/trunk/opencollada.conf)
===================================================================
--- community-staging-x86_64/opencollada.conf	                        (rev 0)
+++ community-staging-x86_64/opencollada.conf	2018-12-05 19:19:25 UTC (rev 411581)
@@ -0,0 +1 @@
+/usr/lib/opencollada

Copied: opencollada/repos/community-staging-x86_64/pcre.patch (from rev 411580, opencollada/trunk/pcre.patch)
===================================================================
--- community-staging-x86_64/pcre.patch	                        (rev 0)
+++ community-staging-x86_64/pcre.patch	2018-12-05 19:19:25 UTC (rev 411581)
@@ -0,0 +1,14 @@
+diff --git a/COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h b/COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h
+index 22f2598b..269c50ca 100644
+--- a/COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h
++++ b/COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h
+@@ -13,8 +13,7 @@
+ 
+ #include "COLLADABUPrerequisites.h"
+ 
+-struct real_pcre;
+-typedef struct real_pcre pcre;
++#include "pcre.h"
+ 
+ 
+ namespace COLLADABU


More information about the arch-commits mailing list