mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
graphics/kipi-plugins: Updated for version 0.1.4
This commit is contained in:
parent
0e277f5444
commit
d9dd7403c8
4 changed files with 30 additions and 23 deletions
|
@ -7,5 +7,4 @@ as many or as few as you like, from within host programs.
|
||||||
The following programs are required to build Kipi Plugins:
|
The following programs are required to build Kipi Plugins:
|
||||||
(also available at http://www.slackbuilds.org/)
|
(also available at http://www.slackbuilds.org/)
|
||||||
|
|
||||||
exiv2, imlib2, libgphoto2, libkipi
|
exiv2, imlib2, libgphoto2, libkdcraw, libkipi
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for Kipi Plugins
|
# Slackware build script for Kipi Plugins
|
||||||
|
|
||||||
# Copyright 2007 MagicMan <MagicMan07@bluebottle.com>
|
# Copyright 2007 Frank Caraballo <fecaraballo{at}gmail{dot}com>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -22,24 +22,18 @@
|
||||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
# Modified by the SlackBuilds.org project
|
|
||||||
|
|
||||||
if [ "$(id -u)" != "0" ]; then
|
|
||||||
echo "This script must be run as root!"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
PRGNAM=kipi-plugins
|
PRGNAM=kipi-plugins
|
||||||
VERSION=0.1.3
|
VERSION=0.1.4
|
||||||
ARCH=${ARCH:-i486}
|
ARCH=${ARCH:-i486}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
CWD=`pwd`
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/SBo}
|
TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
KDEPREF=$(kde-config --prefix)
|
||||||
|
|
||||||
PDOCS="AUTHORS ChangeLog COPYING INSTALL NEWS PACKAGING README TODO"
|
PDOCS="AUTHORS ChangeLog COPYING INSTALL NEWS PACKAGING README RELEASE.rev TODO"
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
@ -51,25 +45,31 @@ rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP || exit 1
|
cd $TMP || exit 1
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $PRGNAM-$VERSION
|
||||||
tar -xvf $CWD/$PRGNAM-$VERSION.tar.* || exit 1
|
tar -xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
|
||||||
cd $PRGNAM-$VERSION || exit 1
|
cd $PRGNAM-$VERSION || exit 1
|
||||||
|
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
chmod -R u+w,go+r-w,a-s .
|
chmod -R u+w,go+r-w,a-s .
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
|
--prefix=$KDEPREF \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
|
--mandir=$KDEPREF/man \
|
||||||
|
--program-prefix="" \
|
||||||
|
--program-suffix="" \
|
||||||
|
--disable-debug \
|
||||||
|
--enable-shared=yes \
|
||||||
|
--enable-static=no \
|
||||||
|| exit 1
|
|| exit 1
|
||||||
|
|
||||||
make || exit 1
|
make || exit 1
|
||||||
make install-strip DESTDIR=$PKG || exit 1
|
make install-strip DESTDIR=$PKG || exit 1
|
||||||
|
|
||||||
( cd $PKG/opt/kde/man
|
( cd $PKG/$KDEPREF/man
|
||||||
find . -type f -exec gzip -9 {} \;
|
find . -type f -exec gzip -9 {} \;
|
||||||
for i in `find . -type l` ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||||
)
|
)
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="kipi-plugins"
|
PRGNAM="kipi-plugins"
|
||||||
VERSION="0.1.3"
|
VERSION="0.1.4"
|
||||||
HOMEPAGE="http://extragear.kde.org/apps/kipi/"
|
HOMEPAGE="http://extragear.kde.org/apps/kipi/"
|
||||||
DOWNLOAD="http://dl.sourceforge.net/kipi/kipi-plugins-0.1.3.tar.bz2"
|
DOWNLOAD="http://downloads.sourceforge.net/kipi/kipi-plugins-0.1.4.tar.bz2"
|
||||||
MD5SUM="7b8e55906b5d08280ab3ad3c2b43e8ab"
|
MD5SUM="62469960593284b62302bde75a898c46"
|
||||||
MAINTAINER="MagicMan"
|
MAINTAINER="Frank Caraballo"
|
||||||
EMAIL="MagicMan07@bluebottle.com"
|
EMAIL="fecaraballo{at}gmail{dot}com"
|
||||||
APPROVED="robw810"
|
APPROVED="rworkman"
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
# 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 ':'.
|
||||||
|
|
||||||
|
|-----handy-ruler------------------------------------------------------|
|
||||||
kipi-plugins: Kipi Plugins (Plugins for libKipi)
|
kipi-plugins: Kipi Plugins (Plugins for libKipi)
|
||||||
kipi-plugins:
|
kipi-plugins:
|
||||||
kipi-plugins: Kipi Plugins are additional functions for the KDE Images
|
kipi-plugins: Kipi Plugins are additional functions for the KDE Images
|
||||||
|
|
Loading…
Reference in a new issue