diff options
-rw-r--r-- | graphics/enblend-enfuse/README | 6 | ||||
-rw-r--r-- | graphics/enblend-enfuse/enblend-enfuse.SlackBuild | 58 | ||||
-rw-r--r-- | graphics/enblend-enfuse/enblend-enfuse.info | 8 | ||||
-rw-r--r-- | graphics/enblend-enfuse/slack-desc | 11 |
4 files changed, 83 insertions, 0 deletions
diff --git a/graphics/enblend-enfuse/README b/graphics/enblend-enfuse/README new file mode 100644 index 0000000000000..694d51d1802dd --- /dev/null +++ b/graphics/enblend-enfuse/README @@ -0,0 +1,6 @@ +Enblend combines images that overlap into a single large image with no seams. +Enfuse combines images that overlap into a single image with good exposure +and good focus. Both programs assume that your images are already lined up. +To make panoramas with Enblend and/or Enfuse, use Hugin. + +Requires GLEW, OpenEXR and libxmi, available at SlackBuilds.org. diff --git a/graphics/enblend-enfuse/enblend-enfuse.SlackBuild b/graphics/enblend-enfuse/enblend-enfuse.SlackBuild new file mode 100644 index 0000000000000..ed85d95d84c3d --- /dev/null +++ b/graphics/enblend-enfuse/enblend-enfuse.SlackBuild @@ -0,0 +1,58 @@ +#!/bin/sh -eu + +# Slackware build script for enblend-enfuse +# Written by Erik Hanson erik@slackbuilds.org + +PRGNAM=enblend-enfuse +VERSION=3.2 +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.gz +cd $PRGNAM-$VERSION +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +CXXFLAGS="$SLKCFLAGS" \ +CFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var/lib \ + --mandir=/usr/man \ + --infodir=/usr/info \ + --disable-static + +make +make install-strip DESTDIR=$PKG + +gzip -9 $PKG/usr/man/man?/*.? +gzip -9 $PKG/usr/info/*.info +rm -rf $PKG/usr/info/dir + +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-enfuse/enblend-enfuse.info b/graphics/enblend-enfuse/enblend-enfuse.info new file mode 100644 index 0000000000000..38fca39c00269 --- /dev/null +++ b/graphics/enblend-enfuse/enblend-enfuse.info @@ -0,0 +1,8 @@ +PRGNAM="enblend-enfuse" +VERSION="3.2" +HOMEPAGE="http://enblend.sourceforge.net/" +DOWNLOAD="http://downloads.sourceforge.net/enblend/enblend-enfuse-3.2.tar.gz" +MD5SUM="9b6ebaf672f5103c633a53c9723d99c3" +MAINTAINER="Erik Hanson" +EMAIL="erik@slackbuilds.org" +APPROVED="dsomero" diff --git a/graphics/enblend-enfuse/slack-desc b/graphics/enblend-enfuse/slack-desc new file mode 100644 index 0000000000000..3749e6bfa6b99 --- /dev/null +++ b/graphics/enblend-enfuse/slack-desc @@ -0,0 +1,11 @@ +enblend-enfuse: Enblend-Enfuse (Image Blending and Enfusing tools) +enblend-enfuse: +enblend-enfuse: Enblend combines images that overlap into a single large image +enblend-enfuse: with no seams. Enfuse combines images that overlap into a +enblend-enfuse: single image with good exposure and good focus. Both programs +enblend-enfuse: assume that your images are already lined up. To make +enblend-enfuse: panoramas with Enblend and/or Enfuse, use Hugin. +enblend-enfuse: +enblend-enfuse: +enblend-enfuse: http://enblend.sourceforge.net/ +enblend-enfuse: |