summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-11-06 09:03:04 +0000
committerkrion <krion@FreeBSD.org>2003-11-06 09:03:04 +0000
commit20f61b37b3970eac163eb3727bf34f964fbb5791 (patch)
treea84febf29a27b88fef00bb99c3fb2bcb9951f99a /audio
parent041e2295becf1361eacc683a2ad74aa75693fd93 (diff)
downloadFreeBSD-ports-20f61b37b3970eac163eb3727bf34f964fbb5791.zip
FreeBSD-ports-20f61b37b3970eac163eb3727bf34f964fbb5791.tar.gz
GOGO-no-coda-petit is new variant of well-known GOGO-no-coda
mp3 encoder optimized with MMX, 3DNow!, Enhanced 3DNow! and SSE *** DO NOT OVERCLOCK YOUR CPUs *** GOGO heavily uses the part of processors that almost sleeps in usual, so makes them very hot even it runs standard clock. Overclocking may cause serious internal errors and crazy results. Or you need gigantic heatsink and extra-noisy fans. :-) Submitted by: Evgueni V. Gavrilov <aquatique@rusunix.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/gogo-petit/Makefile31
-rw-r--r--audio/gogo-petit/distinfo1
-rw-r--r--audio/gogo-petit/files/patch-Makefile.in15
-rw-r--r--audio/gogo-petit/files/patch-engine-common.h12
-rw-r--r--audio/gogo-petit/files/patch-main.c12
-rw-r--r--audio/gogo-petit/pkg-descr10
-rw-r--r--audio/gogo-petit/pkg-plist1
8 files changed, 83 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 4b414b4..cdc6dfa 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -111,6 +111,7 @@
SUBDIR += gnump3d
SUBDIR += gnupod
SUBDIR += gogo
+ SUBDIR += gogo-petit
SUBDIR += gqmpeg
SUBDIR += gqradio
SUBDIR += gramofile
diff --git a/audio/gogo-petit/Makefile b/audio/gogo-petit/Makefile
new file mode 100644
index 0000000..f139317
--- /dev/null
+++ b/audio/gogo-petit/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: GOGO-no-coda-petit
+# Date created: 06 November, 2003
+# Whom: Evgueni V. Gavrilov <aquatique@rusunix.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gogo
+PORTVERSION= 3.11
+CATEGORIES= audio
+MASTER_SITES= http://homepage1.nifty.com/herumi/soft/petit/ \
+ ftp://rusunix.org/pub/FreeBSD/distfiles/
+PKGNAMESUFFIX= petit
+DISTNAME= petit311p1
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= aquatique@rusunix.org
+COMMENT= New variant of well-known GOGO-no-coda mp3 encoder
+
+BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
+
+WRKSRC= ${WRKDIR}/petit
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CFLAGS+= ${PTHREAD_CFLAGS}
+CONFIGURE_ENV+= LIBS="${PTHREAD_LIBS}"
+
+ONLY_FOR_ARCHS= i386
+
+.include <bsd.port.mk>
diff --git a/audio/gogo-petit/distinfo b/audio/gogo-petit/distinfo
new file mode 100644
index 0000000..80803ec
--- /dev/null
+++ b/audio/gogo-petit/distinfo
@@ -0,0 +1 @@
+MD5 (petit311p1.tgz) = aaf9f56549985ef0a166213578954a90
diff --git a/audio/gogo-petit/files/patch-Makefile.in b/audio/gogo-petit/files/patch-Makefile.in
new file mode 100644
index 0000000..c1303a3
--- /dev/null
+++ b/audio/gogo-petit/files/patch-Makefile.in
@@ -0,0 +1,15 @@
+diff -ruN petit.orig/Makefile.in petit/Makefile.in
+--- Makefile.in.orig Fri Nov 22 15:54:18 2002
++++ Makefile.in Thu Nov 6 13:22:21 2003
+@@ -108,9 +108,8 @@
+ $(CC) $(OBJS) -o $@ $(LIBS)
+
+ install: $(TARGET)
+- $(INSTALL_PROGRAM) $< $(INSTDIR)/
+-
+-# $(STRIP) $(INSTDIR)/$(TARGET)
++ $(INSTALL_PROGRAM) $< $(PREFIX)/bin/gogo-petit
++ $(STRIP) $(PREFIX)/bin/gogo-petit
+
+ uninstall:
+ $(RM) $(INSTDIR)/$(TARGET)
diff --git a/audio/gogo-petit/files/patch-engine-common.h b/audio/gogo-petit/files/patch-engine-common.h
new file mode 100644
index 0000000..a51ff92
--- /dev/null
+++ b/audio/gogo-petit/files/patch-engine-common.h
@@ -0,0 +1,12 @@
+diff -ruN petit.orig/engine/common.h petit/engine/common.h
+--- engine/common.h.orig Sat Mar 16 16:19:29 2002
++++ engine/common.h Thu Nov 6 13:18:32 2003
+@@ -18,7 +18,7 @@
+ #endif
+
+ /* 全然一般的でない */
+-#if defined(WIN32) || defined(__linux__) || defined(DOS) || defined(_M_IX86) || defined(__os2__) || defined(_X86_)
++#if defined(WIN32) || defined(__linux__) || defined(DOS) || defined(_M_IX86) || defined(__os2__) || defined(_X86_) || defined(__FreeBSD__)
+ #define CPU_I386
+ #define MIE_LITTLE_ENDIAN
+ #elif define(__MWERKS__)
diff --git a/audio/gogo-petit/files/patch-main.c b/audio/gogo-petit/files/patch-main.c
new file mode 100644
index 0000000..cd67871
--- /dev/null
+++ b/audio/gogo-petit/files/patch-main.c
@@ -0,0 +1,12 @@
+diff -ruN petit.orig/main.c petit/main.c
+--- main.c.orig Sat Nov 23 19:32:22 2002
++++ main.c Thu Nov 6 13:21:06 2003
+@@ -9,7 +9,7 @@
+ #include <sys/time.h>
+ #include <signal.h>
+ #endif
+-#if defined(__linux__) || defined(__os2__)
++#if defined(__linux__) || defined(__os2__) || defined (__FreeBSD__)
+ # define min(x,y) (((x)<(y))?(x):(y))
+ # define max(x,y) (((x)>(y))?(x):(y))
+ #endif
diff --git a/audio/gogo-petit/pkg-descr b/audio/gogo-petit/pkg-descr
new file mode 100644
index 0000000..c99c10e
--- /dev/null
+++ b/audio/gogo-petit/pkg-descr
@@ -0,0 +1,10 @@
+GOGO-no-coda-petit is new variant of well-known GOGO-no-coda
+mp3 encoder optimized with MMX, 3DNow!, Enhanced 3DNow! and SSE
+
+*** DO NOT OVERCLOCK YOUR CPUs ***
+GOGO heavily uses the part of processors that almost sleeps in usual,
+so makes them very hot even it runs standard clock.
+Overclocking may cause serious internal errors and crazy results.
+Or you need gigantic heatsink and extra-noisy fans. :-)
+
+WWW: http://homepage1.nifty.com/herumi/gogo_e.html
diff --git a/audio/gogo-petit/pkg-plist b/audio/gogo-petit/pkg-plist
new file mode 100644
index 0000000..b320cca4
--- /dev/null
+++ b/audio/gogo-petit/pkg-plist
@@ -0,0 +1 @@
+bin/gogo-petit
OpenPOWER on IntegriCloud