diff options
Diffstat (limited to 'graphics/kphotoalbum')
-rw-r--r-- | graphics/kphotoalbum/README | 5 | ||||
-rw-r--r-- | graphics/kphotoalbum/kphotoalbum.SlackBuild | 31 | ||||
-rw-r--r-- | graphics/kphotoalbum/kphotoalbum.info | 6 |
3 files changed, 24 insertions, 18 deletions
diff --git a/graphics/kphotoalbum/README b/graphics/kphotoalbum/README index 84b8d2b734..ea5e4bfb2e 100644 --- a/graphics/kphotoalbum/README +++ b/graphics/kphotoalbum/README @@ -1,8 +1,5 @@ KPhotoAlbum (previously known as KimDaBa) is an photograh viewer and organizer. Users can search for images based on tags (also called -categories). KPhotoAlbum supports KIPI plugins for manipulating images -(these are now included in the optional dependency digikam). +categories). KPhotoAlbum supports KIPI plugins for manipulating images. Set DEMO=no to exclude the demo pictures and video from the package. - -Optional dependencies: libkface and libkgeomap4 diff --git a/graphics/kphotoalbum/kphotoalbum.SlackBuild b/graphics/kphotoalbum/kphotoalbum.SlackBuild index ff0c67222a..e19a8ec6c0 100644 --- a/graphics/kphotoalbum/kphotoalbum.SlackBuild +++ b/graphics/kphotoalbum/kphotoalbum.SlackBuild @@ -1,22 +1,32 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for kphotoalbum # By default the demo pictures and movie are packaged. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=kphotoalbum -VERSION=${VERSION:-4.7.1} +VERSION=${VERSION:-5.7.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -25,8 +35,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 +66,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 +80,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 @@ -83,4 +92,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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="" |