mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Add opencinematools: tools for creating multi-reel DCPs from MXF
source material.
This commit is contained in:
parent
758ccf8692
commit
516400410e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281945
@ -230,6 +230,7 @@
|
||||
SUBDIR += oggvideotools
|
||||
SUBDIR += ogmrip
|
||||
SUBDIR += ogmtools
|
||||
SUBDIR += opencinematools
|
||||
SUBDIR += openmovieeditor
|
||||
SUBDIR += openquicktime
|
||||
SUBDIR += openshot
|
||||
|
41
multimedia/opencinematools/Makefile
Normal file
41
multimedia/opencinematools/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
# New ports collection makefile for: opencinematools
|
||||
# Date created: 2011-09-18
|
||||
# Whom: Jimmy Olgeni <olgeni@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= opencinematools
|
||||
PORTVERSION= 1.1.2
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
||||
|
||||
MAINTAINER= olgeni@FreeBSD.org
|
||||
COMMENT= Tools for creating multi-reel DCPs from MXF source material
|
||||
|
||||
LIB_DEPENDS= openjpeg.2:${PORTSDIR}/graphics/openjpeg \
|
||||
expat.6:${PORTSDIR}/textproc/expat2 \
|
||||
asdcp.0:${PORTSDIR}/multimedia/asdcplib
|
||||
|
||||
USE_DOS2UNIX= yes
|
||||
USE_ZIP= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
MAKE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
|
||||
PLIST_FILES= bin/mkcpl bin/mkpkl bin/mkmap
|
||||
|
||||
do-build:
|
||||
@cd ${WRKSRC}/build/unix && ${MAKE} ${MAKE_ENV}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/mkcpl ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/mkpkl ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/mkmap ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
2
multimedia/opencinematools/distinfo
Normal file
2
multimedia/opencinematools/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (opencinematools-1.1.2-src.zip) = 56737d2874c2d33a4a8083b372af8bf39c7b3959e0fd5e14555b27a5ebbf7d0f
|
||||
SIZE (opencinematools-1.1.2-src.zip) = 5022809
|
26
multimedia/opencinematools/files/patch-build_unix_Makefile
Normal file
26
multimedia/opencinematools/files/patch-build_unix_Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- build/unix/Makefile.orig
|
||||
+++ build/unix/Makefile
|
||||
@@ -1,13 +1,15 @@
|
||||
CC = g++
|
||||
-LIBS = -lm -lopenjpeg -lexpat -lasdcp -lkumu -crypto
|
||||
+LIBS = -lm -lopenjpeg -lexpat -lasdcp -lkumu -lcrypto
|
||||
SRCS = ../../src/
|
||||
BINS = ../../bin/
|
||||
|
||||
+all : mkcpl mkpkl mkmap
|
||||
+
|
||||
mkcpl : $(SRCS)mkcpl.cpp
|
||||
- $(CC) -o $(BINS)mkcpl $(SRCS)mkcpl.cpp $(LIBS)
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $(BINS)mkcpl $(SRCS)mkcpl.cpp $(LIBS)
|
||||
|
||||
mkpkl : $(SRCS)mkpkl.cpp
|
||||
- $(CC) -o $(BINS)mkpkl $(SRCS)mkpkl.cpp $(LIBS)
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $(BINS)mkpkl $(SRCS)mkpkl.cpp $(LIBS)
|
||||
|
||||
mkmap : $(SRCS)mkmap.cpp
|
||||
- $(CC) -o $(BINS)mkmap $(SRCS)mkmap.cpp $(LIBS)
|
||||
\ No newline at end of file
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $(BINS)mkmap $(SRCS)mkmap.cpp $(LIBS)
|
14
multimedia/opencinematools/files/patch-src_mkcpl.cpp
Normal file
14
multimedia/opencinematools/files/patch-src_mkcpl.cpp
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- src/mkcpl.cpp.orig
|
||||
+++ src/mkcpl.cpp
|
||||
@@ -589,7 +589,7 @@
|
||||
PCMReader.FillWriterInfo(WInfo);
|
||||
|
||||
AAssets.push_back(Asset());
|
||||
- sprintf(buff, "%u %u", ADesc.SampleRate.Numerator, ADesc.SampleRate.Denominator);
|
||||
+ sprintf(buff, "%u %u", ADesc.AudioSamplingRate.Numerator, ADesc.AudioSamplingRate.Denominator);
|
||||
AAssets.back().EditRate = buff;
|
||||
|
||||
AAssets.back().IntrinsicDuration = ADesc.ContainerDuration;
|
6
multimedia/opencinematools/pkg-descr
Normal file
6
multimedia/opencinematools/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
The goals for Open Cinema Tools are:
|
||||
|
||||
* Creation of DCP from source files
|
||||
* Support for multi-reel DCPs with several audio and subtitle tracks
|
||||
|
||||
WWW: http://www.opencinematools.org/
|
Loading…
Reference in New Issue
Block a user