Update to 1.0.4. Notable improvements:

- bug fixes for 24-bit handling
- x86 encoder and decoder speedups
- reduced memory requirements
This commit is contained in:
naddy 2002-10-31 21:15:08 +00:00
parent 5264e798a6
commit e97f7bc20c
8 changed files with 295 additions and 42 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.14 2002/07/07 19:09:28 naddy Exp $
# $OpenBSD: Makefile,v 1.15 2002/10/31 21:15:08 naddy Exp $
COMMENT= "free lossless audio codec"
DISTNAME= flac-1.0.3
DISTNAME= flac-1.0.4
CATEGORIES= audio archivers
HOMEPAGE= http://flac.sourceforge.net/
@ -15,18 +15,32 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=flac/}
LIB_DEPENDS= ogg.3::audio/libogg
MODULES= iconv
BUILD_DEPENDS= ::converters/libiconv:extract
LIB_DEPENDS= ogg.4::audio/libogg
.if ${MACHINE_ARCH} == "i386"
BUILD_DEPENDS+= ::devel/nasm
.endif
CONFIGURE_STYLE= gnu
# id3lib is only used by the XMMS plugin
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--with-ogg=${LOCALBASE} \
--enable-sse --enable-3dnow
--enable-sse --enable-3dnow \
--with-libiconv-prefix="${LOCALBASE}" \
--with-ogg="${LOCALBASE}"
CONFIGURE_ENV= XMMS_CONFIG=/usr/bin/false
# missing auxiliary script
post-extract:
@cp ${WRKDIR}/converters/libiconv/libiconv-*/autoconf/config.rpath \
${WRKSRC}
# "obj" is magic to our make(1)
post-configure:
@rm -rf ${WRKSRC}/obj
post-install:
@cd ${PREFIX}/share/doc && mv ${DISTNAME} flac

View File

@ -1,3 +1,3 @@
MD5 (flac-1.0.3.tar.gz) = 419e4e4c3403055af1cd6d4a735a9201
RMD160 (flac-1.0.3.tar.gz) = 45d3b3966a82be848d3463bc67426e5554a88a11
SHA1 (flac-1.0.3.tar.gz) = 72106148c43f938df441d227f4b6198cfcadfdb8
MD5 (flac-1.0.4.tar.gz) = b1523e6ad8ef85d1df5b18f20a8cfad6
RMD160 (flac-1.0.4.tar.gz) = e6d923e7283fa530eadfbc9f0016f9018441e147
SHA1 (flac-1.0.4.tar.gz) = d16beeb8b1f37044d59ba7f2b80a2c3c8db3e7e3

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Makefile_in,v 1.1 2002/10/31 21:15:08 naddy Exp $
--- Makefile.in.orig Thu Oct 31 17:01:59 2002
+++ Makefile.in Thu Oct 31 17:02:12 2002
@@ -144,7 +144,7 @@ am__include = @am__include@
am__quote = @am__quote@
install_sh = @install_sh@
-SUBDIRS = doc include man src test build flac.pbproj obj
+SUBDIRS = doc include man src test build flac.pbproj
DISTCLEANFILES = libtool-disable-static

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-configure,v 1.5 2002/07/07 19:09:29 naddy Exp $
--- configure.orig Sat Jul 6 02:35:16 2002
+++ configure Sat Jul 6 02:35:57 2002
@@ -9995,7 +9995,7 @@ OUR_CFLAGS_HEAD='-I$(top_builddir) -I$(s
$OpenBSD: patch-configure,v 1.6 2002/10/31 21:15:08 naddy Exp $
--- configure.orig Wed Sep 25 06:53:08 2002
+++ configure Thu Oct 31 16:51:04 2002
@@ -11113,7 +11113,7 @@ OUR_CFLAGS_HEAD='-I$(top_builddir) -I$(s
if test x$debug = xtrue; then
OUR_CFLAGS_TAIL="-g -O0 -DDEBUG"
else

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_flac_Makefile_in,v 1.1 2002/10/31 21:15:08 naddy Exp $
--- src/flac/Makefile.in.orig Thu Oct 31 16:51:49 2002
+++ src/flac/Makefile.in Thu Oct 31 16:52:25 2002
@@ -155,7 +155,7 @@ flac_SOURCES = \
vorbiscomment.h
-flac_LDADD = $(NEED_OGGFLAC_LIB) $(top_builddir)/src/libFLAC/libFLAC.la @OGG_LIBS@ @SHARE_LIBS@ -lm
+flac_LDADD = $(NEED_OGGFLAC_LIB) $(top_builddir)/src/libFLAC/libFLAC.la @OGG_LIBS@ @SHARE_LIBS@ @LIBICONV@ -lm
subdir = src/flac
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_metaflac_Makefile_in,v 1.1 2002/10/31 21:15:08 naddy Exp $
--- src/metaflac/Makefile.in.orig Thu Oct 31 16:52:36 2002
+++ src/metaflac/Makefile.in Thu Oct 31 16:52:54 2002
@@ -144,7 +144,7 @@ metaflac_SOURCES = \
metaflac_LDFLAGS =
-metaflac_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la @SHARE_LIBS@ -lm
+metaflac_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la @SHARE_LIBS@ @LIBICONV@ -lm
subdir = src/metaflac
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =

View File

@ -1,4 +1,6 @@
@comment $OpenBSD: PFRAG.shared,v 1.4 2002/07/07 19:09:29 naddy Exp $
lib/libFLAC++.so.1.1
lib/libFLAC.so.3.1
@comment $OpenBSD: PFRAG.shared,v 1.5 2002/10/31 21:15:08 naddy Exp $
lib/libFLAC++.so.2.1
lib/libFLAC.so.4.1
lib/libOggFLAC++.so.0.1
lib/libOggFLAC.so.0.1
DYNLIBDIR(%B)

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.5 2002/07/07 19:09:29 naddy Exp $
@comment $OpenBSD: PLIST,v 1.6 2002/10/31 21:15:08 naddy Exp $
bin/flac
bin/metaflac
include/FLAC++/all.h
@ -8,46 +8,247 @@ include/FLAC++/metadata.h
include/FLAC/all.h
include/FLAC/assert.h
include/FLAC/file_decoder.h
include/FLAC/file_encoder.h
include/FLAC/format.h
include/FLAC/metadata.h
include/FLAC/ordinals.h
include/FLAC/seekable_stream_decoder.h
include/FLAC/seekable_stream_encoder.h
include/FLAC/stream_decoder.h
include/FLAC/stream_encoder.h
include/OggFLAC++/all.h
include/OggFLAC++/decoder.h
include/OggFLAC++/encoder.h
include/OggFLAC/all.h
include/OggFLAC/stream_decoder.h
include/OggFLAC/stream_encoder.h
lib/libFLAC++.a
lib/libFLAC++.la
lib/libFLAC.a
lib/libFLAC.la
lib/libOggFLAC++.a
lib/libOggFLAC++.la
lib/libOggFLAC.a
lib/libOggFLAC.la
man/man1/flac.1
share/aclocal/libFLAC++.m4
share/aclocal/libFLAC.m4
share/doc/flac/comparison.html
share/doc/flac/developers.html
share/doc/flac/documentation.html
share/doc/flac/download.html
share/doc/flac/features.html
share/doc/flac/format.html
share/doc/flac/goals.html
share/doc/flac/id.html
share/doc/flac/images/1x1.gif
share/doc/flac/images/cafebug.gif
share/doc/flac/images/logo.jpg
share/doc/flac/index.html
share/doc/flac/news.html
@comment share/doc/flac/ru/authors.html
@comment share/doc/flac/ru/comparison.html
@comment share/doc/flac/ru/developers.html
@comment share/doc/flac/ru/documentation.html
@comment share/doc/flac/ru/download.html
@comment share/doc/flac/ru/features.html
@comment share/doc/flac/ru/format.html
@comment share/doc/flac/ru/goals.html
@comment share/doc/flac/ru/id.html
@comment share/doc/flac/ru/index.html
@comment share/doc/flac/ru/links.html
@comment share/doc/flac/ru/news.html
share/aclocal/libOggFLAC++.m4
share/aclocal/libOggFLAC.m4
share/doc/flac/FLAC.tag
share/doc/flac/html/api/+_2metadata_8h-source.html
share/doc/flac/html/api/+_2metadata_8h.html
share/doc/flac/html/api/FLAC++_2all_8h-source.html
share/doc/flac/html/api/FLAC++_2decoder_8h-source.html
share/doc/flac/html/api/FLAC++_2decoder_8h.html
share/doc/flac/html/api/FLAC++_2encoder_8h-source.html
share/doc/flac/html/api/FLAC++_2encoder_8h.html
share/doc/flac/html/api/FLAC_2all_8h-source.html
share/doc/flac/html/api/FLAC_2stream__decoder_8h-source.html
share/doc/flac/html/api/FLAC_2stream__decoder_8h.html
share/doc/flac/html/api/FLAC_2stream__encoder_8h-source.html
share/doc/flac/html/api/FLAC_2stream__encoder_8h.html
share/doc/flac/html/api/OggFLAC++_2all_8h-source.html
share/doc/flac/html/api/OggFLAC++_2decoder_8h-source.html
share/doc/flac/html/api/OggFLAC++_2decoder_8h.html
share/doc/flac/html/api/OggFLAC++_2encoder_8h-source.html
share/doc/flac/html/api/OggFLAC++_2encoder_8h.html
share/doc/flac/html/api/OggFLAC_2all_8h-source.html
share/doc/flac/html/api/OggFLAC_2stream__decoder_8h-source.html
share/doc/flac/html/api/OggFLAC_2stream__decoder_8h.html
share/doc/flac/html/api/OggFLAC_2stream__encoder_8h-source.html
share/doc/flac/html/api/OggFLAC_2stream__encoder_8h.html
share/doc/flac/html/api/annotated.html
share/doc/flac/html/api/assert_8h-source.html
share/doc/flac/html/api/classFLAC_1_1Decoder_1_1File-members.html
share/doc/flac/html/api/classFLAC_1_1Decoder_1_1File.html
share/doc/flac/html/api/classFLAC_1_1Decoder_1_1SeekableStream-members.html
share/doc/flac/html/api/classFLAC_1_1Decoder_1_1SeekableStream.html
share/doc/flac/html/api/classFLAC_1_1Decoder_1_1Stream-members.html
share/doc/flac/html/api/classFLAC_1_1Decoder_1_1Stream.html
share/doc/flac/html/api/classFLAC_1_1Encoder_1_1File-members.html
share/doc/flac/html/api/classFLAC_1_1Encoder_1_1File.html
share/doc/flac/html/api/classFLAC_1_1Encoder_1_1SeekableStream-members.html
share/doc/flac/html/api/classFLAC_1_1Encoder_1_1SeekableStream.html
share/doc/flac/html/api/classFLAC_1_1Encoder_1_1Stream-members.html
share/doc/flac/html/api/classFLAC_1_1Encoder_1_1Stream.html
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1Application-members.html
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1Application.gif
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1Application.html
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1Chain-members.html
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1Chain.html
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1Iterator-members.html
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1Iterator.html
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1Padding-members.html
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1Padding.gif
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1Padding.html
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1Prototype-members.html
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1Prototype.gif
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1Prototype.html
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1SeekTable-members.html
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1SeekTable.gif
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1SeekTable.html
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1SimpleIterator-members.html
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1SimpleIterator.html
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1StreamInfo-members.html
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1StreamInfo.gif
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1StreamInfo.html
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1VorbisComment-members.html
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1VorbisComment.gif
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1VorbisComment.html
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1VorbisComment_1_1Entry-members.html
share/doc/flac/html/api/classFLAC_1_1Metadata_1_1VorbisComment_1_1Entry.html
share/doc/flac/html/api/classOggFLAC_1_1Decoder_1_1Stream-members.html
share/doc/flac/html/api/classOggFLAC_1_1Decoder_1_1Stream.html
share/doc/flac/html/api/classOggFLAC_1_1Encoder_1_1Stream-members.html
share/doc/flac/html/api/classOggFLAC_1_1Encoder_1_1Stream.html
share/doc/flac/html/api/classes.html
share/doc/flac/html/api/doxygen.css
share/doc/flac/html/api/doxygen.gif
share/doc/flac/html/api/file__decoder_8h-source.html
share/doc/flac/html/api/file__decoder_8h.html
share/doc/flac/html/api/file__encoder_8h-source.html
share/doc/flac/html/api/file__encoder_8h.html
share/doc/flac/html/api/files.html
share/doc/flac/html/api/format_8h-source.html
share/doc/flac/html/api/format_8h.html
share/doc/flac/html/api/functions.html
share/doc/flac/html/api/globals.html
share/doc/flac/html/api/group__flac.html
share/doc/flac/html/api/group__flac__decoder.html
share/doc/flac/html/api/group__flac__encoder.html
share/doc/flac/html/api/group__flac__file__decoder.html
share/doc/flac/html/api/group__flac__file__encoder.html
share/doc/flac/html/api/group__flac__format.html
share/doc/flac/html/api/group__flac__metadata.html
share/doc/flac/html/api/group__flac__metadata__level0.html
share/doc/flac/html/api/group__flac__metadata__level1.html
share/doc/flac/html/api/group__flac__metadata__level2.html
share/doc/flac/html/api/group__flac__metadata__object.html
share/doc/flac/html/api/group__flac__seekable__stream__decoder.html
share/doc/flac/html/api/group__flac__seekable__stream__encoder.html
share/doc/flac/html/api/group__flac__stream__decoder.html
share/doc/flac/html/api/group__flac__stream__encoder.html
share/doc/flac/html/api/group__flacpp.html
share/doc/flac/html/api/group__flacpp__decoder.html
share/doc/flac/html/api/group__flacpp__encoder.html
share/doc/flac/html/api/group__flacpp__file__decoder.html
share/doc/flac/html/api/group__flacpp__file__encoder.html
share/doc/flac/html/api/group__flacpp__metadata.html
share/doc/flac/html/api/group__flacpp__metadata__level0.html
share/doc/flac/html/api/group__flacpp__metadata__level1.html
share/doc/flac/html/api/group__flacpp__metadata__level2.html
share/doc/flac/html/api/group__flacpp__metadata__object.html
share/doc/flac/html/api/group__flacpp__seekable__stream__decoder.html
share/doc/flac/html/api/group__flacpp__seekable__stream__encoder.html
share/doc/flac/html/api/group__flacpp__stream__decoder.html
share/doc/flac/html/api/group__flacpp__stream__encoder.html
share/doc/flac/html/api/group__oggflac.html
share/doc/flac/html/api/group__oggflac__decoder.html
share/doc/flac/html/api/group__oggflac__encoder.html
share/doc/flac/html/api/group__oggflac__stream__decoder.html
share/doc/flac/html/api/group__oggflac__stream__encoder.html
share/doc/flac/html/api/group__oggflacpp.html
share/doc/flac/html/api/group__oggflacpp__decoder.html
share/doc/flac/html/api/group__oggflacpp__encoder.html
share/doc/flac/html/api/group__oggflacpp__stream__decoder.html
share/doc/flac/html/api/group__oggflacpp__stream__encoder.html
share/doc/flac/html/api/hierarchy.html
share/doc/flac/html/api/index.html
share/doc/flac/html/api/metadata_8h-source.html
share/doc/flac/html/api/metadata_8h.html
share/doc/flac/html/api/modules.html
share/doc/flac/html/api/ordinals_8h-source.html
share/doc/flac/html/api/seekable__stream__decoder_8h-source.html
share/doc/flac/html/api/seekable__stream__decoder_8h.html
share/doc/flac/html/api/seekable__stream__encoder_8h-source.html
share/doc/flac/html/api/seekable__stream__encoder_8h.html
share/doc/flac/html/api/structFLAC____EntropyCodingMethod-members.html
share/doc/flac/html/api/structFLAC____EntropyCodingMethod.html
share/doc/flac/html/api/structFLAC____EntropyCodingMethod__PartitionedRice-members.html
share/doc/flac/html/api/structFLAC____EntropyCodingMethod__PartitionedRice.html
share/doc/flac/html/api/structFLAC____EntropyCodingMethod__PartitionedRiceContents-members.html
share/doc/flac/html/api/structFLAC____EntropyCodingMethod__PartitionedRiceContents.html
share/doc/flac/html/api/structFLAC____FileDecoder-members.html
share/doc/flac/html/api/structFLAC____FileDecoder.html
share/doc/flac/html/api/structFLAC____FileEncoder-members.html
share/doc/flac/html/api/structFLAC____FileEncoder.html
share/doc/flac/html/api/structFLAC____Frame-members.html
share/doc/flac/html/api/structFLAC____Frame.html
share/doc/flac/html/api/structFLAC____FrameFooter-members.html
share/doc/flac/html/api/structFLAC____FrameFooter.html
share/doc/flac/html/api/structFLAC____FrameHeader-members.html
share/doc/flac/html/api/structFLAC____FrameHeader.html
share/doc/flac/html/api/structFLAC____SeekableStreamDecoder-members.html
share/doc/flac/html/api/structFLAC____SeekableStreamDecoder.html
share/doc/flac/html/api/structFLAC____SeekableStreamEncoder-members.html
share/doc/flac/html/api/structFLAC____SeekableStreamEncoder.html
share/doc/flac/html/api/structFLAC____StreamDecoder-members.html
share/doc/flac/html/api/structFLAC____StreamDecoder.html
share/doc/flac/html/api/structFLAC____StreamEncoder-members.html
share/doc/flac/html/api/structFLAC____StreamEncoder.html
share/doc/flac/html/api/structFLAC____StreamMetadata-members.html
share/doc/flac/html/api/structFLAC____StreamMetadata.html
share/doc/flac/html/api/structFLAC____StreamMetadata__Application-members.html
share/doc/flac/html/api/structFLAC____StreamMetadata__Application.html
share/doc/flac/html/api/structFLAC____StreamMetadata__Padding-members.html
share/doc/flac/html/api/structFLAC____StreamMetadata__Padding.html
share/doc/flac/html/api/structFLAC____StreamMetadata__SeekPoint-members.html
share/doc/flac/html/api/structFLAC____StreamMetadata__SeekPoint.html
share/doc/flac/html/api/structFLAC____StreamMetadata__SeekTable-members.html
share/doc/flac/html/api/structFLAC____StreamMetadata__SeekTable.html
share/doc/flac/html/api/structFLAC____StreamMetadata__StreamInfo-members.html
share/doc/flac/html/api/structFLAC____StreamMetadata__StreamInfo.html
share/doc/flac/html/api/structFLAC____StreamMetadata__VorbisComment-members.html
share/doc/flac/html/api/structFLAC____StreamMetadata__VorbisComment.html
share/doc/flac/html/api/structFLAC____StreamMetadata__VorbisComment__Entry-members.html
share/doc/flac/html/api/structFLAC____StreamMetadata__VorbisComment__Entry.html
share/doc/flac/html/api/structFLAC____Subframe-members.html
share/doc/flac/html/api/structFLAC____Subframe.html
share/doc/flac/html/api/structFLAC____Subframe__Constant-members.html
share/doc/flac/html/api/structFLAC____Subframe__Constant.html
share/doc/flac/html/api/structFLAC____Subframe__Fixed-members.html
share/doc/flac/html/api/structFLAC____Subframe__Fixed.html
share/doc/flac/html/api/structFLAC____Subframe__LPC-members.html
share/doc/flac/html/api/structFLAC____Subframe__LPC.html
share/doc/flac/html/api/structFLAC____Subframe__Verbatim-members.html
share/doc/flac/html/api/structFLAC____Subframe__Verbatim.html
share/doc/flac/html/api/structOggFLAC____StreamDecoder-members.html
share/doc/flac/html/api/structOggFLAC____StreamDecoder.html
share/doc/flac/html/api/structOggFLAC____StreamEncoder-members.html
share/doc/flac/html/api/structOggFLAC____StreamEncoder.html
share/doc/flac/html/comparison.html
share/doc/flac/html/developers.html
share/doc/flac/html/documentation.html
share/doc/flac/html/download.html
share/doc/flac/html/features.html
share/doc/flac/html/format.html
share/doc/flac/html/goals.html
share/doc/flac/html/id.html
share/doc/flac/html/images/1x1.gif
share/doc/flac/html/images/cafebug.gif
share/doc/flac/html/images/logo.jpg
share/doc/flac/html/index.html
share/doc/flac/html/news.html
share/doc/flac/html/ru/authors.html
share/doc/flac/html/ru/comparison.html
share/doc/flac/html/ru/developers.html
share/doc/flac/html/ru/documentation.html
share/doc/flac/html/ru/download.html
share/doc/flac/html/ru/features.html
share/doc/flac/html/ru/format.html
share/doc/flac/html/ru/goals.html
share/doc/flac/html/ru/id.html
share/doc/flac/html/ru/index.html
share/doc/flac/html/ru/links.html
share/doc/flac/html/ru/news.html
%%SHARED%%
@dirrm share/doc/flac/images
@dirrm share/doc/flac/html/ru
@dirrm share/doc/flac/html/images
@dirrm share/doc/flac/html/api
@dirrm share/doc/flac/html
@dirrm share/doc/flac
@dirrm include/OggFLAC++
@dirrm include/OggFLAC
@dirrm include/FLAC++
@dirrm include/FLAC