Created attachment 217931 [details] v1 Disclaimer: Only interested in exposing AVIF. I don't use this port and didn't test runtime. See URL field for upstream changes. Builds fine on 11.3 amd64/i386, 12.1 aarch64/amd64/armv7/armv6/i386, 13.0 amd64/i386. Default consumers also build fine.
Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/189356581
Hi, As there a reason why we can't use upstream release archive/tarball? (also suggested by 5.4.3 in Porter's Handbook) https://github.com/strukturag/libheif/releases --> https://github.com/strukturag/libheif/releases/download/v1.8.0/libheif-1.8.0.tar.gz Best regards, Daniel
I'm keeping statu quo to avoid investing more time due to scope creep.
Reporter is committer, assigning to him.
We're up to 1.9.1 now.
Created attachment 220054 [details] 1.9.1 Based off jbeich@'s 1.8.0. Cleaned up tabbing and options and pull in an upstream patch to fix build when EXAMPLES enabled.
1.10.0 is here!
Working on it.
Update committed.
A commit references this bug: Author: yuri Date: Thu Jan 28 03:52:10 UTC 2021 New revision: 563110 URL: https://svnweb.freebsd.org/changeset/ports/563110 Log: graphics/libheif: Update 1.6.2 -> 1.10.0 PR: 249291 Approved by: freebsd@sebastiansteinmetz.ch (maintainer's timeout 130 days) Changes: head/graphics/libheif/Makefile head/graphics/libheif/distinfo head/graphics/libheif/pkg-plist
A commit references this bug: Author: yuri Date: Thu Jan 28 09:53:21 UTC 2021 New revision: 563121 URL: https://svnweb.freebsd.org/changeset/ports/563121 Log: graphics/libheif: Add dependency on librav1e Thanks to VDD for the hint. PR: 249291 Changes: head/graphics/libheif/Makefile
Created attachment 221984 [details] Update pkg-descr (In reply to commit-hook from comment #11) rav1e require rust - maybe make it optional dependency?
Created attachment 221988 [details] Add options DAV1D, RAV1E and update pkg-descr
(In reply to VVD from comment #13) Could you please create the upstream PR with this patch? When you do the REQUIRED keyword should be added to find_package calls because once specific options are chosen these should be treated as required. Then PATCH instructions can be added to Makefile instead of explicit patches.
(In reply to Yuri Victorovich from comment #14) I attached the patch to this issue: https://github.com/strukturag/libheif/issues/429
(In reply to VVD from comment #15) Let them commit it then. Thanks, Yuri
(In reply to Yuri Victorovich from comment #16) If you create pull request then they can commit it early.
(In reply to VVD from comment #17) Yes, I meant to say the same to you. Instead of attaching the patch you could create a PR with it.
(In reply to Yuri Victorovich from comment #18) Upstream commited it: https://github.com/strukturag/libheif/commit/b7caef96e012f6e516fee2e50a836b07b7c5a8fc
A commit references this bug: Author: yuri Date: Mon Feb 1 16:30:57 UTC 2021 New revision: 563592 URL: https://svnweb.freebsd.org/changeset/ports/563592 Log: graphics/libheif: Add options DAV1D and RAV1E Follow up to 249291 after the upstream added missing cmake options. PR: 249291 Changes: head/graphics/libheif/Makefile head/graphics/libheif/distinfo