From a9a1d9174acefe68f7315c8e642f208b480acc36 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 21 Feb 2019 02:29:27 +0000 Subject: meson: update to 0.49.2 --- abs/extra/meson/4878.patch | 26 ++++++++++++++++++++++++++ abs/extra/meson/PKGBUILD | 15 ++++++++++----- abs/extra/meson/arch-meson | 26 ++++++++------------------ 3 files changed, 44 insertions(+), 23 deletions(-) create mode 100644 abs/extra/meson/4878.patch diff --git a/abs/extra/meson/4878.patch b/abs/extra/meson/4878.patch new file mode 100644 index 0000000..4c85552 --- /dev/null +++ b/abs/extra/meson/4878.patch @@ -0,0 +1,26 @@ +From c5544aea8d8480262b9792ac85b8e61d1fb08f74 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Corentin=20No=C3=ABl?= +Date: Mon, 4 Feb 2019 13:49:01 +0100 +Subject: [PATCH] vala: Support position-independent executables + +--- + mesonbuild/compilers/vala.py | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/mesonbuild/compilers/vala.py b/mesonbuild/compilers/vala.py +index e64d57f366..5303298a62 100644 +--- a/mesonbuild/compilers/vala.py ++++ b/mesonbuild/compilers/vala.py +@@ -49,6 +49,12 @@ def get_compile_only_args(self): + def get_pic_args(self): + return [] + ++ def get_pie_args(self): ++ return [] ++ ++ def get_pie_link_args(self): ++ return [] ++ + def get_always_args(self): + return ['-C'] + diff --git a/abs/extra/meson/PKGBUILD b/abs/extra/meson/PKGBUILD index b3aef04..dd5e7ef 100644 --- a/abs/extra/meson/PKGBUILD +++ b/abs/extra/meson/PKGBUILD @@ -3,10 +3,10 @@ # Contributor: Anatol Pomozov pkgname=meson -pkgver=0.49.1 -pkgrel=1 +pkgver=0.49.2 +pkgrel=2 pkgdesc='High productivity build system' -url='http://mesonbuild.com/' +url='https://mesonbuild.com/' arch=('any') license=('Apache') depends=('python-setuptools' 'ninja') @@ -16,15 +16,20 @@ checkdepends=('gcc-objc' 'vala' 'rust' 'gcc-fortran' 'mono' 'boost' 'qt4' 'qt5-b 'doxygen' 'vulkan-validation-layers' 'openssh' 'mercurial' 'gtk-sharp-2' 'qt5-tools' 'libwmf' 'dmd' 'valgrind') source=(https://github.com/mesonbuild/meson/releases/download/${pkgver}/meson-${pkgver}.tar.gz{,.asc} + 4878.patch arch-meson) -sha512sums=('2a9a3d1e1eae3f9f21f47c0efb2ecd78861a71109fa5a660bf6403df2d5bd5c31fa2ef848080ca72d25257836b9e00e2fb89d5fc281647600ece0179c703cfe8' +sha512sums=('d07a5dfd699f1e4b00af39c377ec186c91718d9595cb0ab506b4b40c0c63ddd14eccbe8afb446635272c431e2a78032888be0bc8f6064044da53e8c0b5f7be3f' 'SKIP' - 'f2a5e0f331a5ccf25fc8a440472548fedde9dbf4d562ec13baf502cf549d6ed35d61933dedeb8fafef261a28d4b568e897a004d435475e73dc0ed6d3427ba5b7') + 'ff1326c7b56da98eab615b40e07cba86d6ceee18d29e8b5c57ccf73980a7a466c8e5695cc0b96a36330cd0d51e52b8fed08456ebea6763edb736ae7116be2f4b' + 'f451f8a7ef9cf1dd724c2ce20bb85a3f1611b87b2e7a17ef0fdbe8ab82a67389f818ea30a5adfe8413143e4eac77ea2e0b8234b5b2466b41a892e2bd0435376c') validpgpkeys=('95181F4EED14FDF4E41B518D3BF4693BFEEB9428') # Jussi Pakkanen prepare() { cd ${pkgname}-${pkgver} + # https://github.com/mesonbuild/meson/issues/4884 + patch -Np1 -i ../4878.patch + # Succeeds for us? mv 'test cases/failing/85 gtest dependency with version' 'test cases/frameworks/' } diff --git a/abs/extra/meson/arch-meson b/abs/extra/meson/arch-meson index 88af9d4..695a947 100644 --- a/abs/extra/meson/arch-meson +++ b/abs/extra/meson/arch-meson @@ -2,22 +2,12 @@ # Highly opinionated wrapper for Arch Linux packaging exec meson setup \ - --prefix /usr \ - --libdir /usr/lib \ - --libexecdir /usr/lib \ - --bindir /usr/bin \ - --sbindir /usr/bin \ - --includedir /usr/include \ - --datadir /usr/share \ - --mandir /usr/share/man \ - --infodir /usr/share/info \ - --localedir /usr/share/locale \ - --sysconfdir /etc \ - --localstatedir /var \ - --sharedstatedir /var/lib \ - --buildtype release \ - --auto-features enabled \ - --wrap-mode nofallback \ - -D b_lto=true \ - -D b_pie=true \ + --prefix /usr \ + --libexecdir lib \ + --sbindir bin \ + --buildtype plain \ + --auto-features enabled \ + --wrap-mode nodownload \ + -D b_lto=true \ + -D b_pie=true \ "$@" -- cgit v0.12