1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

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>
This commit is contained in:
Kirill Ponomarev 2003-11-06 09:03:04 +00:00
parent c3c8326e85
commit 81cfb0358e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93219
8 changed files with 83 additions and 0 deletions

View File

@ -111,6 +111,7 @@
SUBDIR += gnump3d
SUBDIR += gnupod
SUBDIR += gogo
SUBDIR += gogo-petit
SUBDIR += gqmpeg
SUBDIR += gqradio
SUBDIR += gramofile

31
audio/gogo-petit/Makefile Normal file
View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (petit311p1.tgz) = aaf9f56549985ef0a166213578954a90

View File

@ -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)

View File

@ -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
/* SRˆê”Ê“IÅÈ¢ */
-#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__)

View File

@ -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

View File

@ -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

View File

@ -0,0 +1 @@
bin/gogo-petit