From 4b34a3ab0837bb97dd85f395cbfbc0885b381228 Mon Sep 17 00:00:00 2001 From: Ozan Türkyılmaz Date: Thu, 20 Oct 2022 22:12:17 +0300 Subject: libraries/libgweather4: Updated to 4.2.0 Signed-off-by: Willy Sudiarto Raharjo --- libraries/libgweather4/libgweather4.SlackBuild | 13 ++++++++++--- libraries/libgweather4/libgweather4.info | 6 +++--- 2 files changed, 13 insertions(+), 6 deletions(-) (limited to 'libraries') diff --git a/libraries/libgweather4/libgweather4.SlackBuild b/libraries/libgweather4/libgweather4.SlackBuild index 51d8400b10..f69003c722 100644 --- a/libraries/libgweather4/libgweather4.SlackBuild +++ b/libraries/libgweather4/libgweather4.SlackBuild @@ -25,12 +25,12 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libgweather4 -VERSION=${VERSION:-4.0.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-4.2.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -# In purist sense, it's still libgweather but version 4 has different +# In purist sense, it's still libgweather but version 4 has different # API and seen as a seperate library than version 3. It can be even installed # next to version 3. PRGNAM1=libgweather @@ -136,6 +136,8 @@ cd build -Dgtk_doc=$GTKDOCP \ -Dintrospection=$INTROSPECTIONP \ -Dtests=$TESTSP \ + -Dsoup2=true \ + -Dwrap_mode=nodownload \ -Dstrip=true "${NINJA:=ninja}" DESTDIR=$PKG $NINJA install @@ -162,5 +164,10 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh +# Before we makepkg, we need to remove stray doc dir if GTKDOC=yes +if [ "$GTKDOC" = "yes" ]; then + rmdir $PKG/usr/share/doc +fi + cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/libraries/libgweather4/libgweather4.info b/libraries/libgweather4/libgweather4.info index 0d64768285..bbbe24da43 100644 --- a/libraries/libgweather4/libgweather4.info +++ b/libraries/libgweather4/libgweather4.info @@ -1,8 +1,8 @@ PRGNAM="libgweather4" -VERSION="4.0.0" +VERSION="4.2.0" HOMEPAGE="https://gitlab.gnome.org/GNOME/libgweather" -DOWNLOAD="https://download.gnome.org/sources/libgweather/4.0/libgweather-4.0.0.tar.xz" -MD5SUM="2aa2708dfde3481c87da3d7ea27110da" +DOWNLOAD="https://download.gnome.org/sources/libgweather/4.2/libgweather-4.2.0.tar.xz" +MD5SUM="4c0c46102dcb5e813ff698e5f713e4bb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="geocode-glib" -- cgit v1.2.3-80-g2a13