[arch-commits] Commit in meson/trunk (PKGBUILD fix-tests.diff)

Jan Steffens heftig at archlinux.org
Sun Dec 10 19:39:55 UTC 2017


    Date: Sunday, December 10, 2017 @ 19:39:54
  Author: heftig
Revision: 312147

0.44.0-1

Modified:
  meson/trunk/PKGBUILD
Deleted:
  meson/trunk/fix-tests.diff

----------------+
 PKGBUILD       |   19 ++++++++++---------
 fix-tests.diff |   33 ---------------------------------
 2 files changed, 10 insertions(+), 42 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-10 18:50:13 UTC (rev 312146)
+++ PKGBUILD	2017-12-10 19:39:54 UTC (rev 312147)
@@ -3,7 +3,7 @@
 # Contributor: Anatol Pomozov <anatol dot pomozov at gmail>
 
 pkgname=meson
-pkgver=0.43.0
+pkgver=0.44.0
 pkgrel=1
 pkgdesc='High productivity build system'
 url='http://mesonbuild.com/'
@@ -14,20 +14,18 @@
 checkdepends=('gcc-objc' 'vala' 'rust' 'gcc-fortran' 'mono' 'boost' 'qt4' 'qt5-base' 'git' 'gnustep-base'
               'cython' 'gtkmm3' 'gtest' 'gmock' 'protobuf' 'wxgtk' 'python-gobject' 'gobject-introspection'
               'itstool' 'gtk3' 'java-environment=8' 'gtk-doc' 'llvm' 'clang' 'sdl2'
-              'doxygen' 'vulkan-validation-layers' 'openmpi' 'openssh' 'mercurial' 'gtk-sharp-2')
+              'doxygen' 'vulkan-validation-layers' 'openmpi' 'openssh' 'mercurial' 'gtk-sharp-2'
+              'qt5-tools' 'libwmf')
 checkdepends_x86_64=('ldc' 'valgrind')
 source=(https://github.com/mesonbuild/meson/releases/download/${pkgver}/meson-${pkgver}.tar.gz{,.asc}
-        fix-tests.diff
         arch-meson)
-sha512sums=('e149758fa6ad4b2d3643bcda176577633f2e50e58f38074c1a17f1712d554bac0fbabf26fe7eef15954dc51630b1f923b15cfe9040a025cf61b5666098197d16'
+sha512sums=('9aefa52d92d7750528e9a9236f19131c8e58bfc21212595c311f4e2787ad40bb53d6085f52283cad13923ddf12da1a59067d48424c72ace47fc127978d1af2ff'
             'SKIP'
-            '7ea1f02adf79e4fde5d002956852d9b976b36386be8d78a3845292e8195a36d462db20a9c708e332e0d3b261a7abf9d05f5d034aab96ede58229639f3620ec91'
             '82557891b9424b1597f1200bfacfae2f357e94bf81d53fc3fe9b2b641098566513dce6eeaa8882e9892c7cdec796650e5298ed25af61f35f9d02d9b4b9ca39c8')
 validpgpkeys=('95181F4EED14FDF4E41B518D3BF4693BFEEB9428') # Jussi Pakkanen <jpakkane at gmail.com>
 
 prepare() {
   cd ${pkgname}-${pkgver}
-  patch -Np1 -i ../fix-tests.diff
 }
 
 build() {
@@ -47,10 +45,13 @@
 package() {
   cd ${pkgname}-${pkgver}
   python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-  install -Dm 644 syntax-highlighting/vim/ftdetect/meson.vim -t "${pkgdir}/usr/share/vim/vimfiles/ftdetect"
-  install -Dm 644 syntax-highlighting/vim/indent/meson.vim -t "${pkgdir}/usr/share/vim/vimfiles/indent"
-  install -Dm 644 syntax-highlighting/vim/syntax/meson.vim -t "${pkgdir}/usr/share/vim/vimfiles/syntax"
 
+  for _f in data/syntax-highlighting/vim/*/*; do
+    install -Dt "${pkgdir}/usr/share/vim/vimfiles/$(basename "$(dirname "$_f")")" -m644 "$_f"
+  done
+  install -Dt "${pkgdir}/usr/share/emacs/site-lisp" -m644 data/syntax-highlighting/emacs/*
+  install -Dt "${pkgdir}/usr/share/zsh/site-functions" -m644 data/shell-completions/zsh/*
+
   # Arch packaging helper
   install -D ../arch-meson -t "${pkgdir}/usr/bin"
 }

Deleted: fix-tests.diff
===================================================================
--- fix-tests.diff	2017-12-10 18:50:13 UTC (rev 312146)
+++ fix-tests.diff	2017-12-10 19:39:54 UTC (rev 312147)
@@ -1,33 +0,0 @@
-diff --git i/test cases/frameworks/15 llvm/meson.build w/test cases/frameworks/15 llvm/meson.build
-index 468094ad4f3a5256..a8cf8f22f4fafb24 100644
---- i/test cases/frameworks/15 llvm/meson.build	
-+++ w/test cases/frameworks/15 llvm/meson.build	
-@@ -17,5 +17,5 @@ executable('sum', 'sum.c',  dependencies : [
-   llvm_dep,
-   dependency('zlib'),
-   meson.get_compiler('c').find_library('dl', required : false),
--  dependency('tinfo'),
-+  dependency('ncursesw'),
-   ])
-diff --git i/test cases/frameworks/4 qt/meson.build w/test cases/frameworks/4 qt/meson.build
-index c6f108bbcf037e6c..ad9d40478d660546 100644
---- i/test cases/frameworks/4 qt/meson.build	
-+++ w/test cases/frameworks/4 qt/meson.build	
-@@ -71,14 +71,16 @@ foreach qt : ['qt4', 'qt5']
- 
-     test(qt + 'maninclude', qtmaninclude)
- 
-+    if qt == 'qt5'
-     # building Qt plugins implies to give include path to moc
-     plugin_includes = include_directories('pluginInterface', 'plugin')
-     pluginpreprocess = qtmodule.preprocess(
-       moc_headers : 'plugin/plugin.h',
-       include_directories : plugin_includes
-     )
--    plugin = library('plugin', 'plugin/plugin.cpp', pluginpreprocess,
-+    plugin = library(qt + 'plugin', 'plugin/plugin.cpp', pluginpreprocess,
-           include_directories : plugin_includes,
-           dependencies : qtcore)
-+    endif
-   endif
- endforeach



More information about the arch-commits mailing list