summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2020-12-09 18:57:35 +0100
committer Matteo Bernardini2021-02-27 09:56:25 +0100
commite81d4298c00fcc5470f1502d9404ffb04d204c11 (patch)
treeaf6a25511f08fbcb96df7b03681c4832dab5d756
parent9aa1498acb0841d4ce656319a4de5cc157b4e2ed (diff)
downloadslackbuilds-kphotoalbum.tar.gz
graphics/kphotoalbum: Updated for version 5.7.0.kphotoalbum
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--graphics/kphotoalbum/kphotoalbum.SlackBuild15
-rw-r--r--graphics/kphotoalbum/kphotoalbum.info6
2 files changed, 10 insertions, 11 deletions
diff --git a/graphics/kphotoalbum/kphotoalbum.SlackBuild b/graphics/kphotoalbum/kphotoalbum.SlackBuild
index ff0c67222a..baf39a00b2 100644
--- a/graphics/kphotoalbum/kphotoalbum.SlackBuild
+++ b/graphics/kphotoalbum/kphotoalbum.SlackBuild
@@ -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
diff --git a/graphics/kphotoalbum/kphotoalbum.info b/graphics/kphotoalbum/kphotoalbum.info
index bd8364de7e..a096855d90 100644
--- a/graphics/kphotoalbum/kphotoalbum.info
+++ b/graphics/kphotoalbum/kphotoalbum.info
@@ -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=""