summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorsalo <salo>2004-04-12 23:02:59 +0000
committersalo <salo>2004-04-12 23:02:59 +0000
commit3ef567d7a2a281ab0407c5d9dda48791524f96c4 (patch)
tree66c56b83d4ff703eda7e66011390de9057cbae8c /multimedia
parent65ac9c9eabf5c07a646fe054afb6fff71ec9bcec (diff)
downloadpkgsrc-3ef567d7a2a281ab0407c5d9dda48791524f96c4.tar.gz
Reimport from audio/libogg.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libogg/DESCR7
-rw-r--r--multimedia/libogg/Makefile28
-rw-r--r--multimedia/libogg/PLIST86
-rw-r--r--multimedia/libogg/buildlink2.mk22
-rw-r--r--multimedia/libogg/buildlink3.mk19
-rw-r--r--multimedia/libogg/distinfo6
-rw-r--r--multimedia/libogg/patches/patch-aa13
-rw-r--r--multimedia/libogg/patches/patch-ab13
8 files changed, 194 insertions, 0 deletions
diff --git a/multimedia/libogg/DESCR b/multimedia/libogg/DESCR
new file mode 100644
index 00000000000..27ddc5e244a
--- /dev/null
+++ b/multimedia/libogg/DESCR
@@ -0,0 +1,7 @@
+Provides static and shared Ogg libraries and documentation.
+Ogg is a public domain, patent-free bitstream format.
+Ogg project codecs use the Ogg bitstream format to arrange the raw,
+compressed bitstream into a more robust, useful form. For example,
+the Ogg bitstream makes seeking, time stamping and error recovery
+possible, as well as mixing several separate, concurrent media
+streams into a single physical bitstream.
diff --git a/multimedia/libogg/Makefile b/multimedia/libogg/Makefile
new file mode 100644
index 00000000000..37f0136ca23
--- /dev/null
+++ b/multimedia/libogg/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/04/12 23:02:59 salo Exp $
+#
+
+DISTNAME= libogg-1.1
+CATEGORIES= multimedia devel
+MASTER_SITES= http://www.vorbis.com/files/1.0.1/unix/
+
+MAINTAINER= lukem@NetBSD.org
+HOMEPAGE= http://www.xiph.org/ogg/
+COMMENT= Ogg project codecs library
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_BUILDLINK3= YES
+GNU_CONFIGURE= YES
+USE_LIBTOOL= YES
+
+GCC_REQD+= 2.95.3
+
+PLIST_SUBST+= DISTNAME=${DISTNAME}
+
+PKGCONFIG_OVERRIDE+= ogg.pc.in
+
+TEST_TARGET= check
+
+.include "../../devel/pkgconfig/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/libogg/PLIST b/multimedia/libogg/PLIST
new file mode 100644
index 00000000000..fb8ed6a5977
--- /dev/null
+++ b/multimedia/libogg/PLIST
@@ -0,0 +1,86 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/12 23:03:02 salo Exp $
+include/ogg/config_types.h
+include/ogg/ogg.h
+include/ogg/os_types.h
+lib/libogg.a
+lib/libogg.la
+lib/libogg.so
+lib/libogg.so.5
+lib/libogg.so.5.0
+lib/pkgconfig/ogg.pc
+share/aclocal/ogg.m4
+share/doc/html/${DISTNAME}/framing.html
+share/doc/html/${DISTNAME}/index.html
+share/doc/html/${DISTNAME}/ogg/bitpacking.html
+share/doc/html/${DISTNAME}/ogg/datastructures.html
+share/doc/html/${DISTNAME}/ogg/decoding.html
+share/doc/html/${DISTNAME}/ogg/encoding.html
+share/doc/html/${DISTNAME}/ogg/general.html
+share/doc/html/${DISTNAME}/ogg/index.html
+share/doc/html/${DISTNAME}/ogg/ogg_packet.html
+share/doc/html/${DISTNAME}/ogg/ogg_packet_clear.html
+share/doc/html/${DISTNAME}/ogg/ogg_page.html
+share/doc/html/${DISTNAME}/ogg/ogg_page_bos.html
+share/doc/html/${DISTNAME}/ogg/ogg_page_checksum_set.html
+share/doc/html/${DISTNAME}/ogg/ogg_page_continued.html
+share/doc/html/${DISTNAME}/ogg/ogg_page_eos.html
+share/doc/html/${DISTNAME}/ogg/ogg_page_granulepos.html
+share/doc/html/${DISTNAME}/ogg/ogg_page_packets.html
+share/doc/html/${DISTNAME}/ogg/ogg_page_pageno.html
+share/doc/html/${DISTNAME}/ogg/ogg_page_serialno.html
+share/doc/html/${DISTNAME}/ogg/ogg_page_version.html
+share/doc/html/${DISTNAME}/ogg/ogg_stream_clear.html
+share/doc/html/${DISTNAME}/ogg/ogg_stream_destroy.html
+share/doc/html/${DISTNAME}/ogg/ogg_stream_eos.html
+share/doc/html/${DISTNAME}/ogg/ogg_stream_flush.html
+share/doc/html/${DISTNAME}/ogg/ogg_stream_init.html
+share/doc/html/${DISTNAME}/ogg/ogg_stream_packetin.html
+share/doc/html/${DISTNAME}/ogg/ogg_stream_packetout.html
+share/doc/html/${DISTNAME}/ogg/ogg_stream_pagein.html
+share/doc/html/${DISTNAME}/ogg/ogg_stream_pageout.html
+share/doc/html/${DISTNAME}/ogg/ogg_stream_reset.html
+share/doc/html/${DISTNAME}/ogg/ogg_stream_state.html
+share/doc/html/${DISTNAME}/ogg/ogg_sync_buffer.html
+share/doc/html/${DISTNAME}/ogg/ogg_sync_clear.html
+share/doc/html/${DISTNAME}/ogg/ogg_sync_destroy.html
+share/doc/html/${DISTNAME}/ogg/ogg_sync_init.html
+share/doc/html/${DISTNAME}/ogg/ogg_sync_pageout.html
+share/doc/html/${DISTNAME}/ogg/ogg_sync_pageseek.html
+share/doc/html/${DISTNAME}/ogg/ogg_sync_reset.html
+share/doc/html/${DISTNAME}/ogg/ogg_sync_state.html
+share/doc/html/${DISTNAME}/ogg/ogg_sync_wrote.html
+share/doc/html/${DISTNAME}/ogg/oggpack_adv.html
+share/doc/html/${DISTNAME}/ogg/oggpack_adv1.html
+share/doc/html/${DISTNAME}/ogg/oggpack_bits.html
+share/doc/html/${DISTNAME}/ogg/oggpack_buffer.html
+share/doc/html/${DISTNAME}/ogg/oggpack_bytes.html
+share/doc/html/${DISTNAME}/ogg/oggpack_get_buffer.html
+share/doc/html/${DISTNAME}/ogg/oggpack_look.html
+share/doc/html/${DISTNAME}/ogg/oggpack_look1.html
+share/doc/html/${DISTNAME}/ogg/oggpack_read.html
+share/doc/html/${DISTNAME}/ogg/oggpack_read1.html
+share/doc/html/${DISTNAME}/ogg/oggpack_readinit.html
+share/doc/html/${DISTNAME}/ogg/oggpack_reset.html
+share/doc/html/${DISTNAME}/ogg/oggpack_write.html
+share/doc/html/${DISTNAME}/ogg/oggpack_writeclear.html
+share/doc/html/${DISTNAME}/ogg/oggpack_writeinit.html
+share/doc/html/${DISTNAME}/ogg/overview.html
+share/doc/html/${DISTNAME}/ogg/reference.html
+share/doc/html/${DISTNAME}/ogg/style.css
+share/doc/html/${DISTNAME}/ogg/vorbis_comment.html
+share/doc/html/${DISTNAME}/ogg/vorbis_info.html
+share/doc/html/${DISTNAME}/oggstream.html
+share/doc/html/${DISTNAME}/stream.png
+share/doc/html/${DISTNAME}/white-ogg.png
+share/doc/html/${DISTNAME}/white-xifish.png
+share/doc/html/${PKGNAME}/ogg/ogg_stream_packetpeek.html
+share/doc/html/${PKGNAME}/ogg/ogg_stream_reset_serialno.html
+share/doc/html/${PKGNAME}/ogg/oggpack_writealign.html
+share/doc/html/${PKGNAME}/ogg/oggpack_writecopy.html
+share/doc/html/${PKGNAME}/ogg/oggpack_writetrunc.html
+share/doc/html/${PKGNAME}/rfc3533.txt
+share/doc/html/${PKGNAME}/rfc3534.txt
+share/doc/html/${PKGNAME}/vorbisword2.png
+@dirrm share/doc/html/${DISTNAME}/ogg
+@dirrm share/doc/html/${DISTNAME}
+@dirrm include/ogg
diff --git a/multimedia/libogg/buildlink2.mk b/multimedia/libogg/buildlink2.mk
new file mode 100644
index 00000000000..242cf645c73
--- /dev/null
+++ b/multimedia/libogg/buildlink2.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2004/04/12 23:03:03 salo Exp $
+#
+
+.if !defined(LIBOGG_BUILDLINK2_MK)
+LIBOGG_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= libogg
+BUILDLINK_DEPENDS.libogg?= libogg>=1.1
+BUILDLINK_PKGSRCDIR.libogg?= ../../multimedia/libogg
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libogg=libogg
+BUILDLINK_PREFIX.libogg_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.libogg= include/ogg/config_types.h
+BUILDLINK_FILES.libogg+= include/ogg/ogg.h
+BUILDLINK_FILES.libogg+= include/ogg/os_types.h
+BUILDLINK_FILES.libogg+= lib/libogg.*
+
+BUILDLINK_TARGETS+= libogg-buildlink
+
+libogg-buildlink: _BUILDLINK_USE
+
+.endif # LIBOGG_BUILDLINK2_MK
diff --git a/multimedia/libogg/buildlink3.mk b/multimedia/libogg/buildlink3.mk
new file mode 100644
index 00000000000..44242150774
--- /dev/null
+++ b/multimedia/libogg/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/04/12 23:03:03 salo Exp $
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBOGG_BUILDLINK3_MK:= ${LIBOGG_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libogg
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibogg}
+BUILDLINK_PACKAGES+= libogg
+
+.if !empty(LIBOGG_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libogg+= libogg>=1.1
+BUILDLINK_PKGSRCDIR.libogg?= ../../multimedia/libogg
+.endif # LIBOGG_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/multimedia/libogg/distinfo b/multimedia/libogg/distinfo
new file mode 100644
index 00000000000..0316bbc5564
--- /dev/null
+++ b/multimedia/libogg/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/04/12 23:03:00 salo Exp $
+
+SHA1 (libogg-1.1.tar.gz) = 1021761d10de079ac86c2dc110fbaf83f60f2fca
+Size (libogg-1.1.tar.gz) = 282691 bytes
+SHA1 (patch-aa) = 1daa4d3021250d12fe371d0d73b656be393b5e7e
+SHA1 (patch-ab) = fda4456291c362297d7d993b7d1afd8f63c73059
diff --git a/multimedia/libogg/patches/patch-aa b/multimedia/libogg/patches/patch-aa
new file mode 100644
index 00000000000..8e4381abd8c
--- /dev/null
+++ b/multimedia/libogg/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/04/12 23:03:03 salo Exp $
+
+--- doc/Makefile.in.orig Mon Nov 17 17:33:58 2003
++++ doc/Makefile.in
+@@ -103,7 +103,7 @@ AUTOMAKE_OPTIONS = foreign
+
+ SUBDIRS = ogg
+
+-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
++docdir = $(datadir)/doc/html/$(PACKAGE)-$(VERSION)
+
+ doc_DATA = framing.html index.html oggstream.html rfc3533.txt rfc3534.txt stream.png vorbisword2.png white-ogg.png white-xifish.png
+
diff --git a/multimedia/libogg/patches/patch-ab b/multimedia/libogg/patches/patch-ab
new file mode 100644
index 00000000000..3b9544ddb22
--- /dev/null
+++ b/multimedia/libogg/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/04/12 23:03:03 salo Exp $
+
+--- doc/ogg/Makefile.in.orig Mon Nov 17 17:33:58 2003
++++ doc/ogg/Makefile.in
+@@ -101,7 +101,7 @@ install_sh = @install_sh@
+
+ AUTOMAKE_OPTIONS = foreign
+
+-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/ogg
++docdir = $(datadir)/doc/html/$(PACKAGE)-$(VERSION)/ogg
+
+ doc_DATA = bitpacking.html datastructures.html decoding.html encoding.html\
+ general.html index.html ogg_packet.html ogg_packet_clear.html\