mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
audio/transcribe: Added (music transcription tool)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
b0a70ffd14
commit
ad409b7053
7 changed files with 156 additions and 0 deletions
14
audio/transcribe/README
Normal file
14
audio/transcribe/README
Normal file
|
@ -0,0 +1,14 @@
|
|||
The Transcribe! application is an assistant for people who sometimes want
|
||||
to work out a piece of music from a recording, in order to write it out,
|
||||
or play it themselves, or both. It doesn't do the transcribing for you,
|
||||
but it is essentially a specialised player program which is optimised
|
||||
for the purpose of transcription. It has many transcription-specific
|
||||
features not found on conventional music players.
|
||||
|
||||
Transcribe! is proprietary software. After installation, Transcribe! will
|
||||
be fully functional for a 30-day evaluation period. To buy the software,
|
||||
use the site at http://www.seventhstring.com/xscribe/buy.html. The
|
||||
Slackware package doesn't need to be changed or updated (just enter the
|
||||
license key).
|
||||
|
||||
(Note: The "Buy" button in the app doesn't work, use the URL above instead)
|
10
audio/transcribe/doinst.sh
Normal file
10
audio/transcribe/doinst.sh
Normal file
|
@ -0,0 +1,10 @@
|
|||
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 usr/share/icons/hicolor >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
|
19
audio/transcribe/slack-desc
Normal file
19
audio/transcribe/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 ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
transcribe: transcribe (music transcription tool)
|
||||
transcribe:
|
||||
transcribe: The Transcribe! application is an assistant for people who sometimes
|
||||
transcribe: want to work out a piece of music from a recording, in order to
|
||||
transcribe: write it out, or play it themselves, or both. It doesn't do the
|
||||
transcribe: transcribing for you, but it is essentially a specialised player
|
||||
transcribe: program which is optimised for the purpose of transcription. It
|
||||
transcribe: has many transcription-specific features not found on conventional
|
||||
transcribe: music players.
|
||||
transcribe:
|
||||
transcribe:
|
80
audio/transcribe/transcribe.SlackBuild
Normal file
80
audio/transcribe/transcribe.SlackBuild
Normal file
|
@ -0,0 +1,80 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for transcribe
|
||||
|
||||
# Written by B. Watson (yalhcru@gmail.com)
|
||||
|
||||
# Notes:
|
||||
|
||||
# Closed-source software, precompiled binary for x86, deps are
|
||||
# all included in Slackware.
|
||||
|
||||
# Originally ported from Windows, so it expects to be run from its
|
||||
# own directory. We install to /usr/lib/transcribe, and a wrapper
|
||||
# script /usr/bin/transcribe that cd's to the install dir and runs
|
||||
# the app from there (this allows the app's help system to work).
|
||||
|
||||
# ARCH is hard-coded to i486 because the bin is 32-bit x86. If you're
|
||||
# on Slackware64, try alienBOB's -compat32 (multilib) packages. The
|
||||
# author of this script was able to get the app to work that way.
|
||||
|
||||
# Upgrading from the 30-day eval to the registered version is just
|
||||
# a matter of entering the license key (no change to the package
|
||||
# needed).
|
||||
|
||||
# Annoyingly, the in-app "Buy" button doesn't work. It's supposed to
|
||||
# open a browser & display the order form on their site.. It's looking for
|
||||
# something in /usr/share/applnk (I suppose to tell it which browser
|
||||
# to use), but this dir is empty on modern Slackware.
|
||||
|
||||
# The version number doesn't appear in the tarball filename or the URL,
|
||||
# so be careful that $VERSION matches the actual version number (found
|
||||
# in Help/About)
|
||||
|
||||
PRGNAM=transcribe
|
||||
VERSION=${VERSION:-8.10.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
ARCH=i486
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
# The dist tarball's filename has no connection whatsoever to
|
||||
# the actual name of the program...
|
||||
TARNAME=xscsetup.tar.gz
|
||||
|
||||
# No LIBDIRSUFFIX stuff here, it's a 32-bit-only app. Also, the
|
||||
# binary is already stripped.
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM
|
||||
tar xvf $CWD/$TARNAME
|
||||
cd $PRGNAM
|
||||
|
||||
mkdir -p $PKG/usr/lib/$PRGNAM \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION \
|
||||
$PKG/usr/bin \
|
||||
$PKG/install \
|
||||
$PKG/usr/share/applications \
|
||||
$PKG/usr/share/pixmaps
|
||||
|
||||
install -oroot -groot -m0755 $PRGNAM $PKG/usr/lib/$PRGNAM/
|
||||
install -oroot -groot -m0644 xschelp.htb $PKG/usr/lib/$PRGNAM/
|
||||
install -oroot -groot -m0644 readme_gtk.html $PKG/usr/doc/$PRGNAM-$VERSION/
|
||||
install -oroot -groot -m0644 gtkicons/xsc128x128.png $PKG/usr/share/pixmaps/
|
||||
install -oroot -groot -m0755 $CWD/$PRGNAM.sh $PKG/usr/bin/$PRGNAM
|
||||
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
|
||||
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:-tgz}
|
8
audio/transcribe/transcribe.desktop
Normal file
8
audio/transcribe/transcribe.desktop
Normal file
|
@ -0,0 +1,8 @@
|
|||
[Desktop Entry]
|
||||
Name=Transcribe!
|
||||
GenericName=Music Transcriber
|
||||
Type=Application
|
||||
Icon=/usr/share/pixmaps/xsc128x128.png
|
||||
Exec=transcribe
|
||||
Terminal=false
|
||||
Categories=AudioVideo;X-Sound;Audio;
|
10
audio/transcribe/transcribe.info
Normal file
10
audio/transcribe/transcribe.info
Normal file
|
@ -0,0 +1,10 @@
|
|||
PRGNAM="transcribe"
|
||||
VERSION="8.10.0"
|
||||
HOMEPAGE="http://www.seventhstring.com/"
|
||||
DOWNLOAD="http://www.seventhstring.com/xscribe/xscsetup.tar.gz"
|
||||
MD5SUM="ce8a9bdbb88351b4be78f3972837a781"
|
||||
DOWNLOAD_x86_64="UNSUPPORTED"
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="B. Watson"
|
||||
EMAIL="yalhcru@gmail.com"
|
||||
APPROVED="Niels Horn"
|
15
audio/transcribe/transcribe.sh
Normal file
15
audio/transcribe/transcribe.sh
Normal file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
# wrapper script for Transcribe! binary
|
||||
# by B. Watson
|
||||
# part of the slackbuilds.org project
|
||||
|
||||
set -e
|
||||
|
||||
# This lets us call the script with relative pathnames:
|
||||
if [ -n "$1" ]; then
|
||||
arg="`readlink -f "$1"`"
|
||||
fi
|
||||
|
||||
cd /usr/lib/transcribe
|
||||
exec ./transcribe "$arg"
|
Loading…
Reference in a new issue