graphics/photoqt: Renamed from photo, updated for version 1.0.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2013-11-06 19:47:38 +01:00 committed by Robby Workman
parent b79d0baa2e
commit b310c821ee
8 changed files with 48 additions and 40 deletions

View file

@ -1,4 +0,0 @@
photo (Qt image viewer)
Photo is a fast, simple, good looking, yet powerful and highly
configurable image viewer.

View file

@ -1,10 +0,0 @@
PRGNAM="photo"
VERSION="0.9.1"
HOMEPAGE="http://photoqt.org"
DOWNLOAD="http://ponce.cc/slackware/sources/repo/photo-0.9.1.tar.gz"
MD5SUM="1317a9243b9e7aa89b2554bcb0af9093"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"

View file

@ -1,19 +0,0 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
photo: photo (Qt image viewer)
photo:
photo: Photo is a fast, simple, good looking, yet powerful and highly
photo: configurable image viewer.
photo:
photo: homepage: http://photoqt.org
photo:
photo:
photo:
photo:
photo:

8
graphics/photoqt/README Normal file
View file

@ -0,0 +1,8 @@
Photoqt is a fast, simple, good looking, yet powerful and highly
configurable image viewer.
Support for external software is configured by default with the
following switches:
EXIV2=ON (needs exiv2, by default in Slackware)
PHONON=OFF (needs phonon, by default in Slackware)
GM=OFF (needs GraphicsMagick, optional dependency)

View file

@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for photo
# Copyright by Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy 2012
# Slackware build script for photoqt
# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -21,8 +21,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=photo
VERSION=${VERSION:-0.9.1}
PRGNAM=photoqt
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -53,6 +53,10 @@ else
LIBDIRSUFFIX=""
fi
EXIV2=${EXIV2:-ON}
GM=${GM:-OFF}
PHONON=${PHONON:-OFF}
set -e
rm -rf $PKG
@ -68,15 +72,15 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# Explicitly link to phonon too
sed -i "s|exiv2|exiv2 phonon|" CMakeLists.txt
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DEXIV2=$EXIV2 \
-DGM=$GM \
-DPHONON=$PHONON \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG

View file

@ -0,0 +1,10 @@
PRGNAM="photoqt"
VERSION="1.0"
HOMEPAGE="http://photoqt.org"
DOWNLOAD="http://photoqt.org/pkgs/photoqt-1.0.tar.gz"
MD5SUM="b54dc4de8c7561551f47e47738633002"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"

View file

@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
photoqt: photoqt (Qt image viewer)
photoqt:
photoqt: Photoqt is a fast, simple, good looking, yet powerful and highly
photoqt: configurable image viewer.
photoqt:
photoqt: homepage: http://photoqt.org
photoqt:
photoqt:
photoqt:
photoqt:
photoqt: