From 68df0695a7e65b92f402c6b6f8910893dac27ca5 Mon Sep 17 00:00:00 2001 From: Automaton Date: Wed, 12 Dec 2012 07:25:13 +0100 Subject: [PATCH] Import multimedia/libtheora version 1.1.1_3 --- multimedia/libtheora/Makefile | 42 ++++++++++++++++++++ multimedia/libtheora/distinfo | 2 + multimedia/libtheora/files/patch-Makefile.in | 20 ++++++++++ multimedia/libtheora/pkg-descr | 7 ++++ multimedia/libtheora/pkg-plist | 20 ++++++++++ 5 files changed, 91 insertions(+) create mode 100644 multimedia/libtheora/Makefile create mode 100644 multimedia/libtheora/distinfo create mode 100644 multimedia/libtheora/files/patch-Makefile.in create mode 100644 multimedia/libtheora/pkg-descr create mode 100644 multimedia/libtheora/pkg-plist diff --git a/multimedia/libtheora/Makefile b/multimedia/libtheora/Makefile new file mode 100644 index 00000000000..02c5fc61aba --- /dev/null +++ b/multimedia/libtheora/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: theora +# Date created: 09 februari 2003 +# Whom: Koop Mast +# +# $FreeBSD: ports/multimedia/libtheora/Makefile,v 1.32 2012/11/17 05:59:50 svnexp Exp $ +# + +PORTNAME= libtheora +PORTVERSION= 1.1.1 +PORTREVISION= 3 +CATEGORIES= multimedia +MASTER_SITES= http://downloads.xiph.org/releases/theora/ \ + http://distfiles.master.finkmirrors.net/ + +MAINTAINER= multimedia@FreeBSD.org +COMMENT= Theora video codec for the Ogg multimedia streaming system + +LIB_DEPENDS= vorbis.4:${PORTSDIR}/audio/libvorbis + +USE_BZIP2= yes +USE_LDCONFIG= yes +MAKE_JOBS_SAFE= yes +USE_AUTOTOOLS= libtool +USE_GNOME= ltverhack +CONFIGURE_ENV= LIBS="${PTHEAD_LIBS}" +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +CONFIGURE_ARGS+=--disable-sdltest \ + --enable-shared \ + --disable-examples + +.include + +post-patch: + @${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's, x86_64), x86_64|amd64),; \ + /ac_lib/ s,compat,,' ${WRKSRC}/configure +.if ${ARCH}=="amd64" + @${REINPLACE_CMD} -e 's|#define OC_X86_ASM|#undef OC_X86_ASM|' ${WRKSRC}/configure +.endif + +.include diff --git a/multimedia/libtheora/distinfo b/multimedia/libtheora/distinfo new file mode 100644 index 00000000000..f84c703778a --- /dev/null +++ b/multimedia/libtheora/distinfo @@ -0,0 +1,2 @@ +SHA256 (libtheora-1.1.1.tar.bz2) = b6ae1ee2fa3d42ac489287d3ec34c5885730b1296f0801ae577a35193d3affbc +SIZE (libtheora-1.1.1.tar.bz2) = 1903175 diff --git a/multimedia/libtheora/files/patch-Makefile.in b/multimedia/libtheora/files/patch-Makefile.in new file mode 100644 index 00000000000..9d72772f09d --- /dev/null +++ b/multimedia/libtheora/files/patch-Makefile.in @@ -0,0 +1,20 @@ +--- Makefile.in.orig 2009-10-01 18:04:07.000000000 +0000 ++++ Makefile.in 2009-12-21 01:17:02.000000000 +0000 +@@ -177,7 +177,7 @@ + theora-uninstalled.pc.in + + +-pkgconfigdir = $(libdir)/pkgconfig ++pkgconfigdir = $(prefix)/libdata/pkgconfig + pkgconfig_DATA = theora.pc theoradec.pc theoraenc.pc + subdir = . + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +@@ -200,7 +200,7 @@ + missing mkinstalldirs theora-uninstalled.pc.in theora.pc.in \ + theoradec-uninstalled.pc.in theoradec.pc.in \ + theoraenc-uninstalled.pc.in theoraenc.pc.in +-DIST_SUBDIRS = lib include doc tests m4 examples ++DIST_SUBDIRS = lib include m4 + all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + diff --git a/multimedia/libtheora/pkg-descr b/multimedia/libtheora/pkg-descr new file mode 100644 index 00000000000..6370a23db61 --- /dev/null +++ b/multimedia/libtheora/pkg-descr @@ -0,0 +1,7 @@ +Theora is Xiph.Org's video codec, intended for use within the Ogg +project's Ogg multimedia streaming system. Theora is derived +directly from On2's VP3 codec. + +This is alpha testing software; the API will probably change. + +WWW: http://www.theora.org diff --git a/multimedia/libtheora/pkg-plist b/multimedia/libtheora/pkg-plist new file mode 100644 index 00000000000..3f6920eda26 --- /dev/null +++ b/multimedia/libtheora/pkg-plist @@ -0,0 +1,20 @@ +include/theora/theora.h +include/theora/codec.h +include/theora/theoraenc.h +include/theora/theoradec.h +lib/libtheora.a +lib/libtheora.la +lib/libtheora.so +lib/libtheora.so.0 +lib/libtheoraenc.a +lib/libtheoraenc.la +lib/libtheoraenc.so +lib/libtheoraenc.so.1 +lib/libtheoradec.a +lib/libtheoradec.la +lib/libtheoradec.so +lib/libtheoradec.so.1 +libdata/pkgconfig/theora.pc +libdata/pkgconfig/theoraenc.pc +libdata/pkgconfig/theoradec.pc +@dirrm include/theora -- 2.41.0