diff options
author | lioux <lioux@FreeBSD.org> | 2001-09-25 04:05:22 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-09-25 04:05:22 +0800 |
commit | 66ebb771c883739a1ff70600a2cdaed918af4da5 (patch) | |
tree | 5d74d5778abce42b68eafd944e8b203bc85cfd19 /graphics | |
parent | 982311cc423d237e5295bfa512876294bdbc05fb (diff) | |
download | freebsd-ports-gnome-66ebb771c883739a1ff70600a2cdaed918af4da5.tar.gz freebsd-ports-gnome-66ebb771c883739a1ff70600a2cdaed918af4da5.tar.zst freebsd-ports-gnome-66ebb771c883739a1ff70600a2cdaed918af4da5.zip |
New port openquicktime version 1.0: Portable library for handling
Apple's QuickTime(TM) files
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/openquicktime/Makefile | 33 | ||||
-rw-r--r-- | graphics/openquicktime/distinfo | 1 | ||||
-rw-r--r-- | graphics/openquicktime/files/patch-videoplugin::PHOTO_JPEG::Makefile.in | 11 | ||||
-rw-r--r-- | graphics/openquicktime/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/openquicktime/pkg-descr | 23 | ||||
-rw-r--r-- | graphics/openquicktime/pkg-install | 42 | ||||
-rw-r--r-- | graphics/openquicktime/pkg-plist | 15 |
8 files changed, 127 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 1c89a95e1172..0ef1a8eda6af 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -176,6 +176,7 @@ SUBDIR += opendx SUBDIR += opendx-samples SUBDIR += opengl-man + SUBDIR += openquicktime SUBDIR += osg SUBDIR += p5-Chart-PNGgraph SUBDIR += p5-GD diff --git a/graphics/openquicktime/Makefile b/graphics/openquicktime/Makefile new file mode 100644 index 000000000000..476063450a13 --- /dev/null +++ b/graphics/openquicktime/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: openquicktime +# Date created: Mon Sep 24 16:26:33 BRT 2001 +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= openquicktime +PORTVERSION= 1.0 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= openquicktime +DISTNAME= ${PORTNAME}-${PORTVERSION}-src +EXTRACT_SUFX= .tgz + +MAINTAINER= lioux@FreeBSD.org + +LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg + +GNU_CONFIGURE= yes +USE_GTK= yes +USE_GMAKE= yes +INSTALL_SHLIBS= yes +PKGDEINSTALL= ${PKGINSTALL} + +post-patch: + @${PERL} -pi -e "s/xCC/xc/" ${WRKSRC}/configure + +post-install: + @${SETENV} PKG_PREFIX=${PREFIX} ${SH} \ + ${PKGINSTALL} ${PKGNAME} POST-INSTALL + +.include <bsd.port.mk> diff --git a/graphics/openquicktime/distinfo b/graphics/openquicktime/distinfo new file mode 100644 index 000000000000..97aa699cf585 --- /dev/null +++ b/graphics/openquicktime/distinfo @@ -0,0 +1 @@ +MD5 (openquicktime-1.0-src.tgz) = f90bc78b8632c6c254cddf70b4726644 diff --git a/graphics/openquicktime/files/patch-videoplugin::PHOTO_JPEG::Makefile.in b/graphics/openquicktime/files/patch-videoplugin::PHOTO_JPEG::Makefile.in new file mode 100644 index 000000000000..a72e15491029 --- /dev/null +++ b/graphics/openquicktime/files/patch-videoplugin::PHOTO_JPEG::Makefile.in @@ -0,0 +1,11 @@ +--- videoplugin/PHOTO_JPEG/Makefile.in.orig Mon Sep 24 16:14:46 2001 ++++ videoplugin/PHOTO_JPEG/Makefile.in Mon Sep 24 16:15:16 2001 +@@ -42,7 +42,7 @@ + # implicit rules + + %.o: %.c +- $(CC) $(CFLAGS) -I../.. -I. -c $< -o $@ ++ $(CC) $(CFLAGS) -I../.. -I. -I$(LOCALBASE)/include -c $< -o $@ + + + all: quicktime_codec_jpeg.so diff --git a/graphics/openquicktime/pkg-comment b/graphics/openquicktime/pkg-comment new file mode 100644 index 000000000000..d142265f6ab1 --- /dev/null +++ b/graphics/openquicktime/pkg-comment @@ -0,0 +1 @@ +Portable library for handling Apple's QuickTime(TM) files diff --git a/graphics/openquicktime/pkg-descr b/graphics/openquicktime/pkg-descr new file mode 100644 index 000000000000..ba33c87c124c --- /dev/null +++ b/graphics/openquicktime/pkg-descr @@ -0,0 +1,23 @@ +[from developer's site] +OpenQuicktime aims to be a portable library for handling Apple's +QuickTime (TM) popular media files on Unix-like environments. This +project was firstly designed to allow the porting of the 3ivx codec +on any Unix, but is now a completly separate and fully Open Source +project. Details: + +o OpenQuicktime library contains no embedded codecs but has a plugin + system to dynamically load audio and video codecs. +o OpenQuicktime contains no colorspace conversion algorithm. +o OpenQuicktime is fully portable and fully configurable with all + the autoconfigure and automake magic we have been able to add. +o OpenQuicktime supports compressed headers (decoding only for the + moment). +o OpenQuicktime supports Quicktime Sound System version 2. +o OpenQuicktime can support any inputs and outputs (file, HTTP, + FTP, RTP, ...), in fact the functions used to read, write and + seek are overloadable. +o OpenQuicktime has an overloadable plugin mechanism. This is a + complexe feature which enables any application to use its own + codecs instead of the OpenQuicktime ones. + +WWW: http://openquicktime.sourceforge.net/ diff --git a/graphics/openquicktime/pkg-install b/graphics/openquicktime/pkg-install new file mode 100644 index 000000000000..bffe5d3e1646 --- /dev/null +++ b/graphics/openquicktime/pkg-install @@ -0,0 +1,42 @@ +#!/bin/sh +# $FreeBSD$ + +[ $# != 2 ] && exit 1 +PKGNAME=$1 +ACTION=$2 + +LIB_DIR=${PKG_PREFIX}/lib +LIB_VERSION=0 + +LN="ln -sf" +RM=rm + +case "$ACTION" in + +POST-INSTALL) + ${LN} libopenquicktime.so \ + ${LIB_DIR}/libopenquicktime.so.${LIB_VERSION} + ${LN} quicktime_codec_.mp3.so \ + ${LIB_DIR}/quicktime_codec_.mp3.so.${LIB_VERSION} + ${LN} quicktime_codec_ms.so \ + ${LIB_DIR}/quicktime_codec_ms.so.${LIB_VERSION} + ${LN} quicktime_codec_jpeg.so \ + ${LIB_DIR}/quicktime_codec_jpeg.so.${LIB_VERSION} + ;; + +DEINSTALL) + ${RM} ${LIB_DIR}/libopenquicktime.so.${LIB_VERSION} + ${RM} ${LIB_DIR}/quicktime_codec_.mp3.so.${LIB_VERSION} + ${RM} ${LIB_DIR}/quicktime_codec_ms.so.${LIB_VERSION} + ${RM} ${LIB_DIR}/quicktime_codec_jpeg.so.${LIB_VERSION} + ;; + +PRE-INSTALL|POST-DEINSTALL) + ;; + +*) + exit 1 + ;; +esac + +exit diff --git a/graphics/openquicktime/pkg-plist b/graphics/openquicktime/pkg-plist new file mode 100644 index 000000000000..add55c40a070 --- /dev/null +++ b/graphics/openquicktime/pkg-plist @@ -0,0 +1,15 @@ +bin/recover +bin/dechunk +bin/qtinfo +bin/make_streamable +bin/qtdump +include/openquicktime/colormodels.h +include/openquicktime/codecs.h +include/openquicktime/config.h +include/openquicktime/private.h +include/openquicktime/openquicktime.h +lib/libopenquicktime.so +lib/quicktime_codec_.mp3.so +lib/quicktime_codec_ms.so +lib/quicktime_codec_jpeg.so +@dirrm include/openquicktime |