aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-09-24 20:05:22 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-09-24 20:05:22 +0000
commit36f5ffb45f74a51650f25672142f81a289ef19d6 (patch)
tree8c86782a686dc30c2e1efea9516cd758ed86aa08 /multimedia
parent54d7301e037aa39cf01abefce7d5fcff639927bb (diff)
downloadports-36f5ffb45f74a51650f25672142f81a289ef19d6.tar.gz
ports-36f5ffb45f74a51650f25672142f81a289ef19d6.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/openquicktime/Makefile33
-rw-r--r--multimedia/openquicktime/distinfo1
-rw-r--r--multimedia/openquicktime/files/patch-videoplugin::PHOTO_JPEG::Makefile.in11
-rw-r--r--multimedia/openquicktime/pkg-comment1
-rw-r--r--multimedia/openquicktime/pkg-descr23
-rw-r--r--multimedia/openquicktime/pkg-install42
-rw-r--r--multimedia/openquicktime/pkg-plist15
7 files changed, 126 insertions, 0 deletions
diff --git a/multimedia/openquicktime/Makefile b/multimedia/openquicktime/Makefile
new file mode 100644
index 000000000000..476063450a13
--- /dev/null
+++ b/multimedia/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/multimedia/openquicktime/distinfo b/multimedia/openquicktime/distinfo
new file mode 100644
index 000000000000..97aa699cf585
--- /dev/null
+++ b/multimedia/openquicktime/distinfo
@@ -0,0 +1 @@
+MD5 (openquicktime-1.0-src.tgz) = f90bc78b8632c6c254cddf70b4726644
diff --git a/multimedia/openquicktime/files/patch-videoplugin::PHOTO_JPEG::Makefile.in b/multimedia/openquicktime/files/patch-videoplugin::PHOTO_JPEG::Makefile.in
new file mode 100644
index 000000000000..a72e15491029
--- /dev/null
+++ b/multimedia/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/multimedia/openquicktime/pkg-comment b/multimedia/openquicktime/pkg-comment
new file mode 100644
index 000000000000..d142265f6ab1
--- /dev/null
+++ b/multimedia/openquicktime/pkg-comment
@@ -0,0 +1 @@
+Portable library for handling Apple's QuickTime(TM) files
diff --git a/multimedia/openquicktime/pkg-descr b/multimedia/openquicktime/pkg-descr
new file mode 100644
index 000000000000..ba33c87c124c
--- /dev/null
+++ b/multimedia/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/multimedia/openquicktime/pkg-install b/multimedia/openquicktime/pkg-install
new file mode 100644
index 000000000000..bffe5d3e1646
--- /dev/null
+++ b/multimedia/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/multimedia/openquicktime/pkg-plist b/multimedia/openquicktime/pkg-plist
new file mode 100644
index 000000000000..add55c40a070
--- /dev/null
+++ b/multimedia/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