Friday, May 25, 2018

NEW: [1/2] multimedia/mlt

Hi All,

Update multimedia/mlt to the latest release. The diff is based on
the work of Matthew Martin[1]. It is required to import/replace
x11/kde-applications/kdenlive (kdenlive-17.12.3 - Next mail)

Tested with kdenlive-17.12.3 on amd64.

[1]: https://marc.info/?l=openbsd-ports&m=152428861822252&w=2

Index: Makefile
===================================================================
RCS file: /cvs/ports/multimedia/mlt/Makefile,v
retrieving revision 1.16
diff -u -p -u -p -r1.16 Makefile
--- Makefile 27 Jul 2017 09:55:45 -0000 1.16
+++ Makefile 25 May 2018 11:58:12 -0000
@@ -2,19 +2,17 @@

COMMENT-main = multimedia transformations framework
COMMENT-gpl2 = GPLv2-licensed modules for mlt
-VERSION = 6.0.0
+VERSION = 6.8.0
DISTNAME = mlt-${VERSION}
PKGNAME-main = ${DISTNAME}
PKGNAME-gpl2 = mlt-gpl2-${VERSION}
-REVISION-main = 3
-REVISION-gpl2 = 1

# XXX versions should be kept in sync together
-SHARED_LIBS = mlt 1.1
-SHARED_LIBS += mlt++ 1.1
+SHARED_LIBS = mlt 2.0
+SHARED_LIBS += mlt++ 2.0

CATEGORIES = multimedia devel
-HOMEPAGE = http://www.mltframework.org/
+HOMEPAGE = https://www.mltframework.org/

MAINTAINER = KDE porting team <openbsd-kde@googlegroups.com>

@@ -32,7 +30,7 @@ WANTLIB-gpl2 = ${COMPILER_LIBCXX} ${MOD
WANTLIB-gpl2 += lib/qt4/QtSvg lib/qt4/QtXml lib/qt4/QtOpenGL
WANTLIB-gpl2 += X11 exif m mlt mlt++ pthread samplerate

-MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=mlt/}
+MASTER_SITES = https://github.com/mltframework/mlt/releases/download/v${VERSION}/
EXTRACT_SUFX = .tar.gz

MULTI_PACKAGES = -main -gpl2
Index: distinfo
===================================================================
RCS file: /cvs/ports/multimedia/mlt/distinfo,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 distinfo
--- distinfo 3 Apr 2016 19:15:23 -0000 1.3
+++ distinfo 25 May 2018 11:58:12 -0000
@@ -1,2 +1,2 @@
-SHA256 (mlt-6.0.0.tar.gz) = MXh0z8f8Uo3duzp6Mv1GNyquIr3EUnvhz7Vck/pm470=
-SIZE (mlt-6.0.0.tar.gz) = 1281478
+SHA256 (mlt-6.8.0.tar.gz) = VNbCjI6uI7d8V7xZ7sRBrAc8VtAp9ZEyzOZHqKzpsNw=
+SIZE (mlt-6.8.0.tar.gz) = 1380452
Index: patches/patch-src_framework_Makefile
===================================================================
RCS file: /cvs/ports/multimedia/mlt/patches/patch-src_framework_Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 patch-src_framework_Makefile
--- patches/patch-src_framework_Makefile 14 Jul 2014 09:15:12 -0000 1.1.1.1
+++ patches/patch-src_framework_Makefile 25 May 2018 11:58:12 -0000
@@ -1,6 +1,7 @@
$OpenBSD: patch-src_framework_Makefile,v 1.1.1.1 2014/07/14 09:15:12 zhuk Exp $
---- src/framework/Makefile.orig Sun Jun 29 22:23:17 2014
-+++ src/framework/Makefile Wed Jul 9 09:43:49 2014
+Index: src/framework/Makefile
+--- src/framework/Makefile.orig
++++ src/framework/Makefile
@@ -1,7 +1,6 @@
include ../../config.mak
include config.mak
@@ -19,7 +20,7 @@ $OpenBSD: patch-src_framework_Makefile,v
else
NAME = libmlt$(LIBSUF)
TARGET = $(NAME).$(version)
-@@ -94,10 +96,12 @@ all: $(TARGET)
+@@ -96,10 +98,12 @@ all: $(TARGET)

$(TARGET): $(OBJS)
$(CC) $(SHFLAGS) -o $@ $(OBJS) $(LDFLAGS)
@@ -35,7 +36,7 @@ $OpenBSD: patch-src_framework_Makefile,v

depend: $(SRCS)
$(CC) -MM $(CFLAGS) $^ 1>.depend
-@@ -114,6 +118,8 @@ install:
+@@ -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) ; \
Index: patches/patch-src_framework_mlt_property_h
===================================================================
RCS file: /cvs/ports/multimedia/mlt/patches/patch-src_framework_mlt_property_h,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-src_framework_mlt_property_h
--- patches/patch-src_framework_mlt_property_h 24 May 2017 16:30:52 -0000 1.1
+++ patches/patch-src_framework_mlt_property_h 25 May 2018 11:58:12 -0000
@@ -3,13 +3,13 @@ $OpenBSD: patch-src_framework_mlt_proper
Index: src/framework/mlt_property.h
--- src/framework/mlt_property.h.orig
+++ src/framework/mlt_property.h
-@@ -30,8 +30,11 @@
- #include <sys/param.h>
-

No comments:

Post a Comment