add bladeenc port
- Blade's MP3 Encoder (BladeEnc) is a freeware MP3 encoder. It is based on the same ISO compression routines as mpegEnc, so you can expect roughly the same, or better, quality. The main difference is the appearance and speed. BladeEnc doesn't have a nice, user-friendly interface like mpegEnc, but it is more than three times faster, and it works with several popular front-end graphical user interfaces.
This commit is contained in:
parent
2bef60c727
commit
66013e6f0d
17
audio/bladeenc/Makefile
Normal file
17
audio/bladeenc/Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1999/08/02 05:15:46 brad Exp $
|
||||
|
||||
DISTNAME= bladeenc-084-src-unstable
|
||||
PKGNAME= bladeenc-0.84
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= http://home8.swipnet.se/~w-82625/encoder/source/
|
||||
|
||||
post-extract:
|
||||
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/share/doc/bladeenc
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bladeenc ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/bladeenc.html ${PREFIX}/share/doc/bladeenc
|
||||
|
||||
|
||||
.include <bsd.port.mk>
|
17
audio/bladeenc/files/Makefile
Normal file
17
audio/bladeenc/files/Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1999/08/02 05:15:46 brad Exp $
|
||||
|
||||
PROG= bladeenc
|
||||
MAN= # empty
|
||||
SRCS= codec.c bladesys.c bladtab.c main.c tables.c samplein.c \
|
||||
strupr.c formatbitstream2.c huffman.c l3bitstream.c l3psy.c \
|
||||
loop.c mdct.c reservoir.c subs.c encode.c common.c
|
||||
DPADD= ${LIBM}
|
||||
LDADD= -lm
|
||||
|
||||
DEFS=-DSYSTEM=OPENBSD -funroll-all-loops
|
||||
CFLAGS+= ${DEFS}
|
||||
|
||||
codec.o: codec.c
|
||||
${CC} -O ${DEFS} -c ${.IMPSRC}
|
||||
|
||||
.include <bsd.prog.mk>
|
3
audio/bladeenc/files/md5
Normal file
3
audio/bladeenc/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (bladeenc-084-src-unstable.tar.gz) = ab1c3b8c826bac4cc9b561966a8dc0ab
|
||||
RMD160 (bladeenc-084-src-unstable.tar.gz) = 54fe7a72ccec5fb943f9619ce62f88f30e84ae3e
|
||||
SHA1 (bladeenc-084-src-unstable.tar.gz) = e8facce6f6afb0420ce654276f878e396c9345fe
|
28
audio/bladeenc/patches/patch-aa
Normal file
28
audio/bladeenc/patches/patch-aa
Normal file
@ -0,0 +1,28 @@
|
||||
--- system.h.orig Sun Aug 1 23:52:57 1999
|
||||
+++ system.h Sun Aug 1 23:55:08 1999
|
||||
@@ -31,6 +31,7 @@
|
||||
#define SCO5 10
|
||||
#define ULTRIX 11
|
||||
#define NETBSD 12
|
||||
+#define OPENBSD 13
|
||||
|
||||
|
||||
#ifndef SYSTEM
|
||||
@@ -211,7 +212,17 @@
|
||||
#define HAVE_ULONG
|
||||
#endif
|
||||
|
||||
+/*____ NetBSD defines ________________________________________________________*/
|
||||
+
|
||||
+#if SYSTEM == OPENBSD
|
||||
|
||||
+ #include <machine/endian.h>
|
||||
+ #define BYTEORDER BYTE_ORDER
|
||||
+ #define DIRECTORY_SEPARATOR '/'
|
||||
+ #define HAVE_USHORT
|
||||
+ #define HAVE_UINT
|
||||
+ #define HAVE_ULONG
|
||||
+#endif
|
||||
|
||||
|
||||
/*____ To make sure that certain necessary defines are set... */
|
12
audio/bladeenc/patches/patch-ab
Normal file
12
audio/bladeenc/patches/patch-ab
Normal file
@ -0,0 +1,12 @@
|
||||
--- formatbitstream2.c.orig Fri Jul 2 00:11:23 1999
|
||||
+++ formatbitstream2.c Fri Jul 2 00:12:21 1999
|
||||
@@ -17,7 +17,9 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#if !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
|
||||
#include <malloc.h>
|
||||
+#endif
|
||||
#include "formatbitstream2.h"
|
||||
#include "common.h"
|
||||
|
1
audio/bladeenc/pkg/COMMENT
Normal file
1
audio/bladeenc/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
MP3 encoder
|
7
audio/bladeenc/pkg/DESCR
Normal file
7
audio/bladeenc/pkg/DESCR
Normal file
@ -0,0 +1,7 @@
|
||||
Blade's MP3 Encoder (BladeEnc) is a freeware MP3 encoder. It is
|
||||
based on the same ISO compression routines as mpegEnc, so you can
|
||||
expect roughly the same, or better, quality. The main difference
|
||||
is the appearance and speed. BladeEnc doesn't have a nice,
|
||||
user-friendly interface like mpegEnc, but it is more than three
|
||||
times faster, and it works with several popular front-end graphical
|
||||
user interfaces.
|
3
audio/bladeenc/pkg/PLIST
Normal file
3
audio/bladeenc/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
bin/bladeenc
|
||||
share/doc/bladeenc/bladeenc.html
|
||||
@dirrm share/doc/bladeenc
|
Loading…
Reference in New Issue
Block a user