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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sun Dec 6 22:24:07 UTC 2015


    Date: Sunday, December 6, 2015 @ 23:24:06
  Author: bpiotrowski
Revision: 149284

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  forge/repos/community-staging-i686/
  forge/repos/community-staging-i686/PKGBUILD
    (from rev 149283, forge/trunk/PKGBUILD)
  forge/repos/community-staging-i686/build.patch
    (from rev 149283, forge/trunk/build.patch)
  forge/repos/community-staging-x86_64/
  forge/repos/community-staging-x86_64/PKGBUILD
    (from rev 149283, forge/trunk/PKGBUILD)
  forge/repos/community-staging-x86_64/build.patch
    (from rev 149283, forge/trunk/build.patch)

--------------------------------------+
 community-staging-i686/PKGBUILD      |   42 +++++++++++++++++++++++++++++++++
 community-staging-i686/build.patch   |   15 +++++++++++
 community-staging-x86_64/PKGBUILD    |   42 +++++++++++++++++++++++++++++++++
 community-staging-x86_64/build.patch |   15 +++++++++++
 4 files changed, 114 insertions(+)

Copied: forge/repos/community-staging-i686/PKGBUILD (from rev 149283, forge/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-12-06 22:24:06 UTC (rev 149284)
@@ -0,0 +1,42 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=forge
+pkgdesc="High Performance Visualizations"
+url='https://github.com/arrayfire/forge'
+pkgver=3.2.0
+arch=('i686' 'x86_64')
+pkgrel=2
+license=('BSD')
+makedepends=('cmake' 'doxygen' 'graphviz' 'git')
+depends=('glew' 'glfw' 'freetype2' 'fontconfig' 'glm')
+source=(https://github.com/arrayfire/forge/archive/af${pkgver}.tar.gz
+        build.patch)
+md5sums=('ff192b8017bff1351cd844fde95c81bd'
+         '9c223a865f8a9cc691164e97bc29d48e')
+
+build() {
+  cd "${srcdir}/forge-af${pkgver}/"
+
+  patch -Np1 < ${srcdir}/build.patch
+
+  rm -rf build
+  mkdir build && cd build
+
+  cmake .. \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DUSE_SYSTEM_GLM=ON \
+      -DUSE_SYSTEM_FREETYPE=ON \
+      -DBUILD_EXAMPLES=ON \
+      -DBUILD_DOCUMENTATION=ON
+
+  make VERBOSE=1
+}
+
+package() {
+  cd "${srcdir}/forge-af${pkgver}/"
+
+  install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+
+  cd build
+
+  make DESTDIR="${pkgdir}/" install
+}

Copied: forge/repos/community-staging-i686/build.patch (from rev 149283, forge/trunk/build.patch)
===================================================================
--- community-staging-i686/build.patch	                        (rev 0)
+++ community-staging-i686/build.patch	2015-12-06 22:24:06 UTC (rev 149284)
@@ -0,0 +1,15 @@
+diff --git a/src/font.cpp b/src/font.cpp
+index e8027ed..4910490 100644
+--- a/src/font.cpp
++++ b/src/font.cpp
+@@ -19,8 +19,8 @@
+ #include <glm/gtx/transform.hpp>
+ 
+ #include <ft2build.h>
+-#include <freetype.h>
+-#include <ftglyph.h>
++#include <freetype/freetype.h>
++#include <freetype/ftglyph.h>
+ #include FT_FREETYPE_H
+ 
+ #ifndef OS_WIN

Copied: forge/repos/community-staging-x86_64/PKGBUILD (from rev 149283, forge/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-12-06 22:24:06 UTC (rev 149284)
@@ -0,0 +1,42 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=forge
+pkgdesc="High Performance Visualizations"
+url='https://github.com/arrayfire/forge'
+pkgver=3.2.0
+arch=('i686' 'x86_64')
+pkgrel=2
+license=('BSD')
+makedepends=('cmake' 'doxygen' 'graphviz' 'git')
+depends=('glew' 'glfw' 'freetype2' 'fontconfig' 'glm')
+source=(https://github.com/arrayfire/forge/archive/af${pkgver}.tar.gz
+        build.patch)
+md5sums=('ff192b8017bff1351cd844fde95c81bd'
+         '9c223a865f8a9cc691164e97bc29d48e')
+
+build() {
+  cd "${srcdir}/forge-af${pkgver}/"
+
+  patch -Np1 < ${srcdir}/build.patch
+
+  rm -rf build
+  mkdir build && cd build
+
+  cmake .. \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DUSE_SYSTEM_GLM=ON \
+      -DUSE_SYSTEM_FREETYPE=ON \
+      -DBUILD_EXAMPLES=ON \
+      -DBUILD_DOCUMENTATION=ON
+
+  make VERBOSE=1
+}
+
+package() {
+  cd "${srcdir}/forge-af${pkgver}/"
+
+  install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+
+  cd build
+
+  make DESTDIR="${pkgdir}/" install
+}

Copied: forge/repos/community-staging-x86_64/build.patch (from rev 149283, forge/trunk/build.patch)
===================================================================
--- community-staging-x86_64/build.patch	                        (rev 0)
+++ community-staging-x86_64/build.patch	2015-12-06 22:24:06 UTC (rev 149284)
@@ -0,0 +1,15 @@
+diff --git a/src/font.cpp b/src/font.cpp
+index e8027ed..4910490 100644
+--- a/src/font.cpp
++++ b/src/font.cpp
+@@ -19,8 +19,8 @@
+ #include <glm/gtx/transform.hpp>
+ 
+ #include <ft2build.h>
+-#include <freetype.h>
+-#include <ftglyph.h>
++#include <freetype/freetype.h>
++#include <freetype/ftglyph.h>
+ #include FT_FREETYPE_H
+ 
+ #ifndef OS_WIN



More information about the arch-commits mailing list