mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
graphics/FSPViewer: Added (spherical panorama viewer).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
1e4c60e5c6
commit
c876dd4dca
4 changed files with 102 additions and 0 deletions
68
graphics/FSPViewer/FSPViewer.SlackBuild
Normal file
68
graphics/FSPViewer/FSPViewer.SlackBuild
Normal file
|
@ -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}
|
10
graphics/FSPViewer/FSPViewer.info
Normal file
10
graphics/FSPViewer/FSPViewer.info
Normal file
|
@ -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"
|
5
graphics/FSPViewer/README
Normal file
5
graphics/FSPViewer/README
Normal file
|
@ -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.
|
19
graphics/FSPViewer/slack-desc
Normal file
19
graphics/FSPViewer/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 ':' 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:
|
Loading…
Reference in a new issue