From efd4dbf618b5997215d8afbe832da30b5126c27d Mon Sep 17 00:00:00 2001 From: espie Date: Sun, 14 Oct 2001 15:17:16 +0000 Subject: [PATCH] AC-3 decoding library --- audio/liba52/Makefile | 22 ++++++++++++++++++++ audio/liba52/files/md5 | 3 +++ audio/liba52/patches/patch-libao_Makefile_in | 21 +++++++++++++++++++ audio/liba52/patches/patch-src_Makefile_in | 21 +++++++++++++++++++ audio/liba52/pkg/DESCR | 3 +++ audio/liba52/pkg/PLIST | 13 ++++++++++++ 6 files changed, 83 insertions(+) create mode 100644 audio/liba52/Makefile create mode 100644 audio/liba52/files/md5 create mode 100644 audio/liba52/patches/patch-libao_Makefile_in create mode 100644 audio/liba52/patches/patch-src_Makefile_in create mode 100644 audio/liba52/pkg/DESCR create mode 100644 audio/liba52/pkg/PLIST diff --git a/audio/liba52/Makefile b/audio/liba52/Makefile new file mode 100644 index 00000000000..296e18a780d --- /dev/null +++ b/audio/liba52/Makefile @@ -0,0 +1,22 @@ +#$OpenBSD: Makefile,v 1.1.1.1 2001/10/14 15:17:16 espie Exp $ + +CATEGORIES= audio +NEED_VERSION= 1.474 + +COMMENT= 'AC-3 decoding library' +DISTNAME= a52dec-0.7.1b +PKGNAME= liba52-0.7.1b +MASTER_SITES= http://liba52.sourceforge.net/files/ +HOMEPAGE= http://liba52.sourceforge.net/ + +MAINTAINER= Marc Espie + +CONFIGURE_STYLE= gnu + +# GPL +PERMIT_DISTFILES_CDROM=Yes +PERMIT_DISTFILES_FTP=Yes +PERMIT_PACKAGE_CDROM=Yes +PERMIT_PACKAGE_FTP=Yes + +.include diff --git a/audio/liba52/files/md5 b/audio/liba52/files/md5 new file mode 100644 index 00000000000..f0da9b8acaf --- /dev/null +++ b/audio/liba52/files/md5 @@ -0,0 +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 diff --git a/audio/liba52/patches/patch-libao_Makefile_in b/audio/liba52/patches/patch-libao_Makefile_in new file mode 100644 index 00000000000..9773cfe53b6 --- /dev/null +++ b/audio/liba52/patches/patch-libao_Makefile_in @@ -0,0 +1,21 @@ +$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 diff --git a/audio/liba52/patches/patch-src_Makefile_in b/audio/liba52/patches/patch-src_Makefile_in new file mode 100644 index 00000000000..ee8d62d9f29 --- /dev/null +++ b/audio/liba52/patches/patch-src_Makefile_in @@ -0,0 +1,21 @@ +$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) diff --git a/audio/liba52/pkg/DESCR b/audio/liba52/pkg/DESCR new file mode 100644 index 00000000000..a5a5feb6a81 --- /dev/null +++ b/audio/liba52/pkg/DESCR @@ -0,0 +1,3 @@ +AC-3 decoding library, to use with DVDs. + +WWW: ${HOMEPAGE} diff --git a/audio/liba52/pkg/PLIST b/audio/liba52/pkg/PLIST new file mode 100644 index 00000000000..27835dbfd14 --- /dev/null +++ b/audio/liba52/pkg/PLIST @@ -0,0 +1,13 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2001/10/14 15:17:16 espie Exp $ +bin/a52dec +bin/extract_a52 +include/a52dec/a52.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