mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
graphics/gimp-lqr-plugin: Added to 12.2 repository
This commit is contained in:
parent
0c3ded9b40
commit
9722ee23ac
4 changed files with 87 additions and 0 deletions
7
graphics/gimp-lqr-plugin/README
Normal file
7
graphics/gimp-lqr-plugin/README
Normal 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
|
53
graphics/gimp-lqr-plugin/gimp-lqr-plugin.SlackBuild
Normal file
53
graphics/gimp-lqr-plugin/gimp-lqr-plugin.SlackBuild
Normal 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
|
8
graphics/gimp-lqr-plugin/gimp-lqr-plugin.info
Normal file
8
graphics/gimp-lqr-plugin/gimp-lqr-plugin.info
Normal 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"
|
19
graphics/gimp-lqr-plugin/slack-desc
Normal file
19
graphics/gimp-lqr-plugin/slack-desc
Normal 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:
|
Loading…
Reference in a new issue