diff options
-rw-r--r-- | graphics/FSPViewer/FSPViewer.SlackBuild | 68 | ||||
-rw-r--r-- | graphics/FSPViewer/FSPViewer.info | 10 | ||||
-rw-r--r-- | graphics/FSPViewer/README | 5 | ||||
-rw-r--r-- | graphics/FSPViewer/slack-desc | 19 |
4 files changed, 102 insertions, 0 deletions
diff --git a/graphics/FSPViewer/FSPViewer.SlackBuild b/graphics/FSPViewer/FSPViewer.SlackBuild new file mode 100644 index 0000000000..fa28046f5e --- /dev/null +++ b/graphics/FSPViewer/FSPViewer.SlackBuild @@ -0,0 +1,68 @@ +#!/bin/sh + +# Copyright 2018 junkyardsparkle, Los Angeles, CA, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=FSPViewer +VERSION=${VERSION:-2.1.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; +esac + +if [ "$ARCH" = "x86_64" ]; then + SRCSUFFIX="64" +elif [ "$ARCH" = "i586" ]; then + SRCSUFFIX="32" +else + printf "\n\n$ARCH is unsupported...\n" + exit 1 +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xf $CWD/$PRGNAM-$VERSION-$SRCSUFFIX.tar.gz -C $PKG + +mkdir -p $PKG/usr/bin +mv $PKG/FSPViewer$SRCSUFFIX $PKG/usr/bin + +mkdir -p $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 +chown -R root:root $PKG +chmod -R g-w $PKG + +/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/graphics/FSPViewer/FSPViewer.info b/graphics/FSPViewer/FSPViewer.info new file mode 100644 index 0000000000..20682af298 --- /dev/null +++ b/graphics/FSPViewer/FSPViewer.info @@ -0,0 +1,10 @@ +PRGNAM="FSPViewer" +VERSION="2.1.0" +HOMEPAGE="http://www.fsoft.it/FSPViewer/" +DOWNLOAD="http://www.fsoft.it/FSPViewer/dwn-files/FSPViewer-2.1.0-32.tar.gz" +MD5SUM="93f190434d3987d6bb7eafdfa006b5ae" +DOWNLOAD_x86_64="http://www.fsoft.it/FSPViewer/dwn-files/FSPViewer-2.1.0-64.tar.gz" +MD5SUM_x86_64="86f9688c0a0c2ca26e432cd1790b2983" +REQUIRES="libpng-legacy12" +MAINTAINER="junkyardsparkle" +EMAIL="junkyardsparkle@yepmail.net" diff --git a/graphics/FSPViewer/README b/graphics/FSPViewer/README new file mode 100644 index 0000000000..82797a2df1 --- /dev/null +++ b/graphics/FSPViewer/README @@ -0,0 +1,5 @@ +FSPViewer is a free viewer for spherical (equirectangular) panoramic +images. It is designed for viewing local (hard-disk, network or CD) +high resolution panoramic images at full screen and with very high +image quality. It uses advanced interpolation algorithms to show you +smooth images without losing sharpness. diff --git a/graphics/FSPViewer/slack-desc b/graphics/FSPViewer/slack-desc new file mode 100644 index 0000000000..f0fbb12b19 --- /dev/null +++ b/graphics/FSPViewer/slack-desc @@ -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 ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +FSPViewer: FSPViewer (spherical panorama viewer) +FSPViewer: +FSPViewer: FSPViewer is a free viewer for spherical (equirectangular) panoramic +FSPViewer: images. It is designed for viewing local (hard-disk, network or CD) +FSPViewer: high resolution panoramic images at full screen and with very high +FSPViewer: image quality. It uses advanced interpolation algorithms to show you +FSPViewer: smooth images without losing sharpness. +FSPViewer: +FSPViewer: http://www.fsoft.it/FSPViewer/ +FSPViewer: +FSPViewer: |