multimedia/parole: Updated for version 4.16.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Aaditya Bagga 2021-09-13 04:17:43 +05:30 committed by Willy Sudiarto Raharjo
parent a424b26b90
commit 07c3fcfbec
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 17 additions and 21 deletions

View file

@ -3,7 +3,7 @@
# Slackware build script for parole
# Copyright 2007 Hans Strijards <hannesworst@gmail.com>
# Copyright 2015-2017 Aaditya Bagga <aaditya_gnulinux@zoho.com>
# Copyright 2015-2021 Aaditya Bagga <aaditya_gnulinux@zoho.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -26,22 +26,19 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=parole
VERSION=${VERSION:-0.9.1}
VERSION=${VERSION:-4.16.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) export ARCH=i486 ;;
arm*) export ARCH=arm ;;
*) export ARCH=$( uname -m ) ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
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
@ -51,8 +48,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -75,10 +72,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
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 \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@ -89,7 +86,6 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-debug=no \
--disable-static \
--build=$ARCH-slackware-linux
@ -100,7 +96,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO \
AUTHORS COPYING ChangeLog NEWS README.md THANKS TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,8 +1,8 @@
PRGNAM="parole"
VERSION="0.9.1"
HOMEPAGE="https://docs.xfce.org/apps/parole/introduction"
DOWNLOAD="https://archive.xfce.org/src/apps/parole/0.9/parole-0.9.1.tar.bz2"
MD5SUM="85d76320726cda93e29e0ea59141c34c"
VERSION="4.16.0"
HOMEPAGE="https://docs.xfce.org/apps/parole/start"
DOWNLOAD="https://archive.xfce.org/src/apps/parole/4.16/parole-4.16.0.tar.bz2"
MD5SUM="b9adffdef4bab6ca454569d562051843"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View file

@ -13,7 +13,7 @@ parole: framework and written to fit well in the Xfce desktop. Parole features
parole: playback of local media files, DVD/CD and live streams. It is designed
parole: with simplicity, speed and resource usage in mind.
parole:
parole:
parole: Homepage: https://docs.xfce.org/apps/parole/start
parole:
parole:
parole: