Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701384 - media-video/rav1e should install a C API library
Summary: media-video/rav1e should install a C API library
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-28 11:53 UTC by gerion
Modified: 2020-04-14 07:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
cargo-c-0.5.2.ebuild (cargo-c-0.5.2.ebuild,1.63 KB, text/plain)
2020-02-22 20:44 UTC, gerion
Details
rav1e-9999.ebuild (rav1e-9999.ebuild,1.09 KB, text/plain)
2020-02-22 20:45 UTC, gerion
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gerion 2019-11-28 11:53:40 UTC
Currently, mergin rav1e installs mainly the rav1e binary. Can you extend the ebuild to build the C-API as well?

Reproducible: Always

Steps to Reproduce:
1. Merge rav1e.
Comment 1 gerion 2020-02-22 20:44:13 UTC
Created attachment 615164 [details]
cargo-c-0.5.2.ebuild

Here is a quick and dirty cargo-c ebuild.
Comment 2 gerion 2020-02-22 20:45:45 UTC
Created attachment 615166 [details]
rav1e-9999.ebuild

And here is the even more quick and dirty rav1e ebuild that uses it.
Anyway, it works...

Interestingly, cargo cinstall seems not to respect the prefix and lib path in the pkg file.
Comment 3 gerion 2020-02-22 20:49:38 UTC
(Also installable in my overlay [1]. Use with caution.)

[1] https://gitweb.gentoo.org/repo/user/gerislay.git/commit/?id=1c8e74299a61fa9c4c4b9de368d45681374531d8
Comment 4 gerion 2020-03-30 00:15:48 UTC
Also, my ebuilds do not work with 32 bit. Assuming that the C API is mostly used by ffmpeg, it is not uncommon to need a 32 bit rav1e.
Comment 5 Daniel Novomeský 2020-04-09 12:02:58 UTC
media-libs/libavif ( https://bugs.gentoo.org/711022 ) will also use rav1e C API when available.
Comment 6 Luca Barbato gentoo-dev 2020-04-14 06:47:01 UTC
I added an ebuild for the new cargo-c and updated the -9999 ebuild to provide optionally the C api.

Sorry for the delay but this issue got chewed by my mailbox till today.
Comment 7 gerion 2020-04-14 07:08:50 UTC
Thank you.

Do you consider adding a 32-bit build as well? As said, especially ffmpeg (together with installing wine) will need this.

Should I open a seperate bug for this?
Comment 8 gerion 2020-04-14 07:14:39 UTC
Of course 32-bit means "installing 32-bit binaries on a 64-bit system". I guess, the correct term is multilib support.