summaryrefslogtreecommitdiffstats
path: root/desktop
diff options
context:
space:
mode:
author isaackwy <isaacyu@protonmail.com>2023-12-29 19:48:07 -0800
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-12-31 08:13:35 +0700
commit12cf7e8750b47e170fec55abb1ee7e0f7ece6ba9 (patch)
treed800111b730d0e515865104f37bf3ca806173855 /desktop
parent6d44230da59064d98259f039251b7d78782758a5 (diff)
downloadslackbuilds-12cf7e8750b47e170fec55abb1ee7e0f7ece6ba9.tar.gz
slackbuilds-12cf7e8750b47e170fec55abb1ee7e0f7ece6ba9.tar.xz
desktop/gsimplecal: Update for 2.5.1 (+new maintainer)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/gsimplecal/README3
-rw-r--r--desktop/gsimplecal/gsimplecal.SlackBuild11
-rw-r--r--desktop/gsimplecal/gsimplecal.info10
3 files changed, 14 insertions, 10 deletions
diff --git a/desktop/gsimplecal/README b/desktop/gsimplecal/README
index 0234121426..f602dca162 100644
--- a/desktop/gsimplecal/README
+++ b/desktop/gsimplecal/README
@@ -1,3 +1,6 @@
Gsimplecal is a lightweight calendar applet written in C++ using GTK.
You can configure it to not only show the calendar, but also display
multiple clocks for different world timezones.
+
+This SlackBuild builds gsimplecal with gtk2 by default. For a gtk3
+build, pass GTK3=yes to the SlackBuild.
diff --git a/desktop/gsimplecal/gsimplecal.SlackBuild b/desktop/gsimplecal/gsimplecal.SlackBuild
index c12dae17b1..a0947de7f3 100644
--- a/desktop/gsimplecal/gsimplecal.SlackBuild
+++ b/desktop/gsimplecal/gsimplecal.SlackBuild
@@ -2,12 +2,13 @@
# Slackware build script for gsimplecal
# Written by Oleg O. Chukaev <oleg.chukaev@mail.ru>
+# Copyright 2024 Isaac Yu <isaacyu@protonmail.com>
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gsimplecal
-VERSION=${VERSION:-2.4.1}
+VERSION=${VERSION:-2.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -20,9 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -57,6 +55,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# If GTK3=yes, then build gsimplecal with gtk3 instead of gtk2
+[ ! ${GTK3:-no} = yes ] && ENABLE_GTK2=--enable-gtk2
+
./autogen.sh
CFLAGS="$SLKCFLAGS" \
@@ -64,7 +65,7 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--mandir=/usr/man \
- --enable-gtk2
+ $ENABLE_GTK2
make
make install DESTDIR=$PKG
diff --git a/desktop/gsimplecal/gsimplecal.info b/desktop/gsimplecal/gsimplecal.info
index 3ca886430f..39e5b3e3fb 100644
--- a/desktop/gsimplecal/gsimplecal.info
+++ b/desktop/gsimplecal/gsimplecal.info
@@ -1,10 +1,10 @@
PRGNAM="gsimplecal"
-VERSION="2.4.1"
+VERSION="2.5.1"
HOMEPAGE="https://github.com/dmedvinsky/gsimplecal"
-DOWNLOAD="https://github.com/dmedvinsky/gsimplecal/archive/v2.4.1/gsimplecal-2.4.1.tar.gz"
-MD5SUM="7d9fd4730982b7d2762b55815523cab1"
+DOWNLOAD="https://github.com/dmedvinsky/gsimplecal/archive/v2.5.1/gsimplecal-2.5.1.tar.gz"
+MD5SUM="0a7b95f70e43a512066cd44761efb603"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Oleg O. Chukaev"
-EMAIL="oleg.chukaev@mail.ru"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"