summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-08-05 11:41:21 +0000
committerSamuli Suominen <drac@gentoo.org>2007-08-05 11:41:21 +0000
commit91a848482150eb083967b9f55b92877dcea2378e (patch)
treeee1afb5bf36ce36ee0013550c8c6aa6fd5a56642 /media-sound/ttaenc
parentStable on ppc wrt bug 187800 (diff)
downloadgentoo-2-91a848482150eb083967b9f55b92877dcea2378e.tar.gz
gentoo-2-91a848482150eb083967b9f55b92877dcea2378e.tar.bz2
gentoo-2-91a848482150eb083967b9f55b92877dcea2378e.zip
Version bump for bug 187802, thanks to Sergey D. for reporting.
(Portage version: 2.1.3.3)
Diffstat (limited to 'media-sound/ttaenc')
-rw-r--r--media-sound/ttaenc/ChangeLog7
-rw-r--r--media-sound/ttaenc/files/digest-ttaenc-3.33
-rw-r--r--media-sound/ttaenc/files/digest-ttaenc-3.4.13
-rw-r--r--media-sound/ttaenc/files/ttaenc-3.3-cflags.patch11
-rw-r--r--media-sound/ttaenc/files/ttaenc-3.3-warnings.patch49
-rw-r--r--media-sound/ttaenc/ttaenc-3.4.1.ebuild (renamed from media-sound/ttaenc/ttaenc-3.3.ebuild)18
6 files changed, 18 insertions, 73 deletions
diff --git a/media-sound/ttaenc/ChangeLog b/media-sound/ttaenc/ChangeLog
index 44234cbf415b..4fc86f38a6ef 100644
--- a/media-sound/ttaenc/ChangeLog
+++ b/media-sound/ttaenc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/ttaenc
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/ttaenc/ChangeLog,v 1.1 2007/04/22 11:02:07 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/ttaenc/ChangeLog,v 1.2 2007/08/05 11:41:21 drac Exp $
+
+*ttaenc-3.4.1 (05 Aug 2007)
+
+ 05 Aug 2007; Samuli Suominen <drac@gentoo.org> +ttaenc-3.4.1.ebuild:
+ Version bump for bug 187802, thanks to Sergey D. for reporting.
*ttaenc-3.3 (22 Apr 2007)
diff --git a/media-sound/ttaenc/files/digest-ttaenc-3.3 b/media-sound/ttaenc/files/digest-ttaenc-3.3
deleted file mode 100644
index 46828242851e..000000000000
--- a/media-sound/ttaenc/files/digest-ttaenc-3.3
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 074031c89233cb6956947c18c43ad7f7 ttaenc-3.3-src.zip 24092
-RMD160 2d3f4c6575852529a9d161ee92a0b9875bc8475b ttaenc-3.3-src.zip 24092
-SHA256 66461407b7494ff37b86127628086f95676fbf227f039e84d93f234ac5cd4c5b ttaenc-3.3-src.zip 24092
diff --git a/media-sound/ttaenc/files/digest-ttaenc-3.4.1 b/media-sound/ttaenc/files/digest-ttaenc-3.4.1
new file mode 100644
index 000000000000..4213e77f6759
--- /dev/null
+++ b/media-sound/ttaenc/files/digest-ttaenc-3.4.1
@@ -0,0 +1,3 @@
+MD5 c9ab8194984b34e7f7bf55d579c97f39 ttaenc-3.4.1-src.tgz 20835
+RMD160 4ab9d03eaefc392b36295c6da7cea7edef588d33 ttaenc-3.4.1-src.tgz 20835
+SHA256 b2c9c8b015acc5864f082a0157f2e09c5117d1445321cb6178e925b448be3dc6 ttaenc-3.4.1-src.tgz 20835
diff --git a/media-sound/ttaenc/files/ttaenc-3.3-cflags.patch b/media-sound/ttaenc/files/ttaenc-3.3-cflags.patch
deleted file mode 100644
index 3de56ea2af18..000000000000
--- a/media-sound/ttaenc/files/ttaenc-3.3-cflags.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.orig 2007-04-21 21:07:25.000000000 +0100
-+++ Makefile 2007-04-21 21:07:40.000000000 +0100
-@@ -2,7 +2,7 @@
- # $Id: ttaenc-3.3-cflags.patch,v 1.1 2007/04/22 11:02:07 drac Exp $
- #
-
--CFLAGS = -Wall -O2 -funroll-loops -fomit-frame-pointer
-+CFLAGS += -Wall -O2
- LIBS = -lm
- TTAENC = ttaenc
- INSDIR = /usr/local/bin
diff --git a/media-sound/ttaenc/files/ttaenc-3.3-warnings.patch b/media-sound/ttaenc/files/ttaenc-3.3-warnings.patch
deleted file mode 100644
index 515ed2693985..000000000000
--- a/media-sound/ttaenc/files/ttaenc-3.3-warnings.patch
+++ /dev/null
@@ -1,49 +0,0 @@
---- ttaenc.c.orig 2007-04-21 21:26:53.000000000 +0100
-+++ ttaenc.c 2007-04-21 21:28:38.000000000 +0100
-@@ -641,7 +641,7 @@
-
- // grab some space for an encoder buffers
- data = (long *) tta_malloc(num_chan * framelen, sizeof(long));
-- st = seek_table = (long *) tta_malloc(st_size, sizeof(long));
-+ st = seek_table = (unsigned long *) tta_malloc(st_size, sizeof(long));
- enc = tta = tta_malloc(num_chan, sizeof(encoder));
-
- // write TTA header
-@@ -770,7 +770,7 @@
- unsigned long byte_size, data_size, checksum, errors;
- unsigned long framelen, lastlen, fframes;
- unsigned long framesize, st_size, *st;
-- char *data;
-+ unsigned char *data;
-
- // print process banner
- fwprintf(stderr, L"Test: processing ..\r");
-@@ -833,8 +833,8 @@
- st_size = (fframes + 1);
-
- // grab some space for a buffer
-- data = (char *) tta_malloc(framesize, 1);
-- seek_table = (long *) tta_malloc(st_size, sizeof(long));
-+ data = (unsigned char *) tta_malloc(framesize, 1);
-+ seek_table = (unsigned long *) tta_malloc(st_size, sizeof(long));
-
- // read seek table
- if (fread(seek_table, st_size, sizeof(long), fdin) == 0)
-@@ -890,7 +890,7 @@
- long *p, *data, value;
- unsigned long num_chan, byte_size, data_size, checksum;
- unsigned long k, depth, framelen, lastlen, fframes;
-- unsigned long unary, binary, st_size, st_state, *st;
-+ unsigned long unary, binary = 0, st_size, st_state, *st;
- unsigned long is_float, def_subchunk_size = 16;
- encoder *tta, *enc;
- time_t stime = time(NULL);
-@@ -982,7 +982,7 @@
- // grab some space for a buffer
- data = (long *) tta_malloc(num_chan * framelen, sizeof(long));
- enc = tta = tta_malloc(num_chan, sizeof(encoder));
-- seek_table = (long *) tta_malloc(st_size, sizeof(long));
-+ seek_table = (unsigned long *) tta_malloc(st_size, sizeof(long));
-
- // read seek table
- if (fread(seek_table, st_size, sizeof(long), fdin) == 0)
diff --git a/media-sound/ttaenc/ttaenc-3.3.ebuild b/media-sound/ttaenc/ttaenc-3.4.1.ebuild
index 8cd7d90f30e6..0dadd733be2e 100644
--- a/media-sound/ttaenc/ttaenc-3.3.ebuild
+++ b/media-sound/ttaenc/ttaenc-3.4.1.ebuild
@@ -1,34 +1,34 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/ttaenc/ttaenc-3.3.ebuild,v 1.3 2007/04/22 11:06:59 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/ttaenc/ttaenc-3.4.1.ebuild,v 1.1 2007/08/05 11:41:21 drac Exp $
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
DESCRIPTION="True Audio Compressor Software"
HOMEPAGE="http://tta.sourceforge.net"
-SRC_URI="mirror://sourceforge/tta/${P}-src.zip"
+SRC_URI="mirror://sourceforge/tta/${P}-src.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
+IUSE=""
-DEPEND="app-arch/unzip"
+RDEPEND=""
+DEPEND="sys-apps/sed"
-S="${WORKDIR}"
+S="${WORKDIR}"/${P}-src
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}"/${P}-cflags.patch
- epatch "${FILESDIR}"/${P}-warnings.patch
sed -i -e "s:gcc:$(tc-getCC):g" Makefile
}
src_compile () {
- emake || die "emake failed."
+ emake CFLAGS="${CFLAGS}" || die "emake failed."
}
src_install () {
dobin ttaenc
- dodoc Readme
+ dodoc ChangeLog-${PV} README
}