summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Andrew Clemons2017-12-22 07:30:40 +0100
committer Willy Sudiarto Raharjo2017-12-22 07:30:40 +0100
commitfbf53e38af1d1135124cef53b5c5893c221c073a (patch)
treefab80e30162fc0f69afdd959160b8bcd6be627df
parente83bcd4c2d4068c9a86ba63b798e4edf1acee52e (diff)
downloadold.slackbuilds-fbf53e38af1d1135124cef53b5c5893c221c073a.tar.gz
libraries/appstream-glib: Fix build with new meson.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/appstream-glib/appstream-glib.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/appstream-glib/appstream-glib.SlackBuild b/libraries/appstream-glib/appstream-glib.SlackBuild
index 5ecc3d4344..d5c2bbfa81 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