Browse Source

l/appstream-flib: Upgraded to appstream-glib-0.7.16.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
c580dc5ff4
  1. 1
      l/appstream-glib/appstream-glib-0.7.16.tar.gz.sha256
  2. 1
      l/appstream-glib/appstream-glib-0.7.7.tar.gz.sha256
  3. 18
      l/appstream-glib/appstream-glib.SlackBuild

1
l/appstream-glib/appstream-glib-0.7.16.tar.gz.sha256

@ -0,0 +1 @@
71e19fff681eb74795dbcb428f1dc9cf28bf9207378b6c1c9ce55375f0f22b14 appstream-glib-0.7.16.tar.gz

1
l/appstream-glib/appstream-glib-0.7.7.tar.gz.sha256

@ -1 +0,0 @@
fe153a3d9611efe9b9beae9a42fab6ea1d363dd3f23dd7668fbe6f4e23c93e61 appstream-glib-0.7.7.tar.gz

18
l/appstream-glib/appstream-glib.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2018 Damien Goutte-Gattat
# Copyright (C) 2018,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -25,13 +25,13 @@
# Latest appstream-glib sourcecode is available at:
# <https://github.com/hughsie/appstream-glib>.
#
# Depends: l/json-glib, l/gcab, d/meson
# Depends: l/gcab
# Source package infos
NAMESRC=${NAMESRC:-appstream-glib}
VERSION=${VERSION:-0.7.7}
VERSION=${VERSION:-0.7.16}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://github.com/hughsie/appstream-glib/archive/appstream_glib_0_7_7.tar.gz}
WGET=${WGET:-https://github.com/hughsie/appstream-glib/archive/appstream_glib_0_7_16.tar.gz}
# Build infos
NAMEPKG=${NAMEPKG:-appstream-glib}
@ -81,11 +81,6 @@ meson .. \
--mandir /usr/man \
--strip \
-D stemmer=false
# Workaround for a Meson bug with gobject-introspection < 1.54
# <https://github.com/ximion/appstream/issues/146>.
sed -i "/^ COMMAND = \\/usr\\/bin\\/g-ir-scanner/s,-lyaml ,," build.ninja
ninja -j $JOBS
DESTDIR=$PKG ninja install
@ -94,15 +89,14 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 ../AUTHORS ../COPYING ../MAINTAINERS ../NEWS \
../README.md $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 ../AUTHORS ../COMMITMENT ../COPYING ../MAINTAINERS \
../NEWS ../README.md $PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
json-glib
gcab
EOF

Loading…
Cancel
Save