summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOzan Türkyılmaz <ozan.turkyilmaz@gmail.com>2022-10-20 22:12:17 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-22 02:52:49 +0700
commit4b34a3ab0837bb97dd85f395cbfbc0885b381228 (patch)
tree9045ea15bdee95b8a8e5763c9e81082a3a6ace2e
parentb6ed48582e6ac490d618ee54776465e79413bdd9 (diff)
downloadslackbuilds-4b34a3ab0837bb97dd85f395cbfbc0885b381228.tar.gz
libraries/libgweather4: Updated to 4.2.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/libgweather4/libgweather4.SlackBuild13
-rw-r--r--libraries/libgweather4/libgweather4.info6
2 files changed, 13 insertions, 6 deletions
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"