Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mlt: migrate to opencv3 #10782

Merged
merged 1 commit into from Apr 24, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 7 additions & 3 deletions multimedia/mlt/Portfile
Expand Up @@ -8,7 +8,7 @@ PortGroup active_variants 1.1
github.setup mltframework mlt 6.24.0 v
github.tarball_from releases

epoch 3
epoch 4
categories multimedia
maintainers {dennedy.org:dan @ddennedy} {gmail.com:rjvbertin @RJVB} openmaintainer
license GPL-2+
Expand Down Expand Up @@ -158,8 +158,12 @@ variant gpl3 description {enable GPLv3 components} {
# the opencv dependency must match our choice of Qt version, which is
# another reason why opencv support is provided through a variant.
variant opencv description {enable OpenCV support} {
depends_lib-append port:opencv
configure.args-delete --disable-opencv
set opencv_ver 3
depends_lib-append port:opencv${opencv_ver}
configure.env-append PKG_CONFIG_PATH=${prefix}/lib/opencv${opencv_ver}/pkgconfig
configure.args-replace --disable-opencv \
--enable-opencv

if {[variant_isset qt4]} {
require_active_variants opencv qt4
} elseif {[variant_isset qt5]} {
Expand Down