summaryrefslogtreecommitdiffstats
path: root/desktop/gnome-control-center
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/gnome-control-center')
-rw-r--r--desktop/gnome-control-center/README8
-rw-r--r--desktop/gnome-control-center/gnome-control-center.SlackBuild17
-rw-r--r--desktop/gnome-control-center/gnome-control-center.info8
3 files changed, 16 insertions, 17 deletions
diff --git a/desktop/gnome-control-center/README b/desktop/gnome-control-center/README
index c74d32aa7f..9a7e042dde 100644
--- a/desktop/gnome-control-center/README
+++ b/desktop/gnome-control-center/README
@@ -2,11 +2,7 @@ GNOME Settings is GNOME's main interface for configuration of various
aspects of your desktop.
Optional Dependencies:
-- gnome-color-manager
- cheese
-The SlackBuild script has 'cheese' disabled by default to keep this
-dependency optional. If you have 'cheese' installed, you can enable
-building gnome-control-center with 'cheese' by setting:
-
-CHEESE=true
+Note: The SlackBuild will automatically detect if cheese is installed
+and enable building in cheese support, otherwise it will be disabled.
diff --git a/desktop/gnome-control-center/gnome-control-center.SlackBuild b/desktop/gnome-control-center/gnome-control-center.SlackBuild
index b65a20498c..cdc5bd4e99 100644
--- a/desktop/gnome-control-center/gnome-control-center.SlackBuild
+++ b/desktop/gnome-control-center/gnome-control-center.SlackBuild
@@ -25,14 +25,11 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gnome-control-center
-VERSION=${VERSION:-41.4}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-41.7}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-# Enable building with optional dep 'cheese' with a variable:
-CHEESE=${CHEESE:-false}
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -79,8 +76,14 @@ find -L . -prune -name 'subprojects/gvc/.gitlab-ci' \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Fix a duplicate entry in a .desktop file that sbopkglint complains about:
-sed -i '0,/StartupNotify=true/{/StartupNotify=true/d;}' panels/wwan/gnome-wwan-panel.desktop.in.in
+# Detect if cheese is installed and disable cheese support if not present:
+if ( pkg-config --exists cheese); then
+ CHEESE=true
+ echo "cheese found, enabling cheese."
+else
+ CHEESE=false
+ echo "cheese not found, disabling cheese."
+fi
mkdir build
cd build
diff --git a/desktop/gnome-control-center/gnome-control-center.info b/desktop/gnome-control-center/gnome-control-center.info
index 8f94360d2a..f0a396c6eb 100644
--- a/desktop/gnome-control-center/gnome-control-center.info
+++ b/desktop/gnome-control-center/gnome-control-center.info
@@ -1,10 +1,10 @@
PRGNAM="gnome-control-center"
-VERSION="41.4"
+VERSION="41.7"
HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-control-center"
-DOWNLOAD="https://download.gnome.org/sources/gnome-control-center/41/gnome-control-center-41.4.tar.xz"
-MD5SUM="4543d5dbee3229ce0579afc547679f46"
+DOWNLOAD="https://download.gnome.org/sources/gnome-control-center/41/gnome-control-center-41.7.tar.xz"
+MD5SUM="47d1f6c3a0e012dfdf9c9cdd20b72318"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="colord-gtk gnome-bluetooth gnome-online-accounts gnome-settings-daemon gsound libhandy"
+REQUIRES="colord-gtk cups-pk-helper gnome-bluetooth gnome-color-manager gnome-online-accounts gnome-settings-daemon gsound libgnomekbd libhandy xdg-desktop-portal-gnome"
MAINTAINER="Bob Funk"
EMAIL="bobfunk11@gmail.com"