aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/appstream-glib/appstream-glib.SlackBuild18
-rw-r--r--libraries/appstream-glib/appstream-glib.info6
2 files changed, 11 insertions, 13 deletions
diff --git a/libraries/appstream-glib/appstream-glib.SlackBuild b/libraries/appstream-glib/appstream-glib.SlackBuild
index 2df9340c681a0..160e8f2f38dbf 100644
--- a/libraries/appstream-glib/appstream-glib.SlackBuild
+++ b/libraries/appstream-glib/appstream-glib.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=appstream-glib
-VERSION=${VERSION:-0.7.6}
+VERSION=${VERSION:-0.7.7}
SRCVERSION=$(echo "$PRGNAM" | tr - _)_$(echo "$VERSION" | tr . _)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,22 +72,20 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./configure \
+meson \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--mandir=/usr/man \
- --enable-gtk-doc \
- --disable-stemmer
+ -Dgtk-doc=true \
+ -Dstemmer=false \
+ build
# not sure why this is necessary
-sed -i "/^ COMMAND = \/usr\/bin\/g-ir-scanner/s/-lyaml //" _build/build.ninja
+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
+ninja -C build
+DESTDIR=$PKG ninja -C build install
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/libraries/appstream-glib/appstream-glib.info b/libraries/appstream-glib/appstream-glib.info
index be8114f24b908..c7d4e4380b504 100644
--- a/libraries/appstream-glib/appstream-glib.info
+++ b/libraries/appstream-glib/appstream-glib.info
@@ -1,8 +1,8 @@
PRGNAM="appstream-glib"
-VERSION="0.7.6"
+VERSION="0.7.7"
HOMEPAGE="https://github.com/hughsie/appstream-glib"
-DOWNLOAD="https://github.com/hughsie/appstream-glib/archive/appstream_glib_0_7_6/appstream-glib-appstream_glib_0_7_6.tar.gz"
-MD5SUM="77e34a89b882b3c625c6b5ea799ca6e4"
+DOWNLOAD="https://github.com/hughsie/appstream-glib/archive/appstream_glib_0_7_7/appstream-glib-appstream_glib_0_7_7.tar.gz"
+MD5SUM="5466718e681cd4edf6ee5ea8bea32805"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="meson json-glib gcab"