[arch-commits] Commit in (5 files)
Alexander Rødseth
arodseth at archlinux.org
Thu Apr 5 10:45:19 UTC 2018
Date: Thursday, April 5, 2018 @ 10:45:18
Author: arodseth
Revision: 314416
Add plugins for magnum
As suggested by the magnum developer
Added:
magnum-plugins/
magnum-plugins/repos/
magnum-plugins/repos/community-x86_64/
magnum-plugins/trunk/
magnum-plugins/trunk/PKGBUILD
----------+
PKGBUILD | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
Added: magnum-plugins/trunk/PKGBUILD
===================================================================
--- magnum-plugins/trunk/PKGBUILD (rev 0)
+++ magnum-plugins/trunk/PKGBUILD 2018-04-05 10:45:18 UTC (rev 314416)
@@ -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:
Property changes on: magnum-plugins/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list