summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/libtheora/DESCR6
-rw-r--r--multimedia/libtheora/Makefile19
-rw-r--r--multimedia/libtheora/PLIST12
-rw-r--r--multimedia/libtheora/buildlink3.mk21
-rw-r--r--multimedia/libtheora/distinfo5
-rw-r--r--multimedia/libtheora/patches/patch-aa36
6 files changed, 99 insertions, 0 deletions
diff --git a/multimedia/libtheora/DESCR b/multimedia/libtheora/DESCR
new file mode 100644
index 00000000000..6274004bdd8
--- /dev/null
+++ b/multimedia/libtheora/DESCR
@@ -0,0 +1,6 @@
+Theora is Xiph.Org's first publicly released video codec, intended for
+use within the Ogg's project's Ogg multimedia streaming system. Theora
+is derived directly from On2's VP3 codec; currently the two are nearly
+identical, varying only in encapsulating decoder tables in the bitstream
+headers, but Theora will make use of this extra freedom in the future to
+improve over what is possible with VP3.
diff --git a/multimedia/libtheora/Makefile b/multimedia/libtheora/Makefile
new file mode 100644
index 00000000000..51c542a17dc
--- /dev/null
+++ b/multimedia/libtheora/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/04/06 13:47:43 jmmv Exp $
+#
+
+DISTNAME= libtheora-1.0alpha3
+CATEGORIES= multimedia
+MASTER_SITES= http://www.theora.org/files/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.theora.org/
+COMMENT= Video codec for Ogg multimedia streaming
+
+GNU_CONFIGURE= YES
+USE_BUILDLINK3= YES
+USE_LIBTOOL= YES
+
+.include "../../audio/libogg/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/libtheora/PLIST b/multimedia/libtheora/PLIST
new file mode 100644
index 00000000000..768f7c79d14
--- /dev/null
+++ b/multimedia/libtheora/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/06 13:47:43 jmmv Exp $
+include/theora/theora.h
+lib/libtheora.a
+lib/libtheora.la
+lib/libtheora.so
+lib/libtheora.so.0
+lib/libtheora.so.0.0
+share/doc/${PKGNAME}/spec.html
+share/doc/${PKGNAME}/spec.py
+share/doc/${PKGNAME}/vp3-format.txt
+@dirrm share/doc/${PKGNAME}
+@dirrm include/theora
diff --git a/multimedia/libtheora/buildlink3.mk b/multimedia/libtheora/buildlink3.mk
new file mode 100644
index 00000000000..aaa3d5a4819
--- /dev/null
+++ b/multimedia/libtheora/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/04/06 13:47:43 jmmv Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBTHEORA_BUILDLINK3_MK:= ${LIBTHEORA_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libtheora
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibtheora}
+BUILDLINK_PACKAGES+= libtheora
+
+.if !empty(LIBTHEORA_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libtheora+= libtheora>=1.0alpha3
+BUILDLINK_PKGSRCDIR.libtheora?= ../../multimedia/libtheora
+.endif # LIBTHEORA_BUILDLINK3_MK
+
+.include "../../audio/libogg/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/multimedia/libtheora/distinfo b/multimedia/libtheora/distinfo
new file mode 100644
index 00000000000..937982aea8a
--- /dev/null
+++ b/multimedia/libtheora/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/04/06 13:47:43 jmmv Exp $
+
+SHA1 (libtheora-1.0alpha3.zip) = d0406ecade7ac6b426a73fdb12cb8ac3a8462633
+Size (libtheora-1.0alpha3.zip) = 1111940 bytes
+SHA1 (patch-aa) = 742cbb3aef9f9e0efebaa60fd97f5302c1c24d6f
diff --git a/multimedia/libtheora/patches/patch-aa b/multimedia/libtheora/patches/patch-aa
new file mode 100644
index 00000000000..98fbd4f65b0
--- /dev/null
+++ b/multimedia/libtheora/patches/patch-aa
@@ -0,0 +1,36 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/04/06 13:47:43 jmmv Exp $
+
+--- configure.orig 2004-03-20 06:43:31.000000000 +0100
++++ configure
+@@ -19426,6 +19426,8 @@ fi
+
+
+
++# SDL is only used for the sample player; disable it.
++if false; then
+ # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
+ if test "${with_sdl_prefix+set}" = set; then
+ withval="$with_sdl_prefix"
+@@ -19718,11 +19720,14 @@ echo "$as_me: WARNING: *** Unable to fin
+
+
+ rm -f conf.sdltest
++fi
+
+
+
+
+
++# OSS is only used by the sample player; disable it.
++if false; then
+ for ac_header in sys/soundcard.h soundcard.h machine/soundcard.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+@@ -19876,6 +19881,7 @@ echo "$as_me: WARNING: OSS audio support
+ fi
+
+ done
++fi
+
+
+ if test x$HAVE_SDL = xyes -a x$HAVE_OSS = xyes; then