[arch-commits] Commit in magnum-plugins/repos (2 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Mon Oct 7 23:08:44 UTC 2019


    Date: Monday, October 7, 2019 @ 23:08:44
  Author: svenstaro
Revision: 514160

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: magnum-plugins/repos/community-staging-x86_64/PKGBUILD (from rev 514159, magnum-plugins/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-10-07 23:08:44 UTC (rev 514160)
@@ -0,0 +1,51 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: mosra <mosra at centrum.cz>
+
+pkgname=magnum-plugins
+pkgver=2019.01
+pkgrel=2
+pkgdesc='Plugins for the Magnum C++11/C++14 graphics engine'
+arch=(x86_64)
+url='https://magnum.graphics'
+license=(MIT)
+depends=(assimp devil faad2 freetype2 libjpeg libpng "magnum>=$pkgver")
+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_ASSIMPIMPORTER=ON \
+    -DWITH_DDSIMPORTER=ON \
+    -DWITH_DEVILIMAGEIMPORTER=ON \
+    -DWITH_DRFLACAUDIOIMPORTER=ON \
+    -DWITH_DRWAVAUDIOIMPORTER=ON \
+    -DWITH_FAAD2AUDIOIMPORTER=ON \
+    -DWITH_FREETYPEFONT=ON \
+    -DWITH_JPEGIMAGECONVERTER=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 \
+    -DWITH_TINYGLTFIMPORTER=ON \
+    -GNinja    
+  ninja
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+  install -Dm644 $pkgname/COPYING \
+    "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list