Skip to content
Snippets Groups Projects
Commit 1c45c79f authored by Jason E. Hale's avatar Jason E. Hale
Browse files

multimedia/mlt7: Fix symbol export on 32-bit archs

Add upstream patches to fix export of Mlt::Producer::set_creation_time()
on 32-bit archs.

While here:
Clean up excess whitespace and remove unused OPENGL_* variables.
parent 64cd84d7
No related branches found
No related tags found
No related merge requests found
PORTNAME= ${_MLT_PORTNAME} PORTNAME= ${_MLT_PORTNAME}
DISTVERSION= ${_MLT_VERSION} DISTVERSION= ${_MLT_VERSION}
PORTREVISION?= 1 PORTREVISION?= 2
CATEGORIES?= multimedia CATEGORIES?= multimedia
MASTER_SITES= https://github.com/mltframework/mlt/releases/download/v${DISTVERSION}/ MASTER_SITES= https://github.com/mltframework/mlt/releases/download/v${DISTVERSION}/
DISTFILES= mlt-${DISTVERSION}${EXTRACT_SUFX} DISTFILES= mlt-${DISTVERSION}${EXTRACT_SUFX}
WRKSRC= ${WRKDIR}/mlt-${DISTVERSION}
MAINTAINER= kde@FreeBSD.org PATCH_SITES= https://github.com/mltframework/mlt/commit/
COMMENT?= Multimedia framework for TV broadcasting PATCHFILES+= 6f533e7b8999bc4017c1a6685bf2baea6570d44c.patch:-p1 # Fix export of Mlt::Producer::set_creation_time() on 32-bit archs
WWW= https://www.mltframework.org/ PATCHFILES+= 2072c6b3596854f1a7165d7ddd5994204e741db8.patch:-p1 # Fix export of Mlt::Producer::set_creation_time() on 32-bit archs
PATCHFILES+= 63953cf7338181c82eb6eb9f93c8c9a11aaee5f7.patch:-p1 # Fix export of Mlt::Producer::set_creation_time() on 32-bit archs
LICENSE?= GPLv2 GPLv3 LGPL21 MAINTAINER= kde@FreeBSD.org
LICENSE_COMB?= multi COMMENT?= Multimedia framework for TV broadcasting
WWW= https://www.mltframework.org/
USES+= alias cmake compiler:c++11-lang eigen:3 localbase \ LICENSE?= GPLv2 GPLv3 LGPL21
pathfix pkgconfig LICENSE_COMB?= multi
USE_LDCONFIG= yes
USES+= alias cmake compiler:c++11-lang eigen:3 localbase \
pathfix pkgconfig
USE_LDCONFIG= yes
# Suppress errors with lld >= 17 due to undefined symbols. # Suppress errors with lld >= 17 due to undefined symbols.
LDFLAGS+= -Wl,--undefined-version LDFLAGS+= -Wl,--undefined-version
DATADIR= ${PREFIX}/share/mlt-7
DATADIR= ${PREFIX}/share/mlt-7 WRKSRC= ${WRKDIR}/mlt-${DISTVERSION}
.ifndef(SLAVEPORT) # Master port. .ifndef(SLAVEPORT) # Master port.
USES+= gnome mlt:7,nodepend USES+= gnome mlt:7,nodepend
USE_GNOME= libxml2 USE_GNOME= libxml2
CMAKE_ON= MOD_XML CMAKE_ON= MOD_XML
# Explicitly disabled modules that are ouddated, unnecessary, or have # Explicitly disabled modules that are ouddated, unnecessary, or have
# their own port. # their own port.
CMAKE_OFF= MOD_GLAXNIMATE MOD_GLAXNIMATE_QT6 MOD_SDL1 MOD_QT \ CMAKE_OFF= MOD_GLAXNIMATE MOD_GLAXNIMATE_QT6 MOD_SDL1 MOD_QT \
MOD_QT6 MOD_NDI \ MOD_QT6 MOD_NDI \
SWIG_CSHARP SWIG_JAVA SWIG_LUA SWIG_NODEJS SWIG_PERL \ SWIG_CSHARP SWIG_JAVA SWIG_LUA SWIG_NODEJS SWIG_PERL \
SWIG_PHP SWIG_PYTHON SWIG_RUBY SWIG_TCL SWIG_PHP SWIG_PYTHON SWIG_RUBY SWIG_TCL
PORTDOCS= AUTHORS NEWS PORTDOCS= AUTHORS NEWS
PORTEXAMPLES= demo PORTEXAMPLES= demo
OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_DEFINE= DOCS EXAMPLES
OPTIONS_DEFAULT= AVFORMAT FREI0R GDK MOVIT KDENLIVE NORMALIZE PLUS PLUSGPL RESAMPLE SDL2 SOX \ OPTIONS_DEFAULT= AVFORMAT FREI0R GDK MOVIT KDENLIVE NORMALIZE PLUS PLUSGPL RESAMPLE SDL2 SOX \
...@@ -76,7 +82,7 @@ JACKRACK_CMAKE_BOOL= MOD_JACKRACK ...@@ -76,7 +82,7 @@ JACKRACK_CMAKE_BOOL= MOD_JACKRACK
KDENLIVE_DESC= Enable kdenlive module KDENLIVE_DESC= Enable kdenlive module
KDENLIVE_CMAKE_BOOL= MOD_KDENLIVE KDENLIVE_CMAKE_BOOL= MOD_KDENLIVE
MOVIT_DESC= Enable OpenGL module MOVIT_DESC= Enable Movit module
MOVIT_USES= gl xorg MOVIT_USES= gl xorg
MOVIT_USE= gl=opengl xorg=x11 MOVIT_USE= gl=opengl xorg=x11
MOVIT_LIB_DEPENDS= libmovit.so:graphics/movit \ MOVIT_LIB_DEPENDS= libmovit.so:graphics/movit \
...@@ -93,13 +99,6 @@ OPENCV_DESC= Enable OpenCV module ...@@ -93,13 +99,6 @@ OPENCV_DESC= Enable OpenCV module
OPENCV_LIB_DEPENDS= libopencv_core.so:graphics/opencv OPENCV_LIB_DEPENDS= libopencv_core.so:graphics/opencv
OPENCV_CMAKE_BOOL= MOD_OPENCV OPENCV_CMAKE_BOOL= MOD_OPENCV
OPENGL_DESC= Enable OpenGL module
OPENGL_CMAKE_BOOL= MOD_OPENGL
OPENGL_LIB_DEPENDS= libepoxy.so:graphics/libepoxy \
libmovit.so:graphics/movit
OPENGL_USES= gl xorg
OPENGL_USE= gl=gl xorg=x11
PLUSGPL_DESC= Enable plus GPL module PLUSGPL_DESC= Enable plus GPL module
PLUSGPL_CMAKE_BOOL= MOD_PLUSGPL PLUSGPL_CMAKE_BOOL= MOD_PLUSGPL
...@@ -161,11 +160,11 @@ post-install-EXAMPLES-on: ...@@ -161,11 +160,11 @@ post-install-EXAMPLES-on:
.endfor .endfor
.else # Slave port. .else # Slave port.
PORTSCOUT= ignore:1 PORTSCOUT= ignore:1
# Depend on multimedia/mlt7 for child ports # Depend on multimedia/mlt7 for child ports
USES+= mlt:7 USES+= mlt:7
PLIST?= ${.CURDIR}/pkg-plist PLIST?= ${.CURDIR}/pkg-plist
INSTALL_WRKSRC?= ${BUILD_WRKSRC} INSTALL_WRKSRC?= ${BUILD_WRKSRC}
.endif .endif
......
TIMESTAMP = 1729745635 TIMESTAMP = 1733025976
SHA256 (mlt-7.28.0.tar.gz) = bc425bf9602213f5f4855b78cfbbcd43eeb78097c508588bde44415963955aa1 SHA256 (mlt-7.28.0.tar.gz) = bc425bf9602213f5f4855b78cfbbcd43eeb78097c508588bde44415963955aa1
SIZE (mlt-7.28.0.tar.gz) = 1713069 SIZE (mlt-7.28.0.tar.gz) = 1713069
SHA256 (6f533e7b8999bc4017c1a6685bf2baea6570d44c.patch) = a7d205cf2ee9c7cf8f1ba577752d121115af224c11e4380f1d9c2a85cc28d4ad
SIZE (6f533e7b8999bc4017c1a6685bf2baea6570d44c.patch) = 866
SHA256 (2072c6b3596854f1a7165d7ddd5994204e741db8.patch) = 2636d637cab4fb480a0233cbac00dc7165bbeb891dcceb9a9787ea9811787603
SIZE (2072c6b3596854f1a7165d7ddd5994204e741db8.patch) = 883
SHA256 (63953cf7338181c82eb6eb9f93c8c9a11aaee5f7.patch) = 4bec2860cdc605e5e9905c94b94e4d18f8f24b244489a3cdd8df8c3e93160caa
SIZE (63953cf7338181c82eb6eb9f93c8c9a11aaee5f7.patch) = 1469
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment