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

Sven-Hendrik Haase svenstaro at archlinux.org
Thu Oct 18 00:04:17 UTC 2018


    Date: Thursday, October 18, 2018 @ 00:04:15
  Author: svenstaro
Revision: 395785

archrelease: copy trunk to community-staging-x86_64

Added:
  forge/repos/community-staging-x86_64/
  forge/repos/community-staging-x86_64/PKGBUILD
    (from rev 395784, forge/trunk/PKGBUILD)
  forge/repos/community-staging-x86_64/glm.patch
    (from rev 395784, forge/trunk/glm.patch)

-----------+
 PKGBUILD  |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 glm.patch |   22 ++++++++++++++++++++++
 2 files changed, 69 insertions(+)

Copied: forge/repos/community-staging-x86_64/PKGBUILD (from rev 395784, forge/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-10-18 00:04:15 UTC (rev 395785)
@@ -0,0 +1,47 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=forge
+pkgdesc="High Performance Visualizations"
+url='https://github.com/arrayfire/forge'
+pkgver=1.1.0
+_afver=af3.6.0
+arch=('x86_64')
+pkgrel=2
+epoch=1
+license=('BSD')
+makedepends=('cmake' 'doxygen' 'graphviz' 'git' 'python' 'glm' 'boost')
+depends=('glfw' 'freetype2' 'fontconfig' 'freeimage' 'glbinding')
+source=(https://github.com/arrayfire/forge/archive/${_afver}.tar.gz
+        glm.patch)
+sha512sums=('e26ac048b7f2708c0b4bc06a99fd7bec2be870e0c73bd4a8cfa733d6a96f61a7261b0baab71bcb1cdb1969f3d133f85f5bca57ff74e1d166776cfe642fdbd16b'
+            '6b6de2967dd7e0426854262be569ce9a5379ea9448c584f72cbfa08d13be269960b6a01f0ba3e64c9a543644466b62ba3bac3199312b2b035c12a2e872ff002b')
+options=('!buildflags')
+
+prepare() {
+  cd forge-${_afver}
+
+  patch -Np1 -i "$srcdir"/glm.patch
+}
+
+build() {
+  cd forge-${_afver}
+
+  rm -rf build
+  mkdir build && cd build
+
+  cmake .. \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DBUILD_EXAMPLES=ON \
+      -DBUILD_DOCUMENTATION=ON
+
+  make
+}
+
+package() {
+  cd forge-${_afver}
+
+  install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+
+  cd build
+
+  make DESTDIR="${pkgdir}/" install
+}

Copied: forge/repos/community-staging-x86_64/glm.patch (from rev 395784, forge/trunk/glm.patch)
===================================================================
--- community-staging-x86_64/glm.patch	                        (rev 0)
+++ community-staging-x86_64/glm.patch	2018-10-18 00:04:15 UTC (rev 395785)
@@ -0,0 +1,22 @@
+commit befa265294fd9ff679dece7874c1de50fea97b25
+Author: pradeep <pradeep at arrayfire.com>
+Date:   Wed Jun 13 15:10:23 2018 +0530
+
+    Remove experimental glm/transform header
+    
+    Starting with glm-0.9.9, experimental headers can only
+    be included if GLM_ENABLE_EXPERIMENTAL is defined before
+    the inclusion of the header.
+
+diff --git a/src/backend/opengl/font_impl.cpp b/src/backend/opengl/font_impl.cpp
+index 05b20f3..d1ad889 100644
+--- a/src/backend/opengl/font_impl.cpp
++++ b/src/backend/opengl/font_impl.cpp
+@@ -20,7 +20,6 @@
+ 
+ #include <glm/glm.hpp>
+ #include <glm/gtc/matrix_transform.hpp>
+-#include <glm/gtx/transform.hpp>
+ 
+ #include <ft2build.h>
+ #include FT_FREETYPE_H



More information about the arch-commits mailing list