audio/fantasia: Removed (redundant; use JSampler instead).

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-03-31 14:24:23 -04:00 committed by Willy Sudiarto Raharjo
parent 68adae29ab
commit c7e655caea
No known key found for this signature in database
GPG key ID: 3F617144D7238786
6 changed files with 0 additions and 137 deletions

View file

@ -1,5 +0,0 @@
fantasia (Java-based GUI frontend for LinuxSampler)
Although I've listed zulu-openjdk8 as a required dependency, other
JDK implementations such as jdk (Oracle) probably work too. I just
haven't tested them myself.

View file

@ -1,10 +0,0 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi

View file

@ -1,84 +0,0 @@
#!/bin/bash
# Slackware build script for fantasia
# Written by B. Watson (yalhcru@gmail.com)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20211207 bkw: BUILD=2, new-style icons.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=fantasia
VERSION=${VERSION:-0.9}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
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}
SRCNAM=Fantasia
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
# Don't really need our own "source" dir, but it makes cleanup easier.
mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
# Jar file
mkdir -p $PKG/usr/{bin,share/$PRGNAM}
install -m0644 -oroot -groot $CWD/$SRCNAM-$VERSION.jar $PKG/usr/share/$PRGNAM
# Shell script wrapper
cat <<EOF > $PKG/usr/bin/$PRGNAM
#!/bin/sh
exec java -jar /usr/share/$PRGNAM/$SRCNAM-$VERSION.jar
EOF
chmod 0755 $PKG/usr/bin/$PRGNAM
# Stick the icon where it goes
unzip -j $CWD/$SRCNAM-$VERSION.jar \
org/jsampler/view/fantasia/res/icons/LinuxSampler-logo.png
convert -background none -extent 128x128 -gravity center \
LinuxSampler-logo.png PNG24:$PRGNAM.png
for px in 16 32 48 64 128; do
size=${px}x${px}
dir=$PKG/usr/share/icons/hicolor/$size/apps
mkdir -p $dir
convert -resize $size $PRGNAM.png $dir/$PRGNAM.png
done
mkdir -p $PKG/usr/share/pixmaps
ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
# .desktop file written by SlackBuild author
mkdir -p $PKG/usr/share/applications
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
# No real docs ship with this app, but here ya go:
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
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
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE

View file

@ -1,9 +0,0 @@
[Desktop Entry]
Version=1.0
Name=Fantasia
Comment=LinuxSampler GUI
Exec=fantasia
Icon=fantasia
Terminal=false
Type=Application
Categories=Audio;AudioVideo;

View file

@ -1,10 +0,0 @@
PRGNAM="fantasia"
VERSION="0.9"
HOMEPAGE="http://www.linuxsampler.org/"
DOWNLOAD="http://downloads.sourceforge.net/project/jsampler/Fantasia/Fantasia%200.9/Fantasia-0.9.jar"
MD5SUM="55f781785224cf7fc1c5999b683f9577"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="zulu-openjdk8 linuxsampler"
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"

View file

@ -1,19 +0,0 @@
# 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------------------------------------------------------|
fantasia: fantasia (Java-based GUI frontend for LinuxSampler)
fantasia:
fantasia:
fantasia:
fantasia:
fantasia:
fantasia:
fantasia:
fantasia:
fantasia:
fantasia: