summaryrefslogtreecommitdiffstats
path: root/multimedia/tovid
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/tovid')
-rw-r--r--multimedia/tovid/README7
-rw-r--r--multimedia/tovid/tovid.SlackBuild18
-rw-r--r--multimedia/tovid/tovid.info6
3 files changed, 21 insertions, 10 deletions
diff --git a/multimedia/tovid/README b/multimedia/tovid/README
index e276985b80..ea6cc0aa07 100644
--- a/multimedia/tovid/README
+++ b/multimedia/tovid/README
@@ -1,6 +1,7 @@
-tovid is a collection of GPL video disc authoring tools; it can help you
-create your own DVDs, VCDs, and SVCDs for playback on your home DVD player.
-The CLI scripts are particularly handy for automating disc creation.
+tovid is a collection of GPL video disc authoring tools; it can help
+you create your own DVDs, VCDs, and SVCDs for playback on your home
+DVD player. The CLI scripts are particularly handy for automating
+disc creation.
transcode is a recommended, optional dependency.
txt2tags is only needed to build man pages from git/svn sources.
diff --git a/multimedia/tovid/tovid.SlackBuild b/multimedia/tovid/tovid.SlackBuild
index aa288025e6..90af1f54c5 100644
--- a/multimedia/tovid/tovid.SlackBuild
+++ b/multimedia/tovid/tovid.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware Build script for tovid by eviljames
@@ -17,20 +17,30 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tovid
VERSION=${VERSION:-0.35.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# 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}
@@ -69,4 +79,4 @@ 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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/multimedia/tovid/tovid.info b/multimedia/tovid/tovid.info
index 22793f52dc..1a1e7e195a 100644
--- a/multimedia/tovid/tovid.info
+++ b/multimedia/tovid/tovid.info
@@ -1,10 +1,10 @@
PRGNAM="tovid"
VERSION="0.35.2"
-HOMEPAGE="http://tovid.wikia.com/wiki/Tovid_Wiki"
+HOMEPAGE="https://github.com/tovid-suite/tovid"
DOWNLOAD="https://github.com/tovid-suite/tovid/releases/download/0.35.2/tovid-0.35.2.tar.gz"
MD5SUM="5173a25e2de43ca512d038605ce271ba"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="dvdauthor ffmpeg mjpegtools"
+REQUIRES="mjpegtools"
MAINTAINER="Edward W. Koenig"
-EMAIL="kingbeowulf@gmail.com"
+EMAIL="kingbeowulf@linuxgalaxy.org"