summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2015-09-14 07:19:58 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-16 12:23:22 +0700
commitba634ad76f5b041756801cb4a72e79a75fc77979 (patch)
treead9fe5cb35fd159ee3872007f14b97716e762638 /audio
parent7e7e7d37a884e3cafdf38a5c4f1e4fcecf79cb64 (diff)
downloadslackbuilds-ba634ad76f5b041756801cb4a72e79a75fc77979.tar.gz
audio/ttaenc: Updated for version 3.4.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/ttaenc/README22
-rw-r--r--audio/ttaenc/slack-desc10
-rw-r--r--audio/ttaenc/ttaenc.SlackBuild30
-rw-r--r--audio/ttaenc/ttaenc.info8
4 files changed, 23 insertions, 47 deletions
diff --git a/audio/ttaenc/README b/audio/ttaenc/README
index a41df46803..d9b9d9bf0f 100644
--- a/audio/ttaenc/README
+++ b/audio/ttaenc/README
@@ -1,19 +1,9 @@
ttaenc (TTA1 lossless audio encoder/decoder)
-ttaenc is TrueAudio lossless compressor for multichannel 8,16 and 24 bits audio data.
-This package contains a full-futured codec library for realtime encoding and decoding of True Audio (TTA) files.
+TTA performs lossless compression on multichannel 8,16 and 24 bits data of the Wav audio files.
+Being "lossless" means that no data-quality is lost in the compression - when uncompressed,
+the data will be identical to the original. The compression ratios of TTA depend on the type of
+music file being compressed, but the compression size will generally range between 30% - 70% of
+the original. TTA format supports both of ID3v1/v2 and APEv2 tags.
-True Audio compresses up to 30% of the original, broadly similar to FLAC and APE.
-It features a real-time encoding and decoding algorithm and hardware compression support.
-As with most other lossless codecs, plugins are available for most media players.
-
-TTA performs lossless compression on multichannel 8, 16 and 24 bit data of uncompressed wav input files.
-The term "lossless" refers to the fact that such compression results in no data or quality loss;
-when decompressed, the audio file data are bit-identical to those of their originals.
-Compression ratios achieved by the TTA codec vary, depending on music type, but range from 30% to 70% of the original.
-The TTA lossless compressed audio format supports both ID3v1/ID3v2 information tags and APEv2.
-
-The TTA lossless audio codec allows for the storage of up to 20 audio CDs worth of music on a single DVD-R,
-retaining the original CD quality audio, plus detailed information in the ID3 tag format.
-
-All TTA source code and binaries are freely available and distributed under GPL Open Source licenses.
+This package can coexist with "tta", also available in SlackBuilds.
diff --git a/audio/ttaenc/slack-desc b/audio/ttaenc/slack-desc
index 50f208264e..10fd45479b 100644
--- a/audio/ttaenc/slack-desc
+++ b/audio/ttaenc/slack-desc
@@ -6,13 +6,13 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-ttaenc: ttaenc (TTA1 lossless audio encoder/decoder)
+ttaenc: ttaenc (TTA Lossless Audio compressor)
ttaenc:
-ttaenc: ttaenc is TrueAudio lossless compressor for multichannel 8,16 and
-ttaenc: 24 bits audio data. This package contains a full-futured codec
-ttaenc: library for realtime encoding and decoding of True Audio (TTA) files.
+ttaenc: TTA performs lossless compression on multichannel 8,16 and 24 bits
+ttaenc: data of the Wav audio files.
+ttaenc:
+ttaenc: Home Page: http://en.true-audio.com/Free_Downloads/
ttaenc:
-ttaenc: Home Page: http://en.true-audio.com/
ttaenc:
ttaenc:
ttaenc:
diff --git a/audio/ttaenc/ttaenc.SlackBuild b/audio/ttaenc/ttaenc.SlackBuild
index 166e66fbd2..cd7728c30c 100644
--- a/audio/ttaenc/ttaenc.SlackBuild
+++ b/audio/ttaenc/ttaenc.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ttaenc
-VERSION=${VERSION:-2.3}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.4.1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -56,14 +56,12 @@ fi
set -e
-SRCNAM="libtta-cpp"
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-mv $SRCNAM-$VERSION $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tgz
+mv $PRGNAM-$VERSION-bin $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -72,26 +70,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
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"
+install -d $PKG/usr/bin
+install -D -m755 ttaenc $PKG/usr/bin/ttaenc
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ChangeLog-3.4.1 COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-SlackBuild
mkdir -p $PKG/install
diff --git a/audio/ttaenc/ttaenc.info b/audio/ttaenc/ttaenc.info
index 1b52f45988..bb8cb6009d 100644
--- a/audio/ttaenc/ttaenc.info
+++ b/audio/ttaenc/ttaenc.info
@@ -1,8 +1,8 @@
PRGNAM="ttaenc"
-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"
+VERSION="3.4.1"
+HOMEPAGE="http://en.true-audio.com/Free_Downloads/"
+DOWNLOAD="http://sourceforge.net/projects/tta/files/tta/ttaenc-linux/ttaenc-3.4.1.tgz"
+MD5SUM="0a493e4e4f7a7b83d59c83573f01f0b5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""