summaryrefslogtreecommitdiffstats
path: root/desktop/mate-media/mate-media.SlackBuild
diff options
context:
space:
mode:
author Johannes Schoepfer2023-12-29 13:22:16 +0100
committer Willy Sudiarto Raharjo2023-12-29 13:27:39 +0100
commit5bbd726956c72232264e4ab5dbf6b943d3c43428 (patch)
tree4d5919ed98ef19cdc119595a7133226529193501 /desktop/mate-media/mate-media.SlackBuild
parentf4d65c1fae3fed04f6a98f2cddf18c861e82453f (diff)
downloadslackbuilds-5bbd726956c72232264e4ab5dbf6b943d3c43428.tar.gz
desktop/mate-media: Updated for version 1.26.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/mate-media/mate-media.SlackBuild')
-rw-r--r--desktop/mate-media/mate-media.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/desktop/mate-media/mate-media.SlackBuild b/desktop/mate-media/mate-media.SlackBuild
index fb118b9ed7..9aef46078f 100644
--- a/desktop/mate-media/mate-media.SlackBuild
+++ b/desktop/mate-media/mate-media.SlackBuild
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mate-media
-VERSION=${VERSION:-1.26.1}
+VERSION=${VERSION:-1.26.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,9 +80,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \+ -o \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -95,6 +95,7 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-deprecated \
--disable-static \
+ --enable-shared \
--build=$ARCH-slackware-linux
make
@@ -103,13 +104,11 @@ make install DESTDIR=$PKG
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
-find $PKG/usr/man -type f -exec gzip -9 {} \+
+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
-# Remove unnecessary old GNOME cruft from /usr/share/omf. Confirmed w/
-# upstream.
-rm -rf $PKG/usr/share/omf/mate-mixer_applet2
-rm -rf $PKG/usr/share/omf/mate-volume-control
+# Remove useless .deskop entry
+sed -i "/^Categories/d" $PKG/usr/share/applications/mate-volume-control.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \