diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-07-25 21:31:57 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-07-25 21:44:20 -0400 |
commit | 0e264bc426f18f7f9076f9b4fe724aa445bc23a1 (patch) | |
tree | a22aa1028aab8e425e496a35a2c0cdd78aac69f8 /gnustep-base | |
parent | profiles/base/package.use.mask: drop misplaced blank line (diff) | |
download | gentoo-0e264bc426f18f7f9076f9b4fe724aa445bc23a1.tar.gz gentoo-0e264bc426f18f7f9076f9b4fe724aa445bc23a1.tar.bz2 gentoo-0e264bc426f18f7f9076f9b4fe724aa445bc23a1.zip |
profiles: have media-video/mpv use luajit more thoroughly
tl;dr fixes RequiredUseDefaults, and also uses luajit on non-desktop
mpv currently no plans to ever support >=lua5-3, and with lua5-1 being
essentially unmaintained it's preferred to use the actively maintained
luajit when possible.
Because of this, wanted to straight up remove lua5-1 from COMPAT, but
then luajit is not available on as many arches as lua5-1.
So to pick luajit by default (against's profile defaults), there is
two options:
(1). package.use in profile with -lua5-1 luajit
(2). mask lua5-1, force luajit
And fortunately we don't need to worry about LUA_TARGETS, just SINGLE.
Old situation is sub-optimal:
- (1) is used in desktop profile only (should be all)
- arches which don't support luajit have bad REQUIRED_USE defaults
(should be inverted where needed)
(2) has a big advantage, if users set their own default e.g.
*/* LUA_SINGLE_TARGET: -* lua5-4
Then luajit will still be forced and they do not need a package.use
entry to emerge mpv.
Downside is that if a user really want to use old lua5-1, then
they need to mess with /etc/portage/profile. But generally I feel
(2) is still better for the general user experience, and this
commit does that.
wrt old "lua" default, not needed in profile given IUSE=+lua default
is in all mpv ebulds already (-sdl still makes sense).
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'gnustep-base')
0 files changed, 0 insertions, 0 deletions