graphics/enblend: Added to 12.1 repository

This commit is contained in:
Erik Hanson 2010-05-11 22:53:51 +02:00 committed by David Somero
parent d4f52d07a6
commit c7f1fe44c4
4 changed files with 84 additions and 0 deletions

6
graphics/enblend/README Normal file
View file

@ -0,0 +1,6 @@
Enblend is a tool for compositing images. Given a set of images that overlap
in some irregular way, Enblend overlays them in such a way that the seam
between the images is invisible, or at least very difficult to see. Enblend
does not line up the images for you. Use a tool like Hugin to do that.
Requires GLEW, OpenEXR and libxmi, available at SlackBuilds.org.

View file

@ -0,0 +1,59 @@
#!/bin/sh
# Slackware build script for enblend
# Written by Erik Hanson erik@slackbuilds.org
set -eu
PRGNAM=enblend
VERSION=3.1.r20080615
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"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
fi
rm -rf $PKG
mkdir -p $TMP $PKG
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 .
make -f Makefile.cvs
CXXFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var/lib \
--mandir=/usr/man \
--disable-static
make
make install-strip DESTDIR=$PKG
gzip -9 $PKG/usr/man/man?/*.?
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README README_WINDOWS.txt \
TODO VIGRA_LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
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="enblend"
VERSION="3.1.r20080615"
HOMEPAGE="http://enblend.sourceforge.net/"
DOWNLOAD="http://mirrors.yocum.org/FreeBSD/ports/local-distfiles/vd/enblend/enblend-3.1.r20080615.tar.bz2"
MD5SUM="5dcd281126e1133fb20c5d0203830132"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
APPROVED="David Somero"

View file

@ -0,0 +1,11 @@
enblend: Enblend (Image Blending with Multiresolution Splines)
enblend:
enblend: Enblend is a tool for compositing images. Given a set of images that
enblend: overlap in some irregular way, Enblend overlays them in such a way
enblend: that the seam between the images is invisible, or at least very
enblend: difficult to see. Enblend does not line up the images for you. Use a
enblend: tool like Hugin to do that.
enblend:
enblend:
enblend: http://enblend.sourceforge.net/
enblend: