From 71bb9eac9ed5c5c6e8cdfe154a25b3917e3c48e8 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Wed, 25 Apr 2018 08:19:18 +0700 Subject: [PATCH] xapps: Switch to meson. Signed-off-by: Willy Sudiarto Raharjo --- xapps/xapps.SlackBuild | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/xapps/xapps.SlackBuild b/xapps/xapps.SlackBuild index 8d9abbb..33c8d1b 100644 --- a/xapps/xapps.SlackBuild +++ b/xapps/xapps.SlackBuild @@ -71,22 +71,20 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./autogen.sh \ +mkdir -p build +cd build +meson setup \ --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ + --buildtype=release \ + --libdir=lib${LIBDIRSUFFIX} \ + --libexecdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --enable-introspection=yes \ - --enable-compile-warnings=no \ - --disable-schemas-compile \ - --build=$ARCH-slackware-linux + -Ddocs=true \ + .. -make -make install DESTDIR=$PKG + ninja + DESTDIR=$PKG ninja install +cd .. # Don't ship .la files: rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la