Updated version to 0.7.3.

- no longer installs a conflicting libao.
- about twice as fast.
This commit is contained in:
espie 2002-03-29 14:43:46 +00:00
parent 9961f88e83
commit cb54105209
7 changed files with 20 additions and 63 deletions

View File

@ -1,11 +1,11 @@
#$OpenBSD: Makefile,v 1.1.1.1 2001/10/14 15:17:16 espie Exp $
#$OpenBSD: Makefile,v 1.2 2002/03/29 14:43:46 espie Exp $
CATEGORIES= audio
NEED_VERSION= 1.474
COMMENT= 'AC-3 decoding library'
DISTNAME= a52dec-0.7.1b
PKGNAME= liba52-0.7.1b
DISTNAME= a52dec-0.7.3
PKGNAME= liba52-0.7.3
MASTER_SITES= http://liba52.sourceforge.net/files/
HOMEPAGE= http://liba52.sourceforge.net/

View File

@ -1,3 +1,3 @@
MD5 (a52dec-0.7.1b.tar.gz) = 888e6ccd8706a1e61b0f0366a142cd85
RMD160 (a52dec-0.7.1b.tar.gz) = 7ff8b513a84e06c097fb3bee81847d4d8844ff82
SHA1 (a52dec-0.7.1b.tar.gz) = 3c46c3acaa922d4c1a246b7390a1c7d64eec5fc0
MD5 (a52dec-0.7.3.tar.gz) = cd4254b39fc1bde7b1037afea58f7a8b
RMD160 (a52dec-0.7.3.tar.gz) = 746ca98c513be3752d1e55ccbf559c003665a278
SHA1 (a52dec-0.7.3.tar.gz) = cb59c2499215cecd9e79de8cb20b1f3d8232fc6b

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-liba52_bitstream_c,v 1.1 2002/03/29 13:54:56 espie Exp $
--- liba52/bitstream.c.orig Fri Mar 29 14:46:51 2002
+++ liba52/bitstream.c Fri Mar 29 14:47:22 2002
@@ -21,6 +21,7 @@
$OpenBSD: patch-liba52_bitstream_c,v 1.2 2002/03/29 14:43:47 espie Exp $
--- liba52/bitstream.c.orig Mon Jan 28 06:37:54 2002
+++ liba52/bitstream.c Fri Mar 29 15:03:12 2002
@@ -23,6 +23,7 @@
#include "config.h"
@ -9,15 +9,15 @@ $OpenBSD: patch-liba52_bitstream_c,v 1.1 2002/03/29 13:54:56 espie Exp $
#include <inttypes.h>
#include "a52.h"
@@ -36,9 +37,9 @@ uint32_t current_word;
@@ -38,9 +39,9 @@ uint32_t a52_current_word;
void bitstream_set_ptr (uint8_t * buf)
void a52_bitstream_set_ptr (uint8_t * buf)
{
- int align;
+ ptrdiff_t align;
- align = (int)buf & 3;
- align = (long)buf & 3;
+ align = (ptrdiff_t)buf & 3;
buffer_start = (uint32_t *) (buf - align);
bits_left = 0;
a52_bits_left = 0;
bitstream_get (align * 8);

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-libao_Makefile_in,v 1.1.1.1 2001/10/14 15:17:16 espie Exp $
--- libao/Makefile.in.orig Fri Aug 31 11:40:07 2001
+++ libao/Makefile.in Sat Oct 13 18:05:10 2001
@@ -72,7 +72,7 @@ PACKAGE = @PACKAGE@
RANLIB = @RANLIB@
VERSION = @VERSION@
-lib_LTLIBRARIES = libao.la
+lib_LTLIBRARIES = libogle-ao.la
libao_la_SOURCES = audio_out.c audio_out_oss.c audio_out_solaris.c audio_out_null.c audio_out_float.c
libao_la_LIBADD = @LIBAO_LIBS@
@@ -181,7 +181,7 @@ distclean-libtool:
maintainer-clean-libtool:
-libao.la: $(libao_la_OBJECTS) $(libao_la_DEPENDENCIES)
+libogle-ao.la: $(libao_la_OBJECTS) $(libao_la_DEPENDENCIES)
$(LINK) -rpath $(libdir) $(libao_la_LDFLAGS) $(libao_la_OBJECTS) $(libao_la_LIBADD) $(LIBS)
tags: TAGS

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-libao_audio_out_oss_c,v 1.1 2001/10/14 17:25:40 espie Exp $
--- libao/audio_out_oss.c.orig Sun Oct 14 19:04:25 2001
+++ libao/audio_out_oss.c Sun Oct 14 19:04:40 2001
@@ -262,9 +262,9 @@ ao_instance_t * oss_open (int flags)
$OpenBSD: patch-libao_audio_out_oss_c,v 1.2 2002/03/29 14:43:47 espie Exp $
--- libao/audio_out_oss.c.orig Sun Feb 17 09:58:54 2002
+++ libao/audio_out_oss.c Fri Mar 29 15:02:47 2002
@@ -153,9 +153,9 @@ ao_instance_t * oss_open (int flags)
instance->set_params = 1;
instance->flags = flags;

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2001/10/14 15:17:16 espie Exp $
--- src/Makefile.in.orig Sat Oct 13 18:06:34 2001
+++ src/Makefile.in Sat Oct 13 18:06:48 2001
@@ -76,7 +76,7 @@ CFLAGS = @CFLAGS@ @A52DEC_CFLAGS@
bin_PROGRAMS = a52dec extract_a52
a52dec_SOURCES = a52dec.c getopt.c
-a52dec_LDADD = $(top_builddir)/liba52/liba52.la $(top_builddir)/libao/libao.la
+a52dec_LDADD = $(top_builddir)/liba52/liba52.la $(top_builddir)/libao/libogle-ao.la
extract_a52_SOURCES = extract_a52.c getopt.c
man_MANS = a52dec.1 extract_a52.1
@@ -94,7 +94,7 @@ LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
a52dec_OBJECTS = a52dec.o getopt.o
a52dec_DEPENDENCIES = $(top_builddir)/liba52/liba52.la \
-$(top_builddir)/libao/libao.la
+$(top_builddir)/libao/libogle-ao.la
a52dec_LDFLAGS =
extract_a52_OBJECTS = extract_a52.o getopt.o
extract_a52_LDADD = $(LDADD)

View File

@ -1,13 +1,12 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/10/14 15:17:16 espie Exp $
@comment $OpenBSD: PLIST,v 1.2 2002/03/29 14:43:47 espie Exp $
bin/a52dec
bin/extract_a52
include/a52dec/a52.h
include/a52dec/attributes.h
include/a52dec/audio_out.h
include/a52dec/mm_accel.h
lib/liba52.a
lib/liba52.la
lib/libogle-ao.a
lib/libogle-ao.la
man/man1/a52dec.1
man/man1/extract_a52.1
@dirrm include/a52dec