aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2024-05-24 20:48:07 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-05-24 23:40:08 +0700
commitc7256c6e1d9d39d1e58f73d4ab35210b05b385db (patch)
tree081fe29a77cd0e734fc4c7e8bc8e3c608f5db641 /desktop
parent64bef5a2bde43ab3ebf51b6c95c4737d5bb2ec60 (diff)
desktop/mate-desktop: Updated for version 1.28.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/mate-desktop/README2
-rw-r--r--desktop/mate-desktop/mate-desktop.SlackBuild50
-rw-r--r--desktop/mate-desktop/mate-desktop.info8
-rw-r--r--desktop/mate-desktop/slack-desc2
4 files changed, 29 insertions, 33 deletions
diff --git a/desktop/mate-desktop/README b/desktop/mate-desktop/README
index bb3dff23d3bc3..92b329000d672 100644
--- a/desktop/mate-desktop/README
+++ b/desktop/mate-desktop/README
@@ -1,4 +1,2 @@
-mate-desktop (libmate-desktop library for the MATE desktop)
-
mate-desktop contains the libmate-desktop library, the mate-about
program, as well as some desktop-wide documents.
diff --git a/desktop/mate-desktop/mate-desktop.SlackBuild b/desktop/mate-desktop/mate-desktop.SlackBuild
index 649c48e5cee01..a6f9e13682242 100644
--- a/desktop/mate-desktop/mate-desktop.SlackBuild
+++ b/desktop/mate-desktop/mate-desktop.SlackBuild
@@ -2,9 +2,9 @@
# Slackware build script for mate-desktop
-# Copyright 2013 Chess Griffin Raleigh, NC
-# Copyright 2013-2021 Willy Sudiarto Raharjo
-# Copyright 2023-2024 Johannes Schoepfer, Germany
+# Copyright 2013 Chess Griffin Raleigh, NC
+# Copyright 2013-2021 Willy Sudiarto Raharjo
+# Copyright 2023-2024 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mate-desktop
-VERSION=${VERSION:-1.28.0}
+VERSION=${VERSION:-1.28.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -84,32 +84,30 @@ 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 {} +
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
- --enable-shared \
- --disable-schemas-compile \
- --enable-introspection=auto \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dmate-about=false \
+ -Dintrospection=true \
+ -Db_lto=true \
+ -Dstrip=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
mkdir -p $PKG/usr/share/applications
cp $CWD/mate-mimeapps.list $PKG/usr/share/applications
+rm $PKG/usr/man/man1/mate-about*
find $PKG/usr/man -type f -exec gzip -9 {} +
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
diff --git a/desktop/mate-desktop/mate-desktop.info b/desktop/mate-desktop/mate-desktop.info
index 436330828875f..a29c6da7056c9 100644
--- a/desktop/mate-desktop/mate-desktop.info
+++ b/desktop/mate-desktop/mate-desktop.info
@@ -1,8 +1,8 @@
PRGNAM="mate-desktop"
-VERSION="1.28.0"
-HOMEPAGE="https://www.mate-desktop.org/"
-DOWNLOAD="https://pub.mate-desktop.org/releases/1.28/mate-desktop-1.28.0.tar.xz"
-MD5SUM="9cff28669b3213fdaed6536bbf42b060"
+VERSION="1.28.2"
+HOMEPAGE="https://wiki.mate-desktop.org/mate-desktop/components/mate-desktop/"
+DOWNLOAD="https://pub.mate-desktop.org/releases/1.28/mate-desktop-1.28.2.tar.xz"
+MD5SUM="3427bf8e49e4b5a91a41eba37aae3638"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/desktop/mate-desktop/slack-desc b/desktop/mate-desktop/slack-desc
index 2ee6e6088b42e..47c2610bd75b7 100644
--- a/desktop/mate-desktop/slack-desc
+++ b/desktop/mate-desktop/slack-desc
@@ -15,5 +15,5 @@ mate-desktop:
mate-desktop:
mate-desktop:
mate-desktop:
-mate-desktop: https://mate-desktop.org
+mate-desktop: https://wiki.mate-desktop.org/mate-desktop/components/mate-desktop/
mate-desktop: