Update mlt to 6.14.0
This commit is contained in:
parent
1f884893f3
commit
0ba92cbc87
@ -1,13 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.20 2019/03/10 12:17:07 cwen Exp $
|
||||
# $OpenBSD: Makefile,v 1.21 2019/04/26 13:39:16 rsadowski Exp $
|
||||
|
||||
COMMENT-main = multimedia transformations framework
|
||||
COMMENT-gpl2 = GPLv2-licensed modules for mlt
|
||||
VERSION = 6.12.0
|
||||
VERSION = 6.14.0
|
||||
DISTNAME = mlt-${VERSION}
|
||||
PKGNAME-main = ${DISTNAME}
|
||||
PKGNAME-gpl2 = mlt-gpl2-${VERSION}
|
||||
REVISION-gpl2 = 1
|
||||
REVISION-main = 1
|
||||
|
||||
# XXX versions should be kept in sync together
|
||||
SHARED_LIBS = mlt 3.0
|
||||
@ -23,13 +21,16 @@ MAINTAINER = Rafael Sadowski <rsadowski@openbsd.org>
|
||||
# file gets included, see --enable-gpl3 configure option.
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
WANTLIB-main += ${COMPILER_LIBCXX} SDL SDL2 X11 SDL_image avcodec avdevice
|
||||
WANTLIB-main += avfilter avformat avutil c exif fftw3 fontconfig gdk-x11-2.0
|
||||
WANTLIB-main += gdk_pixbuf-2.0 glib-2.0 gobject-2.0 jack m pango-1.0
|
||||
WANTLIB-main += pangoft2-1.0 sox swresample swscale xml2
|
||||
WANTLIB-main += ${COMPILER_LIBCXX} SDL SDL2 SDL_image X11 Xcomposite
|
||||
WANTLIB-main += Xcursor Xdamage Xext Xfixes Xi Xinerama Xrandr Xrender
|
||||
WANTLIB-main += atk-1.0 avcodec avdevice avfilter avformat avutil c
|
||||
WANTLIB-main += cairo exif fftw3 fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
|
||||
WANTLIB-main += gio-2.0 glib-2.0 gobject-2.0 gtk-x11-2.0 intl jack
|
||||
WANTLIB-main += m pango-1.0 pangocairo-1.0 pangoft2-1.0 sox swresample
|
||||
WANTLIB-main += swscale xml2 z
|
||||
|
||||
WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5Gui Qt5Svg Qt5Widgets
|
||||
WANTLIB += Qt5Xml SDL2 exif m mlt mlt++ samplerate
|
||||
WANTLIB += Qt5Xml SDL2 exif m mlt samplerate
|
||||
|
||||
MASTER_SITES = https://github.com/mltframework/mlt/releases/download/v${VERSION}/
|
||||
|
||||
@ -72,7 +73,6 @@ CONFIGURE_ARGS = --mandir=${PREFIX}/man \
|
||||
--disable-kino \
|
||||
--disable-swfdec \
|
||||
--enable-gpl
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/melt.1 ${PREFIX}/man/man1/
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (mlt-6.12.0.tar.gz) = BTBFBOHcIf6ebDQZC3D6OOa9zoU0BBZu5+BQS2eN3A8=
|
||||
SIZE (mlt-6.12.0.tar.gz) = 1395646
|
||||
SHA256 (mlt-6.14.0.tar.gz) = n88l6t/yiu6imnHGfPc7NXOpE0QkxW3idTTyJHwqfGs=
|
||||
SIZE (mlt-6.14.0.tar.gz) = 1413015
|
||||
|
@ -1,7 +1,8 @@
|
||||
$OpenBSD: patch-configure,v 1.2 2015/05/28 12:01:15 jca Exp $
|
||||
--- configure.orig Sun Jun 29 22:23:17 2014
|
||||
+++ configure Tue May 26 19:19:08 2015
|
||||
@@ -122,6 +122,13 @@ build_config()
|
||||
$OpenBSD: patch-configure,v 1.3 2019/04/26 13:39:16 rsadowski Exp $
|
||||
Index: configure
|
||||
--- configure.orig
|
||||
+++ configure
|
||||
@@ -124,6 +124,13 @@ build_config()
|
||||
echo "RDYNAMIC=-rdynamic"
|
||||
echo "LDFLAGS+=-Wl,--no-undefined -Wl,--as-needed"
|
||||
;;
|
||||
@ -13,5 +14,5 @@ $OpenBSD: patch-configure,v 1.2 2015/05/28 12:01:15 jca Exp $
|
||||
+ echo "LDFLAGS+=-Wl,--as-needed"
|
||||
+ ;;
|
||||
MinGW)
|
||||
[ "$optimisations" = "true" ] &&
|
||||
echo "OPTIMISATIONS+=-ffast-math"
|
||||
[ "$windeploy" = false ] &&
|
||||
echo "CFLAGS+=-DNODEPLOY"
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-src_framework_Makefile,v 1.2 2018/07/29 15:05:35 rsadowski Exp $
|
||||
$OpenBSD: patch-src_framework_Makefile,v 1.3 2019/04/26 13:39:16 rsadowski Exp $
|
||||
Index: src/framework/Makefile
|
||||
--- src/framework/Makefile.orig
|
||||
+++ src/framework/Makefile
|
||||
@ -36,10 +36,10 @@ Index: src/framework/Makefile
|
||||
|
||||
depend: $(SRCS)
|
||||
$(CC) -MM $(CFLAGS) $^ 1>.depend
|
||||
@@ -116,6 +120,8 @@ install:
|
||||
install -m 755 $(TARGET) $(DESTDIR)$(prefix) ; \
|
||||
install -m 755 $(TARGET) $(DESTDIR)$(libdir)/libmlt.dll ; \
|
||||
install -m 644 libmlt.def $(DESTDIR)$(libdir) ; \
|
||||
@@ -121,6 +125,8 @@ install:
|
||||
install -m 755 $(TARGET) "$(DESTDIR)$(bindir)/libmlt.dll" ; \
|
||||
fi; \
|
||||
install -m 644 libmlt.def "$(DESTDIR)$(libdir)" ; \
|
||||
+ elif [ "$(targetos)" = "OpenBSD" ]; then \
|
||||
+ install -m 444 $(TARGET) $(DESTDIR)$(libdir) ; \
|
||||
else \
|
||||
|
@ -1,14 +1,11 @@
|
||||
$OpenBSD: patch-src_framework_mlt_property_h,v 1.2 2018/07/29 15:05:35 rsadowski Exp $
|
||||
$OpenBSD: patch-src_framework_mlt_property_h,v 1.3 2019/04/26 13:39:16 rsadowski Exp $
|
||||
|
||||
Index: src/framework/mlt_property.h
|
||||
--- src/framework/mlt_property.h.orig
|
||||
+++ src/framework/mlt_property.h
|
||||
@@ -32,8 +32,11 @@
|
||||
|
||||
#if (defined(__GLIBC__) && !defined(__APPLE__)) || HAVE_LOCALE_H
|
||||
@@ -34,6 +34,9 @@
|
||||
# include <locale.h>
|
||||
-#elif defined(__APPLE__) || (__FreeBSD_version >= 900506)
|
||||
+#elif defined(__APPLE__) || defined(__FreeBSD_version) && (__FreeBSD_version >= 900506)
|
||||
#elif defined(__APPLE__) || (defined(__FreeBSD_version) && __FreeBSD_version >= 900506)
|
||||
# include <xlocale.h>
|
||||
+#elif defined(__OpenBSD__)
|
||||
+/* XXX matches __nop_locale glue in libc++ */
|
||||
|
@ -1,17 +1,18 @@
|
||||
$OpenBSD: patch-src_mlt++_Makefile,v 1.3 2016/04/03 19:15:23 zhuk Exp $
|
||||
--- src/mlt++/Makefile.orig Thu Feb 18 00:43:24 2016
|
||||
+++ src/mlt++/Makefile Mon Feb 29 19:34:22 2016
|
||||
@@ -12,6 +12,10 @@ NAME = libmlt++$(LIBSUF)
|
||||
TARGET = libmlt++-$(soversion)$(LIBSUF)
|
||||
CXXFLAGS += -DMLTPP_EXPORTS
|
||||
LIBFLAGS += -Wl,--output-def,libmlt++.def
|
||||
$OpenBSD: patch-src_mlt++_Makefile,v 1.4 2019/04/26 13:39:16 rsadowski Exp $
|
||||
Index: src/mlt++/Makefile
|
||||
--- src/mlt++/Makefile.orig
|
||||
+++ src/mlt++/Makefile
|
||||
@@ -11,6 +11,10 @@ else ifeq ($(targetos), MinGW)
|
||||
TARGET = libmlt++-$(soversion)$(LIBSUF)
|
||||
CXXFLAGS += -DMLTPP_EXPORTS
|
||||
LIBFLAGS += -Wl,--output-def,libmlt++.def
|
||||
+else ifeq ($(targetos), OpenBSD)
|
||||
+LIBmlt++_VERSION ?= $(soversion)
|
||||
+TARGET = libmlt++$(LIBSUF).$(LIBmlt++_VERSION)
|
||||
+LIBFLAGS += -shared
|
||||
+ LIBmlt++_VERSION ?= $(soversion)
|
||||
+ TARGET = libmlt++$(LIBSUF).$(LIBmlt++_VERSION)
|
||||
+ LIBFLAGS += -shared
|
||||
else
|
||||
NAME = libmlt++$(LIBSUF)
|
||||
TARGET = $(NAME).$(version)
|
||||
TARGET = $(NAME).$(version)
|
||||
SONAME = $(NAME).$(soversion)
|
||||
@@ -57,10 +61,12 @@ all: $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
@ -28,10 +29,10 @@ $OpenBSD: patch-src_mlt++_Makefile,v 1.3 2016/04/03 19:15:23 zhuk Exp $
|
||||
|
||||
depend: $(SRCS)
|
||||
$(CXX) -MM $(CXXFLAGS) $^ 1>.depend
|
||||
@@ -76,6 +82,8 @@ install:
|
||||
$(INSTALL) -m 755 $(TARGET) $(DESTDIR)$(prefix) ; \
|
||||
$(INSTALL) -m 755 $(TARGET) $(DESTDIR)$(libdir)/libmlt++.dll ; \
|
||||
$(INSTALL) -m 644 libmlt++.def $(DESTDIR)$(libdir) ; \
|
||||
@@ -81,6 +87,8 @@ install:
|
||||
$(INSTALL) -m 755 $(TARGET) "$(DESTDIR)$(bindir)/libmlt++.dll" ; \
|
||||
fi; \
|
||||
$(INSTALL) -m 644 libmlt++.def "$(DESTDIR)$(libdir)" ; \
|
||||
+ elif [ "$(targetos)" = "OpenBSD" ]; then \
|
||||
+ $(INSTALL) -m 444 $(TARGET) $(DESTDIR)$(libdir) ; \
|
||||
else \
|
||||
|
@ -1,8 +1,8 @@
|
||||
$OpenBSD: patch-src_modules_plusgpl_consumer_cbrts_c,v 1.3 2018/07/29 15:05:35 rsadowski Exp $
|
||||
$OpenBSD: patch-src_modules_plusgpl_consumer_cbrts_c,v 1.4 2019/04/26 13:39:16 rsadowski Exp $
|
||||
Index: src/modules/plusgpl/consumer_cbrts.c
|
||||
--- src/modules/plusgpl/consumer_cbrts.c.orig
|
||||
+++ src/modules/plusgpl/consumer_cbrts.c
|
||||
@@ -254,6 +254,10 @@ static void load_sections( consumer_cbrts self, mlt_pr
|
||||
@@ -255,6 +255,10 @@ static void load_sections( consumer_cbrts self, mlt_pr
|
||||
{
|
||||
size_t len = strlen( name );
|
||||
char *si_name = strdup( name + 3 );
|
||||
|
@ -1,9 +1,9 @@
|
||||
$OpenBSD: patch-src_modules_qt_Makefile,v 1.3 2018/07/29 15:05:35 rsadowski Exp $
|
||||
$OpenBSD: patch-src_modules_qt_Makefile,v 1.4 2019/04/26 13:39:16 rsadowski Exp $
|
||||
XXX Dirty hack
|
||||
Index: src/modules/qt/Makefile
|
||||
--- src/modules/qt/Makefile.orig
|
||||
+++ src/modules/qt/Makefile
|
||||
@@ -33,6 +33,10 @@ ifdef USE_FFTW
|
||||
@@ -34,6 +34,10 @@ ifdef USE_FFTW
|
||||
CFLAGS += -DUSE_FFTW
|
||||
endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST-main,v 1.8 2019/01/02 14:14:05 rsadowski Exp $
|
||||
@comment $OpenBSD: PLIST-main,v 1.9 2019/04/26 13:39:16 rsadowski Exp $
|
||||
@conflict freeze-<2.5p2
|
||||
@bin bin/melt
|
||||
include/mlt/
|
||||
@ -94,6 +94,8 @@ share/mlt/core/filter_fieldorder.yml
|
||||
share/mlt/core/filter_gamma.yml
|
||||
share/mlt/core/filter_greyscale.yml
|
||||
share/mlt/core/filter_luma.yml
|
||||
share/mlt/core/filter_mask_apply.yml
|
||||
share/mlt/core/filter_mask_start.yml
|
||||
share/mlt/core/filter_mirror.yml
|
||||
share/mlt/core/filter_mono.yml
|
||||
share/mlt/core/filter_obscure.yml
|
||||
@ -155,6 +157,52 @@ share/mlt/kdenlive/filter_freeze.yml
|
||||
share/mlt/kdenlive/filter_wave.yml
|
||||
share/mlt/kdenlive/producer_framebuffer.yml
|
||||
share/mlt/lumas/
|
||||
share/mlt/lumas/16_9/
|
||||
share/mlt/lumas/16_9/luma01.pgm
|
||||
share/mlt/lumas/16_9/luma02.pgm
|
||||
share/mlt/lumas/16_9/luma03.pgm
|
||||
share/mlt/lumas/16_9/luma04.pgm
|
||||
share/mlt/lumas/16_9/luma05.pgm
|
||||
share/mlt/lumas/16_9/luma06.pgm
|
||||
share/mlt/lumas/16_9/luma07.pgm
|
||||
share/mlt/lumas/16_9/luma08.pgm
|
||||
share/mlt/lumas/16_9/luma09.pgm
|
||||
share/mlt/lumas/16_9/luma10.pgm
|
||||
share/mlt/lumas/16_9/luma11.pgm
|
||||
share/mlt/lumas/16_9/luma12.pgm
|
||||
share/mlt/lumas/16_9/luma13.pgm
|
||||
share/mlt/lumas/16_9/luma14.pgm
|
||||
share/mlt/lumas/16_9/luma15.pgm
|
||||
share/mlt/lumas/16_9/luma16.pgm
|
||||
share/mlt/lumas/16_9/luma17.pgm
|
||||
share/mlt/lumas/16_9/luma18.pgm
|
||||
share/mlt/lumas/16_9/luma19.pgm
|
||||
share/mlt/lumas/16_9/luma20.pgm
|
||||
share/mlt/lumas/16_9/luma21.pgm
|
||||
share/mlt/lumas/16_9/luma22.pgm
|
||||
share/mlt/lumas/9_16/
|
||||
share/mlt/lumas/9_16/luma01.pgm
|
||||
share/mlt/lumas/9_16/luma02.pgm
|
||||
share/mlt/lumas/9_16/luma03.pgm
|
||||
share/mlt/lumas/9_16/luma04.pgm
|
||||
share/mlt/lumas/9_16/luma05.pgm
|
||||
share/mlt/lumas/9_16/luma06.pgm
|
||||
share/mlt/lumas/9_16/luma07.pgm
|
||||
share/mlt/lumas/9_16/luma08.pgm
|
||||
share/mlt/lumas/9_16/luma09.pgm
|
||||
share/mlt/lumas/9_16/luma10.pgm
|
||||
share/mlt/lumas/9_16/luma11.pgm
|
||||
share/mlt/lumas/9_16/luma12.pgm
|
||||
share/mlt/lumas/9_16/luma13.pgm
|
||||
share/mlt/lumas/9_16/luma14.pgm
|
||||
share/mlt/lumas/9_16/luma15.pgm
|
||||
share/mlt/lumas/9_16/luma16.pgm
|
||||
share/mlt/lumas/9_16/luma17.pgm
|
||||
share/mlt/lumas/9_16/luma18.pgm
|
||||
share/mlt/lumas/9_16/luma19.pgm
|
||||
share/mlt/lumas/9_16/luma20.pgm
|
||||
share/mlt/lumas/9_16/luma21.pgm
|
||||
share/mlt/lumas/9_16/luma22.pgm
|
||||
share/mlt/lumas/NTSC/
|
||||
share/mlt/lumas/NTSC/luma01.pgm
|
||||
share/mlt/lumas/NTSC/luma02.pgm
|
||||
@ -201,6 +249,29 @@ 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/lumas/square/
|
||||
share/mlt/lumas/square/luma01.pgm
|
||||
share/mlt/lumas/square/luma02.pgm
|
||||
share/mlt/lumas/square/luma03.pgm
|
||||
share/mlt/lumas/square/luma04.pgm
|
||||
share/mlt/lumas/square/luma05.pgm
|
||||
share/mlt/lumas/square/luma06.pgm
|
||||
share/mlt/lumas/square/luma07.pgm
|
||||
share/mlt/lumas/square/luma08.pgm
|
||||
share/mlt/lumas/square/luma09.pgm
|
||||
share/mlt/lumas/square/luma10.pgm
|
||||
share/mlt/lumas/square/luma11.pgm
|
||||
share/mlt/lumas/square/luma12.pgm
|
||||
share/mlt/lumas/square/luma13.pgm
|
||||
share/mlt/lumas/square/luma14.pgm
|
||||
share/mlt/lumas/square/luma15.pgm
|
||||
share/mlt/lumas/square/luma16.pgm
|
||||
share/mlt/lumas/square/luma17.pgm
|
||||
share/mlt/lumas/square/luma18.pgm
|
||||
share/mlt/lumas/square/luma19.pgm
|
||||
share/mlt/lumas/square/luma20.pgm
|
||||
share/mlt/lumas/square/luma21.pgm
|
||||
share/mlt/lumas/square/luma22.pgm
|
||||
share/mlt/metaschema.yaml
|
||||
share/mlt/oldfilm/
|
||||
share/mlt/oldfilm/dust1.svg
|
||||
@ -446,6 +517,9 @@ share/mlt/profiles/uhd_2160p_5994
|
||||
share/mlt/profiles/uhd_2160p_60
|
||||
share/mlt/profiles/vcd_ntsc
|
||||
share/mlt/profiles/vcd_pal
|
||||
share/mlt/profiles/vertical_hd_30
|
||||
share/mlt/profiles/vertical_hd_60
|
||||
share/mlt/qt/filter_qtext.yml
|
||||
share/mlt/sdl/
|
||||
share/mlt/sdl/consumer_sdl.yml
|
||||
share/mlt/sdl/consumer_sdl_audio.yml
|
||||
|
Loading…
Reference in New Issue
Block a user