Added multimedia/mlt version 0.5.10

MLT is an open source multimedia framework, designed and developed
for television broadcasting. It provides a toolkit for broadcasters,
video editors, media players, transcoders, web streamers and many
more types of applications. The functionality of the system is
provided via an assortment of ready to use tools, XML authoring
components, and an extensible plug-in based API.
This commit is contained in:
abs 2010-10-19 16:37:40 +00:00
parent 05d6e7b526
commit ce84025b96
14 changed files with 443 additions and 0 deletions

6
multimedia/mlt/DESCR Normal file
View file

@ -0,0 +1,6 @@
MLT is an open source multimedia framework, designed and developed
for television broadcasting. It provides a toolkit for broadcasters,
video editors, media players, transcoders, web streamers and many
more types of applications. The functionality of the system is
provided via an assortment of ready to use tools, XML authoring
components, and an extensible plug-in based API.

35
multimedia/mlt/Makefile Normal file
View file

@ -0,0 +1,35 @@
# $NetBSD: Makefile,v 1.1.1.1 2010/10/19 16:37:40 abs Exp $
#
DISTNAME= mlt-0.5.10
CATEGORIES= multimedia
MASTER_SITES= http://downloads.sourceforge.net/project/mlt/mlt/
MAINTAINER= abs@NetBSD.org
HOMEPAGE= http://www.mltframework.org/twiki/bin/view/MLT/
COMMENT= Open source multimedia framework
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= pkg-config gmake
USE_LANGUAGES= c c++
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-gpl
PKGCONFIG_OVERRIDE+= mlt-0.5.10/mlt++.pc.in
PKGCONFIG_OVERRIDE+= mlt-0.5.10/mlt-framework.pc.in
.include "../../audio/ladspa/buildlink3.mk"
.include "../../audio/libsamplerate/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../audio/sox/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../multimedia/ffmpeg/buildlink3.mk"
.include "../../multimedia/libdv/buildlink3.mk"
.include "../../multimedia/xine-lib/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

206
multimedia/mlt/PLIST Normal file
View file

@ -0,0 +1,206 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2010/10/19 16:37:40 abs Exp $
bin/melt
include/mlt++/Mlt.h
include/mlt++/MltConsumer.h
include/mlt++/MltDeque.h
include/mlt++/MltEvent.h
include/mlt++/MltFactory.h
include/mlt++/MltField.h
include/mlt++/MltFilter.h
include/mlt++/MltFilteredConsumer.h
include/mlt++/MltFilteredProducer.h
include/mlt++/MltFrame.h
include/mlt++/MltGeometry.h
include/mlt++/MltMultitrack.h
include/mlt++/MltParser.h
include/mlt++/MltPlaylist.h
include/mlt++/MltProducer.h
include/mlt++/MltProfile.h
include/mlt++/MltProperties.h
include/mlt++/MltPushConsumer.h
include/mlt++/MltRepository.h
include/mlt++/MltService.h
include/mlt++/MltTokeniser.h
include/mlt++/MltTractor.h
include/mlt++/MltTransition.h
include/mlt++/config.h
include/mlt/framework/mlt.h
include/mlt/framework/mlt_cache.h
include/mlt/framework/mlt_consumer.h
include/mlt/framework/mlt_deque.h
include/mlt/framework/mlt_events.h
include/mlt/framework/mlt_factory.h
include/mlt/framework/mlt_field.h
include/mlt/framework/mlt_filter.h
include/mlt/framework/mlt_frame.h
include/mlt/framework/mlt_geometry.h
include/mlt/framework/mlt_log.h
include/mlt/framework/mlt_multitrack.h
include/mlt/framework/mlt_parser.h
include/mlt/framework/mlt_playlist.h
include/mlt/framework/mlt_pool.h
include/mlt/framework/mlt_producer.h
include/mlt/framework/mlt_profile.h
include/mlt/framework/mlt_properties.h
include/mlt/framework/mlt_property.h
include/mlt/framework/mlt_repository.h
include/mlt/framework/mlt_service.h
include/mlt/framework/mlt_tokeniser.h
include/mlt/framework/mlt_tractor.h
include/mlt/framework/mlt_transition.h
include/mlt/framework/mlt_types.h
lib/libmlt++.so
lib/libmlt++.so.0.5.10
lib/libmlt++.so.3
lib/libmlt.so
lib/libmlt.so.0.5.10
lib/libmlt.so.2
lib/mlt/libmltavformat.so
lib/mlt/libmltcore.so
lib/mlt/libmltdgraft.so
lib/mlt/libmltdv.so
lib/mlt/libmlteffectv.so
lib/mlt/libmltgtk2.so
lib/mlt/libmltkdenlive.so
lib/mlt/libmltkino.so
lib/mlt/libmltmelt.so
lib/mlt/libmltmotion_est.so
lib/mlt/libmltnormalize.so
lib/mlt/libmltoldfilm.so
lib/mlt/libmltplus.so
lib/mlt/libmltqimage.so
lib/mlt/libmltresample.so
lib/mlt/libmltsdl.so
lib/mlt/libmltsox.so
lib/mlt/libmltvmfx.so
lib/mlt/libmltvorbis.so
lib/mlt/libmltxine.so
lib/mlt/libmltxml.so
lib/pkgconfig/mlt++.pc
lib/pkgconfig/mlt-framework.pc
share/mlt/avformat/producer_avformat.yml
share/mlt/core/data_fx.properties
share/mlt/core/loader.dict
share/mlt/core/loader.ini
share/mlt/feeds/NTSC/data_fx.properties
share/mlt/feeds/NTSC/obscure.properties
share/mlt/feeds/PAL/border.properties
share/mlt/feeds/PAL/data_fx.properties
share/mlt/feeds/PAL/etv.properties
share/mlt/feeds/PAL/example.properties
share/mlt/feeds/PAL/obscure.properties
share/mlt/lumas/NTSC/luma01.pgm
share/mlt/lumas/NTSC/luma02.pgm
share/mlt/lumas/NTSC/luma03.pgm
share/mlt/lumas/NTSC/luma04.pgm
share/mlt/lumas/NTSC/luma05.pgm
share/mlt/lumas/NTSC/luma06.pgm
share/mlt/lumas/NTSC/luma07.pgm
share/mlt/lumas/NTSC/luma08.pgm
share/mlt/lumas/NTSC/luma09.pgm
share/mlt/lumas/NTSC/luma10.pgm
share/mlt/lumas/NTSC/luma11.pgm
share/mlt/lumas/NTSC/luma12.pgm
share/mlt/lumas/NTSC/luma13.pgm
share/mlt/lumas/NTSC/luma14.pgm
share/mlt/lumas/NTSC/luma15.pgm
share/mlt/lumas/NTSC/luma16.pgm
share/mlt/lumas/NTSC/luma17.pgm
share/mlt/lumas/NTSC/luma18.pgm
share/mlt/lumas/NTSC/luma19.pgm
share/mlt/lumas/NTSC/luma20.pgm
share/mlt/lumas/NTSC/luma21.pgm
share/mlt/lumas/NTSC/luma22.pgm
share/mlt/lumas/PAL/luma01.pgm
share/mlt/lumas/PAL/luma02.pgm
share/mlt/lumas/PAL/luma03.pgm
share/mlt/lumas/PAL/luma04.pgm
share/mlt/lumas/PAL/luma05.pgm
share/mlt/lumas/PAL/luma06.pgm
share/mlt/lumas/PAL/luma07.pgm
share/mlt/lumas/PAL/luma08.pgm
share/mlt/lumas/PAL/luma09.pgm
share/mlt/lumas/PAL/luma10.pgm
share/mlt/lumas/PAL/luma11.pgm
share/mlt/lumas/PAL/luma12.pgm
share/mlt/lumas/PAL/luma13.pgm
share/mlt/lumas/PAL/luma14.pgm
share/mlt/lumas/PAL/luma15.pgm
share/mlt/lumas/PAL/luma16.pgm
share/mlt/lumas/PAL/luma17.pgm
share/mlt/lumas/PAL/luma18.pgm
share/mlt/lumas/PAL/luma19.pgm
share/mlt/lumas/PAL/luma20.pgm
share/mlt/lumas/PAL/luma21.pgm
share/mlt/lumas/PAL/luma22.pgm
share/mlt/metaschema.yaml
share/mlt/oldfilm/dust1.svg
share/mlt/oldfilm/dust2.svg
share/mlt/oldfilm/dust3.svg
share/mlt/oldfilm/dust4.svg
share/mlt/oldfilm/dust5.svg
share/mlt/oldfilm/fdust.svg
share/mlt/oldfilm/filter_dust.yml
share/mlt/oldfilm/filter_grain.yml
share/mlt/oldfilm/filter_lines.yml
share/mlt/oldfilm/filter_oldfilm.yml
share/mlt/oldfilm/filter_tcolor.yml
share/mlt/oldfilm/filter_vignette.yml
share/mlt/oldfilm/grain.svg
share/mlt/oldfilm/lines.svg
share/mlt/oldfilm/oldfilm.svg
share/mlt/oldfilm/tcolor.svg
share/mlt/oldfilm/vignette.svg
share/mlt/profiles/atsc_1080i_50
share/mlt/profiles/atsc_1080i_5994
share/mlt/profiles/atsc_1080i_60
share/mlt/profiles/atsc_1080p_2398
share/mlt/profiles/atsc_1080p_24
share/mlt/profiles/atsc_1080p_25
share/mlt/profiles/atsc_1080p_2997
share/mlt/profiles/atsc_1080p_30
share/mlt/profiles/atsc_720p_2398
share/mlt/profiles/atsc_720p_24
share/mlt/profiles/atsc_720p_25
share/mlt/profiles/atsc_720p_2997
share/mlt/profiles/atsc_720p_30
share/mlt/profiles/atsc_720p_50
share/mlt/profiles/atsc_720p_5994
share/mlt/profiles/atsc_720p_60
share/mlt/profiles/cif_15
share/mlt/profiles/cif_ntsc
share/mlt/profiles/cif_pal
share/mlt/profiles/cvd_ntsc
share/mlt/profiles/cvd_pal
share/mlt/profiles/dv_ntsc
share/mlt/profiles/dv_ntsc_wide
share/mlt/profiles/dv_pal
share/mlt/profiles/dv_pal_wide
share/mlt/profiles/hdv_1080_25p
share/mlt/profiles/hdv_1080_30p
share/mlt/profiles/hdv_1080_50i
share/mlt/profiles/hdv_1080_60i
share/mlt/profiles/hdv_720_25p
share/mlt/profiles/hdv_720_30p
share/mlt/profiles/hdv_720_50p
share/mlt/profiles/hdv_720_60p
share/mlt/profiles/qcif_15
share/mlt/profiles/qcif_ntsc
share/mlt/profiles/qcif_pal
share/mlt/profiles/quarter_15
share/mlt/profiles/quarter_ntsc
share/mlt/profiles/quarter_ntsc_wide
share/mlt/profiles/quarter_pal
share/mlt/profiles/quarter_pal_wide
share/mlt/profiles/sdi_486i_5994
share/mlt/profiles/square_ntsc
share/mlt/profiles/square_ntsc_wide
share/mlt/profiles/square_pal
share/mlt/profiles/square_pal_wide
share/mlt/profiles/svcd_ntsc
share/mlt/profiles/svcd_ntsc_wide
share/mlt/profiles/svcd_pal
share/mlt/profiles/svcd_pal_wide
share/mlt/profiles/vcd_ntsc
share/mlt/profiles/vcd_pal
share/mlt/xml/mlt-xml.dtd

View file

@ -0,0 +1,13 @@
# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/10/19 16:37:40 abs Exp $
BUILDLINK_TREE+= mlt
.if !defined(MLT_BUILDLINK3_MK)
MLT_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.mlt+= mlt>=0.5.10
BUILDLINK_ABI_DEPENDS.mlt+= mlt>=0.5.10
BUILDLINK_PKGSRCDIR.mlt?= ../../multimedia/mlt
.endif # MLT_BUILDLINK3_MK
BUILDLINK_TREE+= -mlt

14
multimedia/mlt/distinfo Normal file
View file

@ -0,0 +1,14 @@
$NetBSD: distinfo,v 1.1.1.1 2010/10/19 16:37:40 abs Exp $
SHA1 (mlt-0.5.10.tar.gz) = e0b3d8f77ad6d97d6495614e78dfbbb531e70f77
RMD160 (mlt-0.5.10.tar.gz) = 015053ddb98175adc905d2ccf29ae962f295a9bb
Size (mlt-0.5.10.tar.gz) = 819471 bytes
SHA1 (patch-aa) = 81e112a07b888536d7cc0b2506918a958c41a02f
SHA1 (patch-ab) = e2c6e74c42acc769fd6787ab9723218d0ca7b93b
SHA1 (patch-ac) = 1aa73d039e47579fc6f6fba5292a3c91c7b66ee3
SHA1 (patch-ad) = 218c7411d90e1f67bcf450fbd0fb2deec26cfab7
SHA1 (patch-ae) = 82ab06cc0d874a5e462aa447bc130b7fdb3edfbe
SHA1 (patch-af) = 7b6bef211aea58ac403d63dacaf8e63aac874437
SHA1 (patch-ag) = b8bffdf13809ce4d131cd38a9b881f94e896ffc8
SHA1 (patch-ah) = 3faa2896675c26d6a5ae3445cd1f5787cb8aa191
SHA1 (patch-ai) = 7f6681c965e8dd5f115002281ce7b420e517ec33

View file

@ -0,0 +1,29 @@
$NetBSD: patch-aa,v 1.1.1.1 2010/10/19 16:37:40 abs Exp $
# Add support for NetBSD - copy of FreeBSD except for uname -m amd64 vs x86_64
--- configure.orig 2010-09-14 06:00:09.000000000 +0000
+++ configure
@@ -97,6 +97,14 @@ build_config()
echo "RDYNAMIC=-rdynamic"
echo "LDFLAGS+=-Wl,--no-undefined -Wl,--as-needed"
;;
+ NetBSD)
+ [ "$(uname -m)" = "amd64" ] && echo "ARCH_X86_64=1" && echo "CFLAGS+=-DARCH_X86_64"
+ echo "OPTIMISATIONS+=-ffast-math"
+ echo "CFLAGS+=-pthread"
+ echo "SHFLAGS=-shared"
+ echo "RDYNAMIC=-rdynamic"
+ echo "LDFLAGS+=-Wl,--no-undefined -Wl,--as-needed"
+ ;;
*)
;;
esac
@@ -171,7 +179,7 @@ case $targetos in
Darwin)
LIBSUF=".dylib"
;;
- Linux|FreeBSD)
+ Linux|FreeBSD|NetBSD)
LIBSUF=".so"
;;
*)

View file

@ -0,0 +1,14 @@
$NetBSD: patch-ab,v 1.1.1.1 2010/10/19 16:37:40 abs Exp $
# Add support for NetBSD - match FreeBSD
--- src/mlt++/configure.orig 2010-09-14 06:00:09.000000000 +0000
+++ src/mlt++/configure
@@ -11,7 +11,7 @@ case $targetos in
echo "CXXFLAGS+=-D__DARWIN__ -Wall -fPIC"
echo "LIBFLAGS=-dynamiclib -single_module"
;;
- Linux|FreeBSD)
+ Linux|FreeBSD|NetBSD)
echo LIBSUF=.so
echo "CXXFLAGS+=-Wall $WARNINGS -fPIC -DPIC"
echo "LIBFLAGS=-shared"

View file

@ -0,0 +1,14 @@
$NetBSD: patch-ac,v 1.1.1.1 2010/10/19 16:37:40 abs Exp $
# Add support for NetBSD - match FreeBSD
--- src/modules/avformat/configure.orig 2010-09-14 06:00:09.000000000 +0000
+++ src/modules/avformat/configure
@@ -34,7 +34,7 @@ else
Darwin)
export LIBSUF=.dylib
;;
- Linux|FreeBSD)
+ Linux|FreeBSD|NetBSD)
export LIBSUF=.so
;;
*)

View file

@ -0,0 +1,14 @@
$NetBSD: patch-ad,v 1.1.1.1 2010/10/19 16:37:40 abs Exp $
# Add support for NetBSD - match FreeBSD
--- src/modules/qimage/configure.orig 2010-09-14 06:00:09.000000000 +0000
+++ src/modules/qimage/configure
@@ -24,7 +24,7 @@ else
Darwin)
export LIBSUF=.dylib
;;
- Linux|FreeBSD)
+ Linux|FreeBSD|NetBSD)
export LIBSUF=.so
;;
*)

View file

@ -0,0 +1,14 @@
$NetBSD: patch-ae,v 1.1.1.1 2010/10/19 16:37:40 abs Exp $
# Add support for NetBSD - match FreeBSD
--- src/modules/sox/configure.orig 2010-09-14 06:00:09.000000000 +0000
+++ src/modules/sox/configure
@@ -8,7 +8,7 @@ then
Darwin)
LDD="otool -L"
;;
- Linux|FreeBSD)
+ Linux|FreeBSD|NetBSD)
LDD="ldd"
;;
*)

View file

@ -0,0 +1,41 @@
$NetBSD: patch-af,v 1.1.1.1 2010/10/19 16:37:40 abs Exp $
# Add NetBSD support (same as FreeBSD) and clean up *BSD ifdefs
--- src/modules/kino/endian_types.h.orig 2010-09-14 06:00:09.000000000 +0000
+++ src/modules/kino/endian_types.h
@@ -28,30 +28,26 @@
#define _ENDIAN_TYPES_H
/* Needed for BYTE_ORDER and BIG/LITTLE_ENDIAN macros. */
+#if !defined(__FreeBSD__) && !defined(__NetBSD__)
#ifndef _BSD_SOURCE
# define _BSD_SOURCE
-#ifndef __FreeBSD__
# include <endian.h>
-#else
-# include <sys/endian.h>
-#endif /* __FreeBSD__ */
# undef _BSD_SOURCE
#else
-#ifndef __FreeBSD__
# include <endian.h>
+#endif
#else
# include <sys/endian.h>
-#endif /* __FreeBSD__ */
-#endif
+#endif /* !defined(__FreeBSD__) && !defined(__NetBSD__) */
#include <sys/types.h>
-#ifndef __FreeBSD__
+#if !defined(__FreeBSD__) && !defined(__NetBSD__)
#include <byteswap.h>
#else
#define bswap_16(x) bswap16(x)
#define bswap_32(x) bswap32(x)
#define bswap_64(x) bswap64(x)
-#endif /* __FreeBSD__ */
+#endif /* !defined(__FreeBSD__) && !defined(__NetBSD__) */
static inline int8_t bswap(const int8_t& x)
{

View file

@ -0,0 +1,15 @@
$NetBSD: patch-ag,v 1.1.1.1 2010/10/19 16:37:40 abs Exp $
# Remove unnecessary byteswap.h as we later include riff.h which includes byteswap.h as needed
--- src/modules/kino/riff.cc.orig 2010-09-14 06:00:09.000000000 +0000
+++ src/modules/kino/riff.cc
@@ -25,9 +25,6 @@
//#include <stdio.h>
#include <iostream>
#include <iomanip>
-#ifndef __FreeBSD__
-#include <byteswap.h>
-#endif /* __FreeBSD__ */
using std::cout;
using std::hex;

View file

@ -0,0 +1,14 @@
$NetBSD: patch-ah,v 1.1.1.1 2010/10/19 16:37:40 abs Exp $
# Use CXX rather than CC to link c++, to ensure correct handling on more platforms
--- src/modules/kino/Makefile.orig 2010-09-14 06:00:09.000000000 +0000
+++ src/modules/kino/Makefile
@@ -30,7 +30,7 @@ SRCS := $(OBJS:.o=.c) $(CPPOBJS:.o=.cc)
all: $(TARGET)
$(TARGET): $(OBJS) $(CPPOBJS)
- $(CC) -shared -o $@ $(OBJS) $(CPPOBJS) $(LDFLAGS)
+ $(CXX) -shared -o $@ $(OBJS) $(CPPOBJS) $(LDFLAGS)
depend: $(SRCS)
$(CC) -MM $(CFLAGS) $^ 1>.depend

View file

@ -0,0 +1,14 @@
$NetBSD: patch-ai,v 1.1.1.1 2010/10/19 16:37:40 abs Exp $
# Use CXX rather than CC to link c++, to ensure correct handling on more platforms
--- src/modules/qimage/Makefile.orig 2010-09-14 06:00:09.000000000 +0000
+++ src/modules/qimage/Makefile
@@ -24,7 +24,7 @@ SRCS := $(OBJS:.o=.c) $(CPPOBJS:.o=.cpp)
all: $(TARGET)
$(TARGET): $(OBJS) $(CPPOBJS)
- $(CC) $(SHFLAGS) -o $@ $(OBJS) $(CPPOBJS) $(LDFLAGS)
+ $(CXX) $(SHFLAGS) -o $@ $(OBJS) $(CPPOBJS) $(LDFLAGS)
depend: $(SRCS)
$(CC) -MM $(CFLAGS) $(QTCXXFLAGS) $^ 1>.depend