graphics/kphotoalbum: Updated for version 5.7.0.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2020-12-09 18:57:35 +01:00 committed by Robby Workman
parent b68418af1a
commit 2353e1f793
2 changed files with 10 additions and 11 deletions

View File

@ -4,13 +4,13 @@
# By default the demo pictures and movie are packaged.
PRGNAM=kphotoalbum
VERSION=${VERSION:-4.7.1}
VERSION=${VERSION:-5.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -25,8 +25,8 @@ OUTPUT=${OUTPUT:-/tmp}
# set DEMO to no to omit them.
DEMO=${DEMO:-yes}
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"
@ -56,13 +56,12 @@ find -L . \
mkdir build && cd build
cmake \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DKDE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \
-DLIB_INSTALL_DIR:PATH=/usr/lib${LIBDIRSUFFIX} \
-DCMAKE_INSTALL_PREFIX=/usr \
..
make -j1
make
make install DESTDIR=$PKG
cd -
@ -71,7 +70,7 @@ if [ "$DEMO" = "no" ]; then
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING ChangeLog tips README \
cp -a COPYING ChangeLog tips README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View File

@ -1,8 +1,8 @@
PRGNAM="kphotoalbum"
VERSION="4.7.1"
VERSION="5.7.0"
HOMEPAGE="http://kphotoalbum.org"
DOWNLOAD="http://download.kde.org/stable/kphotoalbum/4.7.1/src/kphotoalbum-4.7.1.tar.xz"
MD5SUM="6994263a53780e1f5d40cc197db8f10b"
DOWNLOAD="https://download.kde.org/stable/kphotoalbum/5.7.0/kphotoalbum-5.7.0.tar.xz"
MD5SUM="c52404d5edd89b53d0201a736584df1e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""