Summary: | media-libs/libavif library for AV1 Image File Format (AVIF) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Daniel Novomeský <dnovomesky> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | herrtimson, johnnybit, jstein, sam |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/17293 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 715658 | ||
Bug Blocks: | |||
Attachments: |
Initial version of ebuild
improved ebuild This ebuild should work for future releases too This ebuild should work for future releases too Version bump Ebuild using rav1e's C API |
Description
Daniel Novomeský
2020-02-28 10:20:37 UTC
Created attachment 627480 [details]
Initial version of ebuild
I started to learn how to make ebuilds, attaching first version.
Created attachment 628038 [details]
improved ebuild
The new version of the ebuild provides following tools too:
avifdec
avifenc
dav1d, libaom
are optional use flags. At least one of them must be selected.
libaom-1.0.0 is not good for AVIF. It should be one of the newer snapshots, at least 1.0.0-errata1-avif
Good start! CMAKE_ECLASS=cmake doesn't have an impact on anything. Remove it. src_install doesn't deviate from the default. So, you can exclude the function altogether. I'd move the libaom warning to either pkg_postinst() if it's a short emerge or pkg_pretend() if it's a long emerge. SRC_URI should make use of ${PV}. This will make it easy to version bump later. Created attachment 628612 [details]
This ebuild should work for future releases too
Thank you for the feedback.
I made few edits.
Created attachment 628614 [details]
This ebuild should work for future releases too
Created attachment 629022 [details]
Version bump
libavif can optionally use rav1e too (instead of libaom), but we need media-video/rav1e to install C API library first. See https://bugs.gentoo.org/701384 Created attachment 632704 [details]
Ebuild using rav1e's C API
media-video/rav1e now produce C API used by libavif, so this is new ebuild which is capable to optionally use the API.
Package was added to ::gentoo |