diff options
author | Zhu Qun-Ying <zhu.qunying@gmail.com> | 2022-08-21 00:08:05 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-08-27 22:50:25 +0700 |
commit | b0265f592f0fbd6a4985a6d3f48cd2af3c09119a (patch) | |
tree | 994486460f8fdc812bb39634c5cecd92695d6bf8 | |
parent | 98ce3fadd5c7165df8676c64144c3db6b819fdfc (diff) |
graphics/synfigstudio: Added (Professional vector animation program)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | graphics/synfigstudio/README | 8 | ||||
-rw-r--r-- | graphics/synfigstudio/doinst.sh | 3 | ||||
-rw-r--r-- | graphics/synfigstudio/douninst.sh | 1 | ||||
-rw-r--r-- | graphics/synfigstudio/slack-desc | 19 | ||||
-rw-r--r-- | graphics/synfigstudio/synfigstudio.SlackBuild | 108 | ||||
-rw-r--r-- | graphics/synfigstudio/synfigstudio.info | 10 |
6 files changed, 149 insertions, 0 deletions
diff --git a/graphics/synfigstudio/README b/graphics/synfigstudio/README new file mode 100644 index 0000000000000..d997b560e23cc --- /dev/null +++ b/graphics/synfigstudio/README @@ -0,0 +1,8 @@ +Synfig Studio (Professional vector animation program, GUI) + +Synfig Studio is a free and open-source 2D animation software, +designed as powerful industrial-strength solution for creating +film-quality animation using a vector and bitmap artwork. It +eliminates the need to create animation frame-by frame, allowing +you to produce 2D animation of a higher quality with fewer +people and resources. diff --git a/graphics/synfigstudio/doinst.sh b/graphics/synfigstudio/doinst.sh new file mode 100644 index 0000000000000..512d088aa2684 --- /dev/null +++ b/graphics/synfigstudio/doinst.sh @@ -0,0 +1,3 @@ +/usr/bin/update-mime-database -n /usr/share/mime 1> /dev/null 2> /dev/null +/usr/bin/gtk-update-icon-cache /usr/share/icons 1> /dev/null 2> /dev/null +/usr/bin/update-desktop-database 1> /dev/null 2> /dev/null diff --git a/graphics/synfigstudio/douninst.sh b/graphics/synfigstudio/douninst.sh new file mode 100644 index 0000000000000..dcf26cbc361e8 --- /dev/null +++ b/graphics/synfigstudio/douninst.sh @@ -0,0 +1 @@ +/usr/bin/update-mime-database /usr/share/mime diff --git a/graphics/synfigstudio/slack-desc b/graphics/synfigstudio/slack-desc new file mode 100644 index 0000000000000..a82ad11e8422a --- /dev/null +++ b/graphics/synfigstudio/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------------------------------------------------------| +synfigstudio: synfigstudio (Synfig Studio - Professional vector animation program) +synfigstudio: +synfigstudio: Synfig Studio is a free and open-source 2D animation software, +synfigstudio: designed as powerful industrial-strength solution for creating +synfigstudio: film-quality animation using a vector and bitmap artwork. It +synfigstudio: eliminates the need to create animation frame-by frame, allowing you +synfigstudio: to produce 2D animation of a higher quality with fewer people and +synfigstudio: resources. +synfigstudio: +synfigstudio: Home page: https://www.synfig.org +synfigstudio: diff --git a/graphics/synfigstudio/synfigstudio.SlackBuild b/graphics/synfigstudio/synfigstudio.SlackBuild new file mode 100644 index 0000000000000..10b55c9ea326f --- /dev/null +++ b/graphics/synfigstudio/synfigstudio.SlackBuild @@ -0,0 +1,108 @@ +#!/bin/bash + +# Slackware build script for <synfigstudio> + +# Copyright 2020, Zhu Qun-Ying +# 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. +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=synfigstudio +VERSION=${VERSION:-1.5.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --with-libavcodec --with-libdv \ + --localstatedir=/var \ + --disable-static \ + --with-imagemagick \ + --with-magickpp \ + --with-libavcodec \ + --with-libav \ + --with-ffmpeg \ + --build=$ARCH-slackware-linux + +make $JOBS +make install DESTDIR=$PKG +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp AUTHORS COPYING NEWS README TODO $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 +cat $CWD/doinst.sh > $PKG/install/doinst.sh +cat $CWD/douninst.sh > $PKG/install/douninst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/graphics/synfigstudio/synfigstudio.info b/graphics/synfigstudio/synfigstudio.info new file mode 100644 index 0000000000000..4d9838df76bef --- /dev/null +++ b/graphics/synfigstudio/synfigstudio.info @@ -0,0 +1,10 @@ +PRGNAM="synfigstudio" +VERSION="1.5.1" +HOMEPAGE="https://www.synfig.org/" +DOWNLOAD="https://github.com/synfig/synfig/releases/download/v1.5.1/synfigstudio-1.5.1.tar.gz" +MD5SUM="49390c6bca7f78ebb7cc0e1d00710f4e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="ETL synfig" +MAINTAINER="Zhu Qun-Ying" +EMAIL="zhu.qunying@gmail.com" |