[arch-commits] Commit in magnum/repos/community-x86_64 (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Thu Apr 5 10:52:25 UTC 2018
Date: Thursday, April 5, 2018 @ 10:52:23
Author: arodseth
Revision: 314420
archrelease: copy trunk to community-x86_64
Added:
magnum/repos/community-x86_64/PKGBUILD
(from rev 314419, magnum/trunk/PKGBUILD)
Deleted:
magnum/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 96 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 49 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-05 10:52:05 UTC (rev 314419)
+++ PKGBUILD 2018-04-05 10:52:23 UTC (rev 314420)
@@ -1,47 +0,0 @@
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: mosra <mosra at centrum.cz>
-
-pkgname=magnum
-pkgver=2018.02
-pkgrel=1
-pkgdesc='2D/3D graphics engine for C++11/C++14'
-arch=('x86_64')
-url='http://mosra.cz/blog/magnum.php'
-license=('MIT')
-depends=('corrade' 'openal' 'sdl2')
-makedepends=('cmake' 'git' 'ninja')
-source=("git+https://github.com/mosra/magnum.git#tag=v$pkgver")
-sha1sums=('SKIP')
-
-build() {
- mkdir -p build
- cd build
- cmake ../magnum \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DWITH_AUDIO=ON \
- -DWITH_SDL2APPLICATION=ON \
- -DWITH_GLXAPPLICATION=ON \
- -DWITH_WINDOWLESSGLXAPPLICATION=ON \
- -DWITH_GLXCONTEXT=ON \
- -DWITH_MAGNUMFONT=ON \
- -DWITH_MAGNUMFONTCONVERTER=ON \
- -DWITH_OBJIMPORTER=ON \
- -DWITH_TGAIMAGECONVERTER=ON \
- -DWITH_TGAIMPORTER=ON \
- -DWITH_WAVAUDIOIMPORTER=ON \
- -DWITH_DISTANCEFIELDCONVERTER=ON \
- -DWITH_FONTCONVERTER=ON \
- -DWITH_MAGNUMINFO=ON \
- -GNinja
- ninja
-}
-
-package() {
- DESTDIR="$pkgdir" ninja -C build install
- install -Dm644 "magnum/COPYING" \
- "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-}
-
-# getver: no
-# vim: ts=2 sw=2 et:
Copied: magnum/repos/community-x86_64/PKGBUILD (from rev 314419, magnum/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-04-05 10:52:23 UTC (rev 314420)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: mosra <mosra at centrum.cz>
+
+pkgname=magnum
+pkgver=2018.02
+pkgrel=2
+pkgdesc='C++11/C++14 graphics middleware for games and data visualization'
+arch=('x86_64')
+url='http://magnum.graphics'
+license=('MIT')
+depends=('corrade' 'openal' 'sdl2')
+optdepends=('magnum-plugins: import and export features')
+makedepends=('cmake' 'git' 'ninja')
+source=("git+https://github.com/mosra/magnum.git#tag=v$pkgver")
+sha1sums=('SKIP')
+
+build() {
+ mkdir -p build
+ cd build
+ cmake ../magnum \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DWITH_AUDIO=ON \
+ -DWITH_SDL2APPLICATION=ON \
+ -DWITH_GLXAPPLICATION=ON \
+ -DWITH_WINDOWLESSGLXAPPLICATION=ON \
+ -DWITH_GLXCONTEXT=ON \
+ -DWITH_MAGNUMFONT=ON \
+ -DWITH_MAGNUMFONTCONVERTER=ON \
+ -DWITH_OBJIMPORTER=ON \
+ -DWITH_TGAIMAGECONVERTER=ON \
+ -DWITH_TGAIMPORTER=ON \
+ -DWITH_WAVAUDIOIMPORTER=ON \
+ -DWITH_DISTANCEFIELDCONVERTER=ON \
+ -DWITH_FONTCONVERTER=ON \
+ -DWITH_MAGNUMINFO=ON \
+ -GNinja
+ ninja
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+ install -Dm644 "magnum/COPYING" \
+ "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# getver: no
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list