You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
dav2d: new port
This commit is contained in:
@@ -0,0 +1,73 @@
|
||||
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
||||
|
||||
PortSystem 1.0
|
||||
PortGroup gitlab 1.0
|
||||
PortGroup meson 1.0
|
||||
PortGroup muniversal 1.0
|
||||
PortGroup legacysupport 1.1
|
||||
|
||||
gitlab.instance https://code.videolan.org
|
||||
gitlab.setup videolan dav2d 0.0.1
|
||||
revision 0
|
||||
|
||||
checksums rmd160 101d077832baf5705fc89e71e4ec1441cbe862c2 \
|
||||
sha256 e3eec323c3b237bb15f0a44f149fd9cd644b5cf3a263df03cf79b753ea976dff \
|
||||
size 1381452
|
||||
|
||||
categories multimedia
|
||||
license BSD
|
||||
maintainers {gmail.com:herby.gillot @herbygillot} \
|
||||
openmaintainer
|
||||
|
||||
description small and fast AV2 decoder
|
||||
long_description dav2d is an AV2 decoder that is open-source, cross-platform and \
|
||||
focused on speed and correctness.
|
||||
|
||||
# posix_memalign
|
||||
legacysupport.newest_darwin_requires_legacy 9
|
||||
|
||||
# nasm is not needed on arm64 platforms
|
||||
if { ${build_arch} in "i386 x86_64" || [variant_isset universal] } {
|
||||
depends_build-append \
|
||||
port:nasm
|
||||
}
|
||||
|
||||
# workaround meson change that causes configure to fail on older OS X versions
|
||||
# see https://github.com/mesonbuild/meson/issues/8307
|
||||
compiler.blacklist-append *gcc-3.* *gcc-4.*
|
||||
compiler.blacklist-append {clang < 700} macports-clang-3.3 macports-clang-3.4
|
||||
|
||||
configure.args-append \
|
||||
-Denable_tests=false
|
||||
|
||||
variant test description {enable tests} {
|
||||
configure.args-replace \
|
||||
-Denable_tests=false \
|
||||
-Denable_tests=true
|
||||
test.run yes
|
||||
test.target test
|
||||
}
|
||||
|
||||
if {${universal_possible} && [variant_isset universal]} {
|
||||
lappend merger_configure_env(i386) LDFLAGS=-Wl,-read_only_relocs,suppress,-no_compact_unwind
|
||||
} elseif {${configure.build_arch} eq "i386"} {
|
||||
configure.env-append \
|
||||
LDFLAGS=-Wl,-read_only_relocs,suppress,-no_compact_unwind
|
||||
}
|
||||
|
||||
set docdir ${prefix}/share/doc/${name}
|
||||
|
||||
post-destroot {
|
||||
xinstall -m 0755 -d ${destroot}${docdir}
|
||||
|
||||
xinstall -m 0644 -W ${worksrcpath} \
|
||||
CONTRIBUTING.md \
|
||||
COPYING \
|
||||
NEWS \
|
||||
README.md \
|
||||
THANKS.md \
|
||||
doc/PATENTS \
|
||||
${destroot}${docdir}
|
||||
}
|
||||
|
||||
gitlab.livecheck.regex {([0-9.]+)}
|
||||
Reference in New Issue
Block a user