summaryrefslogtreecommitdiff
path: root/audio/gogo
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-08-13 19:01:53 +0000
committerwiz <wiz@pkgsrc.org>2000-08-13 19:01:53 +0000
commitac5ff968e31f133f104333f077bb4ff5b01231f8 (patch)
treee847dd27ba8e0eebbef6f9e05960ef4daef4fa28 /audio/gogo
parent973f8a56cffa24ac481aac8933a71948648e8afa (diff)
downloadpkgsrc-ac5ff968e31f133f104333f077bb4ff5b01231f8.tar.gz
Initial import of gogo-2.35, an i386-only assembly optimized MP3
encoder based on LAME. Inspired by pkg/10823 by Philipp Huber.
Diffstat (limited to 'audio/gogo')
-rw-r--r--audio/gogo/Makefile32
-rw-r--r--audio/gogo/files/md53
-rw-r--r--audio/gogo/files/patch-sum4
-rw-r--r--audio/gogo/patches/patch-aa13
-rw-r--r--audio/gogo/patches/patch-ab14
-rw-r--r--audio/gogo/pkg/COMMENT1
-rw-r--r--audio/gogo/pkg/DESCR2
-rw-r--r--audio/gogo/pkg/PLIST6
8 files changed, 75 insertions, 0 deletions
diff --git a/audio/gogo/Makefile b/audio/gogo/Makefile
new file mode 100644
index 00000000000..4ccb4d6bbc4
--- /dev/null
+++ b/audio/gogo/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/08/13 19:01:53 wiz Exp $
+#
+
+DISTNAME= gogo235
+PKGNAME= gogo-2.35
+CATEGORIES= audio
+MASTER_SITES= http://homepage1.nifty.com/herumi/soft/gogo2/src/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= uebs@gmx.at
+HOMEPAGE= http://homepage1.nifty.com/herumi/gogo_e.html
+
+BUILD_DEPENDS+= nasm:../../devel/nasm
+
+ONLY_FOR_PLATFORM= *-*-i386
+
+USE_GMAKE= YES
+MIRROR_DISTFILE= NO
+LICENSE= fee-based-commercial-use
+
+do-install:
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/gogo ${PREFIX}/bin
+ @ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gogo
+ @ ${INSTALL_DATA} ${WRKSRC}/readme*.txt ${PREFIX}/share/doc/gogo
+
+.include "../../mk/bsd.pkg.mk"
+
+.if (${OBJECT_FMT} == "a.out")
+MAKE_FLAGS+= ASFLAGS="-f aoutb -D__unix__ -DAOUT ${E3DN}"
+.else
+MAKE_FLAGS+= ASFLAGS="-f elf -D__unix__ ${E3DN}"
+.endif
diff --git a/audio/gogo/files/md5 b/audio/gogo/files/md5
new file mode 100644
index 00000000000..2974dd8c84e
--- /dev/null
+++ b/audio/gogo/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/08/13 19:01:53 wiz Exp $
+
+MD5 (gogo235.tgz) = caaab77a8711e7cfc375bef1339beb5b
diff --git a/audio/gogo/files/patch-sum b/audio/gogo/files/patch-sum
new file mode 100644
index 00000000000..98d9e16f348
--- /dev/null
+++ b/audio/gogo/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/08/13 19:01:53 wiz Exp $
+
+MD5 (patch-aa) = a3c066840007a83c64101caa29422532
+MD5 (patch-ab) = d55797479b7985bca9410e7505e13f88
diff --git a/audio/gogo/patches/patch-aa b/audio/gogo/patches/patch-aa
new file mode 100644
index 00000000000..d2ef389a568
--- /dev/null
+++ b/audio/gogo/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/08/13 19:01:53 wiz Exp $
+
+--- Makefile.orig Fri Apr 28 06:11:32 2000
++++ Makefile Sun Aug 13 03:56:27 2000
+@@ -81,7 +81,7 @@
+ AS=nasm
+
+ #if Borland C++ then add -D__BORLANDC__ to ASFLAGS
+-ASFLAGS=-f elf -D__unix__ $(E3DN)
++#ASFLAGS=-f elf -D__unix__ $(E3DN)
+ #if FreeBSD 2.x then
+ #ASFLAGS = -f aoutb -D__unix__ -DAOUT
+
diff --git a/audio/gogo/patches/patch-ab b/audio/gogo/patches/patch-ab
new file mode 100644
index 00000000000..edd8361fb3d
--- /dev/null
+++ b/audio/gogo/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/08/13 19:01:53 wiz Exp $
+
+--- align.nas.orig Tue Apr 18 12:48:25 2000
++++ align.nas Sun Aug 13 03:57:29 2000
+@@ -14,7 +14,8 @@
+ globaldef l3_sb_sample
+
+ segment_data
+- segment_bss align=32 ;delete `align=32' if linker puts err.
++; segment_bss align=32 ;delete `align=32' if linker puts err.
++ segment_bss
+ align 32
+ l3_sb_sample resd 2*3*18*32 ;align32 for SSE
+ Amfbuf resd 2*(1152+576+56) ;56=EXTRADELAY define in musenc.c
diff --git a/audio/gogo/pkg/COMMENT b/audio/gogo/pkg/COMMENT
new file mode 100644
index 00000000000..d6c578932cc
--- /dev/null
+++ b/audio/gogo/pkg/COMMENT
@@ -0,0 +1 @@
+very fast lame-based mp3 encoder, i386 only
diff --git a/audio/gogo/pkg/DESCR b/audio/gogo/pkg/DESCR
new file mode 100644
index 00000000000..47ddc771c8e
--- /dev/null
+++ b/audio/gogo/pkg/DESCR
@@ -0,0 +1,2 @@
+This is gogo, a very fast mp3 encoder based on the lame-encoder.
+Its core parts have been rewritten in x86-assembler.
diff --git a/audio/gogo/pkg/PLIST b/audio/gogo/pkg/PLIST
new file mode 100644
index 00000000000..54248bcc075
--- /dev/null
+++ b/audio/gogo/pkg/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/08/13 19:01:53 wiz Exp $
+bin/gogo
+share/doc/gogo/readme.txt
+share/doc/gogo/readme_e.txt
+share/doc/gogo/readme_g.txt
+@dirrm share/doc/gogo