diff options
Diffstat (limited to 'desktop/gnome-control-center/gnome-control-center.SlackBuild')
-rw-r--r-- | desktop/gnome-control-center/gnome-control-center.SlackBuild | 17 |
1 files changed, 10 insertions, 7 deletions
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 |