From c7f1fe44c4f01984d77979f45a5213afa7224450 Mon Sep 17 00:00:00 2001 From: Erik Hanson Date: Tue, 11 May 2010 22:53:51 +0200 Subject: graphics/enblend: Added to 12.1 repository --- graphics/enblend/README | 6 ++++ graphics/enblend/enblend.SlackBuild | 59 +++++++++++++++++++++++++++++++++++++ graphics/enblend/enblend.info | 8 +++++ graphics/enblend/slack-desc | 11 +++++++ 4 files changed, 84 insertions(+) create mode 100644 graphics/enblend/README create mode 100644 graphics/enblend/enblend.SlackBuild create mode 100644 graphics/enblend/enblend.info create mode 100644 graphics/enblend/slack-desc (limited to 'graphics') diff --git a/graphics/enblend/README b/graphics/enblend/README new file mode 100644 index 0000000000..8cf2f3373c --- /dev/null +++ b/graphics/enblend/README @@ -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. diff --git a/graphics/enblend/enblend.SlackBuild b/graphics/enblend/enblend.SlackBuild new file mode 100644 index 0000000000..576e55414c --- /dev/null +++ b/graphics/enblend/enblend.SlackBuild @@ -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 diff --git a/graphics/enblend/enblend.info b/graphics/enblend/enblend.info new file mode 100644 index 0000000000..fa9d5db12c --- /dev/null +++ b/graphics/enblend/enblend.info @@ -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" \ No newline at end of file diff --git a/graphics/enblend/slack-desc b/graphics/enblend/slack-desc new file mode 100644 index 0000000000..15a94a1895 --- /dev/null +++ b/graphics/enblend/slack-desc @@ -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: -- cgit v1.2.3