summaryrefslogtreecommitdiffstats
path: root/audio/tta
diff options
context:
space:
mode:
Diffstat (limited to 'audio/tta')
-rw-r--r--audio/tta/slack-desc2
-rw-r--r--audio/tta/tta.SlackBuild18
-rw-r--r--audio/tta/tta.info6
3 files changed, 13 insertions, 13 deletions
diff --git a/audio/tta/slack-desc b/audio/tta/slack-desc
index ab9c19107f..2f25f57b14 100644
--- a/audio/tta/slack-desc
+++ b/audio/tta/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-tta: tta (TTA lossless audio codec)
+tta: tta (TTA lossless audio codec written in C)
tta:
tta: TTA is a lossless compressor for multichannel 8,16 and 24 bits audio
tta: data, with the ability of password data protection. Being 'lossless'
diff --git a/audio/tta/tta.SlackBuild b/audio/tta/tta.SlackBuild
index 106bc3cfac..a6300e006f 100644
--- a/audio/tta/tta.SlackBuild
+++ b/audio/tta/tta.SlackBuild
@@ -1,7 +1,9 @@
#!/bin/bash
-#
+
# Slackware build script for tta.
#
+# Copyright 2022 Dave Woodfall <dave@slackbuilds.org>
+#
# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
@@ -29,7 +31,7 @@ VERSION=${VERSION:-2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM="libtta-cpp"
+SRCNAM="libtta-c"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -82,7 +84,6 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -94,14 +95,13 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+rm -fv $PKG/usr/lib64/libtta.a
+rmdir -v $PKG/usr/lib64
+strip --strip-unneeded $PKG/usr/bin/tta
-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
-
-DOCS="COPYING README"
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-SlackBuild
+cp -a COPYING README $DOCS $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
diff --git a/audio/tta/tta.info b/audio/tta/tta.info
index f793c55420..37abbdbfae 100644
--- a/audio/tta/tta.info
+++ b/audio/tta/tta.info
@@ -1,8 +1,8 @@
PRGNAM="tta"
VERSION="2.3"
-HOMEPAGE="http://en.true-audio.com/"
-DOWNLOAD="http://sourceforge.net/projects/tta/files/tta/libtta++/libtta-cpp-2.3.tar.gz"
-MD5SUM="c0b934e854fef32dc8578241e7b233b3"
+HOMEPAGE="http://tausoft.org/wiki/tta"
+DOWNLOAD="http://sourceforge.net/projects/tta/files/tta/libtta/libtta-c-2.3.tar.gz"
+MD5SUM="fd0ff4806b2badfe933adf87efbfc3ae"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""