You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
mlt-legacy: use ffmpeg4
This commit is contained in:
@@ -6,10 +6,11 @@ PortGroup conflicts_build 1.0
|
||||
PortGroup github 1.0
|
||||
PortGroup muniversal 1.0
|
||||
PortGroup qt4 1.0
|
||||
PortGroup ffmpeg 1.0
|
||||
|
||||
name mlt-legacy
|
||||
github.setup mltframework mlt 6.26.1 v
|
||||
revision 1
|
||||
revision 2
|
||||
categories multimedia
|
||||
maintainers nomaintainer
|
||||
license GPL-2+
|
||||
@@ -47,13 +48,14 @@ configure.cxxflags-append -std=c++14
|
||||
# fatal error: 'stdatomic.h' file not found
|
||||
compiler.blacklist-append {clang < 700}
|
||||
|
||||
ffmpeg.version 4
|
||||
|
||||
depends_build-append \
|
||||
path:bin/doxygen:doxygen \
|
||||
port:git
|
||||
|
||||
depends_lib-append port:atk \
|
||||
path:share/pkgconfig/eigen3.pc:eigen3 \
|
||||
path:lib/libavcodec.dylib:ffmpeg \
|
||||
port:fftw-3 \
|
||||
port:frei0r-plugins \
|
||||
port:libebur128 \
|
||||
@@ -98,9 +100,6 @@ platform darwin 10 {
|
||||
}
|
||||
}
|
||||
|
||||
configure.cflags-append "-I${prefix}/include"
|
||||
configure.ldflags-delete "-L${prefix}/lib"
|
||||
|
||||
# make sure the build system actually sees our settings by amending the toplevel config.mak.
|
||||
post-configure {
|
||||
set config.mak [open ${worksrcpath}/config.mak "a"]
|
||||
@@ -118,12 +117,12 @@ if {${universal_possible} && [variant_isset universal]} {
|
||||
foreach arch ${configure.universal_archs} {
|
||||
lappend merger_build_env(${arch}) "CFLAGS=${configure.cflags} -arch ${arch}"
|
||||
lappend merger_build_env(${arch}) "CXXFLAGS=${configure.cxxflags} -arch ${arch}"
|
||||
lappend merger_build_env(${arch}) "LDFLAGS=${configure.ldflags} -L${worksrcpath}-${arch}/src/framework -L${prefix}/lib -arch ${arch}"
|
||||
lappend merger_build_env(${arch}) "LDFLAGS=${configure.ldflags} -L${worksrcpath}-${arch}/src/framework -arch ${arch}"
|
||||
}
|
||||
} else {
|
||||
build.env-append "CFLAGS=${configure.cflags} [get_canonical_archflags cc]"
|
||||
build.env-append "CXXFLAGS=${configure.cxxflags} [get_canonical_archflags cxx]"
|
||||
build.env-append "LDFLAGS=${configure.ldflags} -L${worksrcpath}/src/framework -L${prefix}/lib [get_canonical_archflags ld]"
|
||||
build.env-append "LDFLAGS=${configure.ldflags} -L${worksrcpath}/src/framework [get_canonical_archflags ld]"
|
||||
}
|
||||
|
||||
variant gtk2 description {include the gtk2 module (for additional image and text producers)} {
|
||||
|
||||
Reference in New Issue
Block a user