summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-12-09 18:57:35 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:34:47 -0500
commit2353e1f7939ab3f46ad3a61be9482024de64f2a2 (patch)
treea1e4947826f5364485b271d7ad10bcea6193d9df /graphics
parentb68418af1a646de15e851ba7f6d2ff300be8b652 (diff)
downloadslackbuilds-2353e1f7939ab3f46ad3a61be9482024de64f2a2.tar.gz
graphics/kphotoalbum: Updated for version 5.7.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics')
-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=""