graphics/gimp-lqr-plugin: Added to 12.2 repository

This commit is contained in:
Erik Hanson 2010-05-12 23:29:42 +02:00 committed by David Somero
parent 0c3ded9b40
commit 9722ee23ac
4 changed files with 87 additions and 0 deletions

View file

@ -0,0 +1,7 @@
The GIMP Liquid Rescale plugin is a frontend to the Liquid
Rescale Library, which provides an implementation of the Seam
Carving algorithm as described in this paper
(http://www.faculty.idc.ac.il/arik/imret.pdf) by Shai Avidan
and Ariel Shamir.
Requires liblqr, available at SlackBuilds.org

View file

@ -0,0 +1,53 @@
#!/bin/sh
# Slackware build script for gimp-lqr-plugin
# Written by Erik Hanson erik@slackbuilds.org
PRGNAM=gimp-lqr-plugin
VERSION=0.6.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
fi
set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--disable-static \
--build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz

View file

@ -0,0 +1,8 @@
PRGNAM="gimp-lqr-plugin"
VERSION="0.6.1"
HOMEPAGE="http://liquidrescale.wikidot.com/en:start"
DOWNLOAD="http://liquidrescale.wikidot.com/local--files/en:download-page/gimp-lqr-plugin-0.6.1.tar.bz2"
MD5SUM="f5f15814904d7c812eca60cbb2fc6385"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
APPROVED="dsomero"

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 ':'.
|-----handy-ruler------------------------------------------------|
gimp-lqr-plugin: gimp-lqr-plugin (Liquid Rescale GIMP plugin)
gimp-lqr-plugin:
gimp-lqr-plugin: The GIMP Liquid Rescale plugin is a frontend to the Liquid
gimp-lqr-plugin: Rescale Library, which provides an implementation of the Seam
gimp-lqr-plugin: Carving algorithm as described in this paper
gimp-lqr-plugin: (http://www.faculty.idc.ac.il/arik/imret.pdf) by Shai Avidan
gimp-lqr-plugin: and Ariel Shamir.
gimp-lqr-plugin:
gimp-lqr-plugin:
gimp-lqr-plugin:
gimp-lqr-plugin: