Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#63421 - [dav1d] make dav1dplay dependencies optional

Attached to Project: Arch Linux
Opened by Luc Trudeau (ltrudeau) - Friday, 09 August 2019, 15:57 GMT
Last edited by Levente Polyak (anthraxx) - Monday, 11 November 2019, 00:12 GMT
Task Type Feature Request
Category Packages: Testing
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Sdl2, vulkan and libplacebo are dependencies to build a sample player and not dav1d itself.

They could be made optional and meson will not build dav1dplay if they are not available.

This task depends upon

Closed by  Levente Polyak (anthraxx)
Monday, 11 November 2019, 00:12 GMT
Reason for closing:  Implemented
Additional comments about closing:  0.5.1-1
Comment by Levente Polyak (anthraxx) - Friday, 09 August 2019, 16:08 GMT
that not how packaging works, its a build time dependency and we package it, optional is the wrong tool here.
If we want something like that, then runtime optional or split package would make sense.

What is the concern you want to address?
Comment by Luc Trudeau (ltrudeau) - Friday, 09 August 2019, 16:23 GMT
I don't consider Sdl2, vulkan and libplacebo as build time dependencies for dav1d, as it will build just fine without them (meson will build dav1d and will not build dav1dplay). dav1dplay is a sample app. You could consider this an "extra", and is not what 90% of users will want.
dav1dplay is a sample to guive an example to developpers who want to build a player that uses dav1d (it is not a production ready player like vlc or mpv).

My concern is that dav1dplay introduces many dependencies that might not be desirable to some users (embedded system or headless transcoders). I was wondering if it was possible to make these dependencies optional or have some sort of extra package that would include dav1d play.
Comment by Jensen McKenzie (your_doomsday) - Friday, 09 August 2019, 18:55 GMT
Just get rid of dav1dplay and those deps. Nobody needs it.
Comment by James Almer (jamrial) - Saturday, 10 August 2019, 14:50 GMT
I just made dav1dplay an optional example that doesn't get compiled by default.

Feel free to cherry-pick commit 3a77c57b0ca06c613fea96afe63d2870f513e97f (until a new release is made) so you can get rid of all the unnecessary dependencies.

Loading...