[arch-commits] Commit in magnum-plugins/repos/community-x86_64 (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Thu Apr 5 10:45:53 UTC 2018


    Date: Thursday, April 5, 2018 @ 10:45:44
  Author: arodseth
Revision: 314417

archrelease: copy trunk to community-x86_64

Added:
  magnum-plugins/repos/community-x86_64/PKGBUILD
    (from rev 314416, magnum-plugins/trunk/PKGBUILD)

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

Copied: magnum-plugins/repos/community-x86_64/PKGBUILD (from rev 314416, magnum-plugins/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-04-05 10:45:44 UTC (rev 314417)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: mosra <mosra at centrum.cz>
+
+pkgname=magnum-plugins
+pkgver=2018.02
+pkgrel=1
+pkgdesc='Plugins for the Magnum C++11/C++14 graphics engine'
+arch=('x86_64')
+url='http://magnum.graphics'
+license=('MIT')
+depends=('assimp' 'devil' 'freetype2' 'libjpeg' 'libpng' 'magnum')
+makedepends=('cmake' 'git' 'ninja')
+source=("git+https://github.com/mosra/magnum-plugins#tag=v$pkgver")
+md5sums=('SKIP')
+
+build() {
+  mkdir -p build
+  cd build
+
+  cmake "../$pkgname" \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DWITH_ANYAUDIOIMPORTER=ON \
+    -DWITH_ANYIMAGECONVERTER=ON \
+    -DWITH_ANYIMAGEIMPORTER=ON \
+    -DWITH_ANYSCENEIMPORTER=ON \
+    -DWITH_ASSIMPIMPORTER=ON \
+    -DWITH_DDSIMPORTER=ON \
+    -DWITH_DEVILIMAGEIMPORTER=ON \
+    -DWITH_DRFLACAUDIOIMPORTER=ON \
+    -DWITH_DRWAVAUDIOIMPORTER=ON \
+    -DWITH_FREETYPEFONT=ON \
+    -DWITH_JPEGIMPORTER=ON \
+    -DWITH_MINIEXRIMAGECONVERTER=ON \
+    -DWITH_PNGIMAGECONVERTER=ON \
+    -DWITH_PNGIMPORTER=ON \
+    -DWITH_OPENGEXIMPORTER=ON \
+    -DWITH_STANFORDIMPORTER=ON \
+    -DWITH_STBIMAGECONVERTER=ON \
+    -DWITH_STBIMAGEIMPORTER=ON \
+    -DWITH_STBTRUETYPEFONT=ON \
+    -DWITH_STBVORBISAUDIOIMPORTER=ON \
+    -GNinja
+  ninja
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+
+  install -Dm644 "$pkgname/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# getver: no
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list