[arch-commits] Commit in magnum-plugins/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Mon Mar 11 19:09:38 UTC 2019


    Date: Monday, March 11, 2019 @ 19:09:37
  Author: arodseth
Revision: 439836

upgpkg: magnum-plugins 2019.01-1

Modified:
  magnum-plugins/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-11 19:06:47 UTC (rev 439835)
+++ PKGBUILD	2019-03-11 19:09:37 UTC (rev 439836)
@@ -2,14 +2,14 @@
 # Contributor: mosra <mosra at centrum.cz>
 
 pkgname=magnum-plugins
-pkgver=2018.10
+pkgver=2019.01
 pkgrel=1
 pkgdesc='Plugins for the Magnum C++11/C++14 graphics engine'
-arch=('x86_64')
+arch=(x86_64)
 url='https://magnum.graphics'
-license=('MIT')
-depends=('assimp' 'devil' 'freetype2' 'libjpeg' 'libpng' "magnum>=$pkgver")
-makedepends=('cmake' 'git' 'ninja')
+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')
 
@@ -16,7 +16,7 @@
 build() {
   mkdir -p build
   cd build
-  cmake "../$pkgname" \
+  cmake ../$pkgname \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DWITH_ASSIMPIMPORTER=ON \
@@ -24,6 +24,7 @@
     -DWITH_DEVILIMAGEIMPORTER=ON \
     -DWITH_DRFLACAUDIOIMPORTER=ON \
     -DWITH_DRWAVAUDIOIMPORTER=ON \
+    -DWITH_FAAD2AUDIOIMPORTER=ON \
     -DWITH_FREETYPEFONT=ON \
     -DWITH_JPEGIMAGECONVERTER=ON \
     -DWITH_JPEGIMPORTER=ON \
@@ -37,13 +38,13 @@
     -DWITH_STBTRUETYPEFONT=ON \
     -DWITH_STBVORBISAUDIOIMPORTER=ON \
     -DWITH_TINYGLTFIMPORTER=ON \
-    -GNinja
+    -GNinja    
   ninja
 }
 
 package() {
   DESTDIR="$pkgdir" ninja -C build install
-  install -Dm644 "$pkgname/COPYING" \
+  install -Dm644 $pkgname/COPYING \
     "$pkgdir/usr/share/licenses/$pkgname/COPYING"
 }
 


More information about the arch-commits mailing list