Browse Source

libraries/appstream-glib: Updated for version 0.7.7.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
pull/47/head
Andrew Clemons 8 years ago
committed by Willy Sudiarto Raharjo
parent
commit
af9271e434
  1. 18
      libraries/appstream-glib/appstream-glib.SlackBuild
  2. 6
      libraries/appstream-glib/appstream-glib.info

18
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

6
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"

Loading…
Cancel
Save