diff --git a/multimedia/libheif/Portfile b/multimedia/libheif/Portfile index 7536f64f1d2e9..fd8ea11071326 100644 --- a/multimedia/libheif/Portfile +++ b/multimedia/libheif/Portfile @@ -2,13 +2,14 @@ PortSystem 1.0 PortGroup github 1.0 +PortGroup cmake 1.1 -github.setup strukturag libheif 1.15.2 v +github.setup strukturag libheif 1.16.1 v revision 0 -checksums rmd160 54782c77a0d849aef47eb85ce71b9d527667d9d7 \ - sha256 7a4c6077f45180926583e2087571371bdd9cb21b6e6fada85a6fbd544f26a0e2 \ - size 1749773 +checksums rmd160 3f9cb03118f246cc6516b142208d25252de30fea \ + sha256 ac15b54b6d7c315710e156d119b8a1bfc89f29621e99222b2750b1f31c9c3558 \ + size 1338412 categories multimedia license LGPL-3+ @@ -18,23 +19,30 @@ long_description ${name} is {*}${description}. github.tarball_from releases -depends_build-append port:pkgconfig +depends_build-append \ + port:pkgconfig -depends_lib-append port:dav1d \ - path:lib/pkgconfig/gdk-pixbuf-2.0.pc:gdk-pixbuf2 \ +depends_lib-append \ port:aom \ - path:include/turbojpeg.h:libjpeg-turbo \ + port:dav1d \ + path:lib/pkgconfig/gdk-pixbuf-2.0.pc:gdk-pixbuf2 \ port:libde265 \ + path:include/turbojpeg.h:libjpeg-turbo \ port:libpng \ port:rav1e \ + port:svt-av1 \ + port:webp \ port:x265 -compiler.cxx_standard 2011 +configure.args-append \ + -DENABLE_PLUGIN_LOADING:BOOL=OFF -configure.args-append --disable-go +compiler.cxx_standard 2011 variant tests description {Enable tests} { - configure.args-append --enable-tests + configure.args-append \ + -DBUILD_TESTING:BOOL=ON \ + -DWITH_REDUCED_VISIBILITY:BOOL=OFF test.run yes } @@ -43,12 +51,15 @@ platform darwin { # TODO: Disable rav1e on 10.6, due to issues with cargo-c; re-enable once fixed # See: https://trac.macports.org/ticket/65434 depends_lib-delete port:rav1e - configure.args-append --disable-rav1e + configure.args-append \ + -DWITH_RAV1E:BOOL=OFF } if {${os.major} < 10 || (${os.major} == 10 && ${build_arch} eq "ppc")} { # https://trac.macports.org/ticket/62619 # aom does not build on 10.6 Rosetta too depends_lib-delete port:aom - configure.args-append --disable-aom + configure.args-append \ + -DWITH_AOM_DECODER:BOOL=OFF \ + -DWITH_AOM_ENCODER:BOOL=OFF } }