aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2017-12-22 13:30:40 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-12-22 13:30:40 +0700
commit8e06901e68cda5edfdd5b2c6fea8f14a601f258d (patch)
tree27dac7e80aae159e3f2a3ed7234c2a78972b3157 /libraries
parentab86c8d03398f4e06edc5e9f64088b040a2480a0 (diff)
libraries/appstream-glib: Fix build with new meson.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-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 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