Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# -*- 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 github 1.0 | ||
PortGroup cmake 1.1 | ||
|
||
github.setup AOMediaCodec libavif 0.10.1 v | ||
revision 0 | ||
|
||
categories multimedia | ||
license Permissive | ||
maintainers {mascguy @mascguy} openmaintainer | ||
|
||
description Portable C implementation of the AV1 Image File Format | ||
long_description {*}${description} | ||
|
||
github.tarball_from archive | ||
|
||
checksums rmd160 17a452e69ec04107295613b554bb7bb7d61ae789 \ | ||
sha256 66e82854ceb84a3e542bc140a343bc90e56c68f3ecb4fff63e636c136ed9a05e \ | ||
size 2085698 | ||
|
||
cmake.generator Ninja | ||
|
||
depends_build-append \ | ||
path:lib/pkgconfig/gdk-pixbuf-2.0.pc:gdk-pixbuf2 \ | ||
port:pkgconfig | ||
|
||
depends_lib-append \ | ||
port:aom \ | ||
port:dav1d \ | ||
path:include/turbojpeg.h:libjpeg-turbo \ | ||
port:libpng \ | ||
port:rav1e \ | ||
port:svt-av1 \ | ||
port:zlib | ||
|
||
configure.args-append \ | ||
-DAVIF_ENABLE_WERROR:BOOL=OFF \ | ||
-DAVIF_CODEC_AOM:BOOL=ON \ | ||
-DAVIF_CODEC_DAV1D:BOOL=ON \ | ||
-DAVIF_CODEC_RAV1E:BOOL=ON \ | ||
-DAVIF_CODEC_SVT:BOOL=ON |
2026830
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jmroot The licensing for
libavif
is a bit fuzzy, as some of the items mentioned - such asandroid_jni/gradlew*
- aren't being used for this port. (At least AFAIK, based on the CMake config, etc.)https://github.com/AOMediaCodec/libavif/blob/v0.10.1/LICENSE
Your thoughts?
2026830
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on Linux distros, it looks like the license is BSD. Updated via commit: 9ff64b5
2026830
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, if you could mark this ticket as closed by this, I'd appreciate it: https://trac.macports.org/ticket/65224
Thanks.