aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/transcribe/README14
-rw-r--r--audio/transcribe/doinst.sh10
-rw-r--r--audio/transcribe/slack-desc19
-rw-r--r--audio/transcribe/transcribe.SlackBuild80
-rw-r--r--audio/transcribe/transcribe.desktop8
-rw-r--r--audio/transcribe/transcribe.info10
-rw-r--r--audio/transcribe/transcribe.sh15
7 files changed, 156 insertions, 0 deletions
diff --git a/audio/transcribe/README b/audio/transcribe/README
new file mode 100644
index 0000000000000..f1ec96d87dd57
--- /dev/null
+++ b/audio/transcribe/README
@@ -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)
diff --git a/audio/transcribe/doinst.sh b/audio/transcribe/doinst.sh
new file mode 100644
index 0000000000000..1f8ff67dedb29
--- /dev/null
+++ b/audio/transcribe/doinst.sh
@@ -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
+
diff --git a/audio/transcribe/slack-desc b/audio/transcribe/slack-desc
new file mode 100644
index 0000000000000..795a227e7fae6
--- /dev/null
+++ b/audio/transcribe/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 ':'.
+
+ |-----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:
diff --git a/audio/transcribe/transcribe.SlackBuild b/audio/transcribe/transcribe.SlackBuild
new file mode 100644
index 0000000000000..241deeec128b7
--- /dev/null
+++ b/audio/transcribe/transcribe.SlackBuild
@@ -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}
diff --git a/audio/transcribe/transcribe.desktop b/audio/transcribe/transcribe.desktop
new file mode 100644
index 0000000000000..dc46a478fc4c9
--- /dev/null
+++ b/audio/transcribe/transcribe.desktop
@@ -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;
diff --git a/audio/transcribe/transcribe.info b/audio/transcribe/transcribe.info
new file mode 100644
index 0000000000000..64955dc8b1415
--- /dev/null
+++ b/audio/transcribe/transcribe.info
@@ -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"
diff --git a/audio/transcribe/transcribe.sh b/audio/transcribe/transcribe.sh
new file mode 100644
index 0000000000000..a9e9d25678626
--- /dev/null
+++ b/audio/transcribe/transcribe.sh
@@ -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"