revision bump to fix bug 95727
authorSimon Stelling <blubb@gentoo.org>
Sat, 8 Oct 2005 10:59:10 +0000 (10:59 +0000)
committerSimon Stelling <blubb@gentoo.org>
Sat, 8 Oct 2005 10:59:10 +0000 (10:59 +0000)
Package-Manager: portage-2.0.51.22-r3

media-sound/gramofile/ChangeLog
media-sound/gramofile/Manifest
media-sound/gramofile/files/digest-gramofile-1.6-r1 [new file with mode: 0644]
media-sound/gramofile/files/gramofile-1.6-64bit.patch [new file with mode: 0644]
media-sound/gramofile/gramofile-1.6-r1.ebuild [new file with mode: 0644]

index d1bb02d8b4c6ca3b383c95aad6cdae694beec0de..9e3ed5ae337182df3293c576d692f565b4333e33 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for media-sound/gramofile
 # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gramofile/ChangeLog,v 1.11 2005/07/25 12:37:29 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gramofile/ChangeLog,v 1.12 2005/10/08 10:59:10 blubb Exp $
+
+*gramofile-1.6-r1 (08 Oct 2005)
+
+  08 Oct 2005; Simon Stelling <blubb@gentoo.org>
+  +files/gramofile-1.6-64bit.patch, +gramofile-1.6-r1.ebuild:
+  revision bump to fix bug 95727
 
   25 Jul 2005; David Holm <dholm@gentoo.org> gramofile-1.6.ebuild:
   Added to ~ppc.
index 5332af378bb74475cdc1ca8f2761e240403f273d..b60c5e20348959a711d55aa8c1178f333be5b63d 100644 (file)
@@ -1,4 +1,7 @@
-MD5 ba2821d7ce3b29f03791cfb0d0a79736 ChangeLog 1215
-MD5 a72455a7fd09563b0dd7d46e71d859d1 gramofile-1.6.ebuild 1145
+MD5 b75a25622e0a19865c7e963eff34a49d ChangeLog 1393
 MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
+MD5 dd83a3fb7795e208d9f4eb892de33eb0 gramofile-1.6-r1.ebuild 1187
+MD5 a72455a7fd09563b0dd7d46e71d859d1 gramofile-1.6.ebuild 1145
 MD5 9b67a0ae80d507fff7c72c73a58c9506 files/digest-gramofile-1.6 180
+MD5 40aee998927430b81f1b483ccaed615c files/gramofile-1.6-64bit.patch 1332
+MD5 9b67a0ae80d507fff7c72c73a58c9506 files/digest-gramofile-1.6-r1 180
diff --git a/media-sound/gramofile/files/digest-gramofile-1.6-r1 b/media-sound/gramofile/files/digest-gramofile-1.6-r1
new file mode 100644 (file)
index 0000000..42ed41e
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 986c86c6fa17c064bc17c2936cc833e0 gramofile-1.6.tar.gz 108596
+MD5 6e38044d77f8e4d63dfd7e0b441cf39f tappin3a.patch 1593
+MD5 8b21276b022d4e0ed224be9eb0181391 tappin3b.patch 40893
diff --git a/media-sound/gramofile/files/gramofile-1.6-64bit.patch b/media-sound/gramofile/files/gramofile-1.6-64bit.patch
new file mode 100644 (file)
index 0000000..6d127ae
--- /dev/null
@@ -0,0 +1,41 @@
+--- fmtheaders.h.old   2005-10-08 12:40:53.000000000 +0200
++++ fmtheaders.h       2005-10-08 12:41:38.000000000 +0200
+@@ -2,6 +2,7 @@
+ #define _FMTHEADERS_H 1
+ 
+ #include <sys/types.h>
++#include <asm/types.h>
+ 
+ /* Definitions for .VOC files */
+ 
+@@ -62,21 +63,21 @@
+  */
+ typedef struct wavhead
+   {
+-    u_long main_chunk;                /* 'RIFF' */
+-    u_long length;            /* Length of rest of file */
+-    u_long chunk_type;                /* 'WAVE' */
++    __u32 main_chunk;         /* 'RIFF' */
++    __u32 length;             /* Length of rest of file */
++    __u32 chunk_type;         /* 'WAVE' */
+ 
+-    u_long sub_chunk;         /* 'fmt ' */
+-    u_long sc_len;            /* length of sub_chunk, =16 (rest of chunk) */
++    __u32 sub_chunk;          /* 'fmt ' */
++    __u32 sc_len;             /* length of sub_chunk, =16 (rest of chunk) */
+     u_short format;           /* should be 1 for PCM-code */
+     u_short modus;            /* 1 Mono, 2 Stereo */
+-    u_long sample_fq;         /* frequence of sample */
+-    u_long byte_p_sec;
++    __u32 sample_fq;          /* frequence of sample */
++    __u32 byte_p_sec;
+     u_short byte_p_spl;               /* samplesize; 1 or 2 bytes */
+     u_short bit_p_spl;                /* 8, 12 or 16 bit */
+ 
+-    u_long data_chunk;                /* 'data' */
+-    u_long data_length;               /* samplecount (lenth of rest of block?) */
++    __u32 data_chunk;         /* 'data' */
++    __u32 data_length;                /* samplecount (lenth of rest of block?) */
+   }
+ wavhead;
+ 
diff --git a/media-sound/gramofile/gramofile-1.6-r1.ebuild b/media-sound/gramofile/gramofile-1.6-r1.ebuild
new file mode 100644 (file)
index 0000000..6a14b14
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gramofile/gramofile-1.6-r1.ebuild,v 1.1 2005/10/08 10:59:10 blubb Exp $
+
+inherit eutils
+
+DESCRIPTION="Gramofile is an audio recording/editing program whose main goal is to allow recording of analog audio for digital remastering."
+HOMEPAGE="http://panic.et.tudelft.nl/~costar/gramofile/"
+SRC_URI="http://panic.et.tudelft.nl/~costar/gramofile/${P}.tar.gz
+       http://panic.et.tudelft.nl/~costar/gramofile/tappin3a.patch
+       http://panic.et.tudelft.nl/~costar/gramofile/tappin3b.patch"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses \
+       =sci-libs/fftw-2*"
+
+src_unpack() {
+       unpack ${P}.tar.gz
+       cd ${S}
+       epatch ${DISTDIR}/tappin3a.patch
+       epatch ${DISTDIR}/tappin3b.patch
+       epatch ${FILESDIR}/${P}-64bit.patch
+}
+
+src_compile() {
+       sed -i -e "s/CFLAGS = -Wall -O2 -DTURBO_MEDIAN -DTURBO_BUFFER/CFLAGS \= -Wall `echo ${CFLAGS}` -DTURBO_MEDIAN -DTURBO_BUFFER/" Makefile
+       make || die
+}
+
+src_install() {
+       dobin gramofile bplay_gramo brec_gramo
+       dodoc Signproc.txt  Tracksplit2.txt README ChangeLog TODO
+}