From 8e06901e68cda5edfdd5b2c6fea8f14a601f258d Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Fri, 22 Dec 2017 13:30:40 +0700 Subject: libraries/appstream-glib: Fix build with new meson. Signed-off-by: Willy Sudiarto Raharjo --- libraries/appstream-glib/appstream-glib.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libraries/appstream-glib/appstream-glib.SlackBuild') diff --git a/libraries/appstream-glib/appstream-glib.SlackBuild b/libraries/appstream-glib/appstream-glib.SlackBuild index 5ecc3d4344235..d5c2bbfa816ca 100644 --- a/libraries/appstream-glib/appstream-glib.SlackBuild +++ b/libraries/appstream-glib/appstream-glib.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=appstream-glib VERSION=${VERSION:-0.7.4} SRCVERSION=$(echo "$PRGNAM" | tr - _)_$(echo "$VERSION" | tr . _) -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -85,6 +85,9 @@ CXXFLAGS="$SLKCFLAGS" \ # not sure why this is necessary sed -i "/^ COMMAND = \/usr\/bin\/g-ir-scanner/s/-lyaml //" _build/build.ninja +# thanks ricardo j. barberis +sed -i 's,../libappstream-glib/libappstream-glib/,../libappstream-glib/,g' _build/build.ninja + make make install DESTDIR=$PKG -- cgit v1.2.3