From 31796e92f8e46aa852a03133546365a471c797b3 Mon Sep 17 00:00:00 2001 From: jolan Date: Sat, 9 Jul 2005 00:35:02 +0000 Subject: [PATCH] libtheora 1.0 alpha 4, open video codec from Vladimir Tamara Patino --- multimedia/libtheora/Makefile | 30 ++++++++++++++++ multimedia/libtheora/distinfo | 4 +++ .../libtheora/patches/patch-Makefile_in | 12 +++++++ multimedia/libtheora/patches/patch-configure | 35 +++++++++++++++++++ multimedia/libtheora/pkg/DESCR | 2 ++ multimedia/libtheora/pkg/PFRAG.shared | 2 ++ multimedia/libtheora/pkg/PLIST | 11 ++++++ 7 files changed, 96 insertions(+) create mode 100644 multimedia/libtheora/Makefile create mode 100644 multimedia/libtheora/distinfo create mode 100644 multimedia/libtheora/patches/patch-Makefile_in create mode 100644 multimedia/libtheora/patches/patch-configure create mode 100644 multimedia/libtheora/pkg/DESCR create mode 100644 multimedia/libtheora/pkg/PFRAG.shared create mode 100644 multimedia/libtheora/pkg/PLIST diff --git a/multimedia/libtheora/Makefile b/multimedia/libtheora/Makefile new file mode 100644 index 00000000000..e6da6feaaf6 --- /dev/null +++ b/multimedia/libtheora/Makefile @@ -0,0 +1,30 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2005/07/09 00:35:02 jolan Exp $ + +COMMENT= "open video codec" +DISTNAME= libtheora-1.0alpha4 +CATEGORIES= multimedia + +HOMEPAGE= http://www.theora.org/ + +MAINTAINER= Vladimir Tamara Patino + +# BSD +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig + +LIB_DEPENDS= vorbis.4,vorbisenc.2,vorbisfile.4::audio/libvorbis + +WANTLIB= ogg + +CONFIGURE_STYLE=gnu + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libtheora + ${INSTALL_DATA} ${WRKSRC}/doc/{color.html,vp3-format.txt} \ + ${PREFIX}/share/doc/libtheora + +.include diff --git a/multimedia/libtheora/distinfo b/multimedia/libtheora/distinfo new file mode 100644 index 00000000000..c9b7f7fceb6 --- /dev/null +++ b/multimedia/libtheora/distinfo @@ -0,0 +1,4 @@ +MD5 (libtheora-1.0alpha4.tar.gz) = 75f436a980b80f8b8102ee182ddb8748 +RMD160 (libtheora-1.0alpha4.tar.gz) = 1eca6dba519c8af94fa27c4112d3d3ec41aa54d3 +SHA1 (libtheora-1.0alpha4.tar.gz) = 524416a44bcc159bfe53893bb37983046b97522c +SIZE (libtheora-1.0alpha4.tar.gz) = 2045695 diff --git a/multimedia/libtheora/patches/patch-Makefile_in b/multimedia/libtheora/patches/patch-Makefile_in new file mode 100644 index 00000000000..a66db7149f9 --- /dev/null +++ b/multimedia/libtheora/patches/patch-Makefile_in @@ -0,0 +1,12 @@ +$OpenBSD: patch-Makefile_in,v 1.1.1.1 2005/07/09 00:35:02 jolan Exp $ +--- Makefile.in.orig Wed Dec 15 14:06:17 2004 ++++ Makefile.in Fri Jul 8 19:03:16 2005 +@@ -206,7 +206,7 @@ target_cpu = @target_cpu@ + target_os = @target_os@ + target_vendor = @target_vendor@ + AUTOMAKE_OPTIONS = foreign 1.6 dist-zip dist-bzip2 +-SUBDIRS = lib include doc examples debian ++SUBDIRS = lib include + EXTRA_DIST = COPYING autogen.sh win32 libtheora.spec libtheora.spec.in \ + theora-uninstalled.pc.in + diff --git a/multimedia/libtheora/patches/patch-configure b/multimedia/libtheora/patches/patch-configure new file mode 100644 index 00000000000..a4f8b529a7c --- /dev/null +++ b/multimedia/libtheora/patches/patch-configure @@ -0,0 +1,35 @@ +$OpenBSD: patch-configure,v 1.1.1.1 2005/07/09 00:35:02 jolan Exp $ +--- configure.orig Wed Dec 15 14:06:19 2004 ++++ configure Fri Jul 8 19:11:17 2005 +@@ -20181,7 +20181,7 @@ rm -f conftest.err conftest.$ac_objext \ + fi + + +- ++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" +@@ -20474,11 +20474,11 @@ echo "$as_me: WARNING: *** Unable to fin + + + rm -f conf.sdltest ++fi + + + +- +- ++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` +@@ -20632,7 +20632,7 @@ echo "$as_me: WARNING: OSS audio support + fi + + done +- ++fi + + if test x$HAVE_SDL = xyes -a x$HAVE_OSS = xyes; then + BUILDABLE_EXAMPLES="$BUILDABLE_EXAMPLES player_example" diff --git a/multimedia/libtheora/pkg/DESCR b/multimedia/libtheora/pkg/DESCR new file mode 100644 index 00000000000..f4537b71a6d --- /dev/null +++ b/multimedia/libtheora/pkg/DESCR @@ -0,0 +1,2 @@ +Open video codec being developed by the Xiph.org Foundation as part of +their Ogg project. diff --git a/multimedia/libtheora/pkg/PFRAG.shared b/multimedia/libtheora/pkg/PFRAG.shared new file mode 100644 index 00000000000..cea430a76a1 --- /dev/null +++ b/multimedia/libtheora/pkg/PFRAG.shared @@ -0,0 +1,2 @@ +@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2005/07/09 00:35:02 jolan Exp $ +@lib lib/libtheora.so.1.0 diff --git a/multimedia/libtheora/pkg/PLIST b/multimedia/libtheora/pkg/PLIST new file mode 100644 index 00000000000..1a5097a20eb --- /dev/null +++ b/multimedia/libtheora/pkg/PLIST @@ -0,0 +1,11 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2005/07/09 00:35:02 jolan Exp $ +%%SHARED%% +include/theora/ +include/theora/theora.h +lib/libtheora.a +lib/libtheora.la +lib/pkgconfig/ +lib/pkgconfig/theora.pc +share/doc/libtheora/ +share/doc/libtheora/color.html +share/doc/libtheora/vp3-format.txt