diff options
author | abs <abs> | 2010-10-19 16:37:40 +0000 |
---|---|---|
committer | abs <abs> | 2010-10-19 16:37:40 +0000 |
commit | 8036db62690aee80e7d56a9c6e0a3aec269d94c0 (patch) | |
tree | db2ab3680a79d0a3200d0d76e8be359908d7edf2 /multimedia/mlt | |
parent | 9b3db592437be52e26e343ee71e92262daf3d42a (diff) | |
download | pkgsrc-8036db62690aee80e7d56a9c6e0a3aec269d94c0.tar.gz |
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.
Diffstat (limited to 'multimedia/mlt')
-rw-r--r-- | multimedia/mlt/DESCR | 6 | ||||
-rw-r--r-- | multimedia/mlt/Makefile | 35 | ||||
-rw-r--r-- | multimedia/mlt/PLIST | 206 | ||||
-rw-r--r-- | multimedia/mlt/buildlink3.mk | 13 | ||||
-rw-r--r-- | multimedia/mlt/distinfo | 14 | ||||
-rw-r--r-- | multimedia/mlt/patches/patch-aa | 29 | ||||
-rw-r--r-- | multimedia/mlt/patches/patch-ab | 14 | ||||
-rw-r--r-- | multimedia/mlt/patches/patch-ac | 14 | ||||
-rw-r--r-- | multimedia/mlt/patches/patch-ad | 14 | ||||
-rw-r--r-- | multimedia/mlt/patches/patch-ae | 14 | ||||
-rw-r--r-- | multimedia/mlt/patches/patch-af | 41 | ||||
-rw-r--r-- | multimedia/mlt/patches/patch-ag | 15 | ||||
-rw-r--r-- | multimedia/mlt/patches/patch-ah | 14 | ||||
-rw-r--r-- | multimedia/mlt/patches/patch-ai | 14 |
14 files changed, 443 insertions, 0 deletions
diff --git a/multimedia/mlt/DESCR b/multimedia/mlt/DESCR new file mode 100644 index 00000000000..2cf8d8737f3 --- /dev/null +++ b/multimedia/mlt/DESCR @@ -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. diff --git a/multimedia/mlt/Makefile b/multimedia/mlt/Makefile new file mode 100644 index 00000000000..56e5037c913 --- /dev/null +++ b/multimedia/mlt/Makefile @@ -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" diff --git a/multimedia/mlt/PLIST b/multimedia/mlt/PLIST new file mode 100644 index 00000000000..2864af874f7 --- /dev/null +++ b/multimedia/mlt/PLIST @@ -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 diff --git a/multimedia/mlt/buildlink3.mk b/multimedia/mlt/buildlink3.mk new file mode 100644 index 00000000000..8cfc8b333ad --- /dev/null +++ b/multimedia/mlt/buildlink3.mk @@ -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 diff --git a/multimedia/mlt/distinfo b/multimedia/mlt/distinfo new file mode 100644 index 00000000000..f3547239b4d --- /dev/null +++ b/multimedia/mlt/distinfo @@ -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 diff --git a/multimedia/mlt/patches/patch-aa b/multimedia/mlt/patches/patch-aa new file mode 100644 index 00000000000..c008e09ed79 --- /dev/null +++ b/multimedia/mlt/patches/patch-aa @@ -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" + ;; + *) diff --git a/multimedia/mlt/patches/patch-ab b/multimedia/mlt/patches/patch-ab new file mode 100644 index 00000000000..d17b0cd4ca1 --- /dev/null +++ b/multimedia/mlt/patches/patch-ab @@ -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" diff --git a/multimedia/mlt/patches/patch-ac b/multimedia/mlt/patches/patch-ac new file mode 100644 index 00000000000..fc2c47ecfe7 --- /dev/null +++ b/multimedia/mlt/patches/patch-ac @@ -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 + ;; + *) diff --git a/multimedia/mlt/patches/patch-ad b/multimedia/mlt/patches/patch-ad new file mode 100644 index 00000000000..d16762f18bb --- /dev/null +++ b/multimedia/mlt/patches/patch-ad @@ -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 + ;; + *) diff --git a/multimedia/mlt/patches/patch-ae b/multimedia/mlt/patches/patch-ae new file mode 100644 index 00000000000..1dde4e1277b --- /dev/null +++ b/multimedia/mlt/patches/patch-ae @@ -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" + ;; + *) diff --git a/multimedia/mlt/patches/patch-af b/multimedia/mlt/patches/patch-af new file mode 100644 index 00000000000..f1d0f9bd82c --- /dev/null +++ b/multimedia/mlt/patches/patch-af @@ -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) + { diff --git a/multimedia/mlt/patches/patch-ag b/multimedia/mlt/patches/patch-ag new file mode 100644 index 00000000000..1438ceb4b62 --- /dev/null +++ b/multimedia/mlt/patches/patch-ag @@ -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; diff --git a/multimedia/mlt/patches/patch-ah b/multimedia/mlt/patches/patch-ah new file mode 100644 index 00000000000..d25941c7f03 --- /dev/null +++ b/multimedia/mlt/patches/patch-ah @@ -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 diff --git a/multimedia/mlt/patches/patch-ai b/multimedia/mlt/patches/patch-ai new file mode 100644 index 00000000000..321c7644493 --- /dev/null +++ b/multimedia/mlt/patches/patch-ai @@ -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 |