FS#50606 - [mpv] include internal Lua scripts

Attached to Project: Community Packages
Opened by Alexandre Bouvier (doskoi) - Wednesday, 31 August 2016, 03:01 GMT
Last edited by Christian Hesse (eworm) - Thursday, 10 October 2019, 20:11 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Can you include the internal Lua scripts from https://github.com/mpv-player/mpv/tree/master/TOOLS/lua in the package?
For example by adding this in the PKGBUILD package() function:

install -Dm644 -t "$pkgdir/usr/share/mpv/scripts" TOOLS/lua/*.lua


Additional info:
* mpv 1:0.20.0-1
This task depends upon

Closed by  Christian Hesse (eworm)
Thursday, 10 October 2019, 20:11 GMT
Reason for closing:  Implemented
Additional comments about closing:  mpv 1:0.29.1-11
Comment by Christian Hesse (eworm) - Monday, 17 October 2016, 11:40 GMT
The README file says:

> This is only a small selection of internally maintained scripts. Some of them
> are just for testing mpv internals, or serve as examples. An extensive
> user-edited list of 3rd party scripts is available here:
>
> https://github.com/mpv-player/mpv/wiki/User-Scripts

I do not think we want to ship these by default...
Comment by Alexandre Bouvier (doskoi) - Wednesday, 26 October 2016, 02:43 GMT
Why? :p
They can be useful, I personally use two of them. And install them globally allows several users to load a script (with the --script option, or with symlinks in the ~/.config/mpv/scripts directory) without re-downloading it each time.
Perhaps you could make a split package including "mpv" and "mpv-scripts" sub-packages?
Comment by desbma (desbma) - Tuesday, 08 August 2017, 22:58 GMT
@doskoi I have just created a 'mpv-scripts' AUR package to install the official LUA scripts: https://aur.archlinux.org/packages/mpv-scripts/
Comment by Ivy Foster (escondida) - Thursday, 10 October 2019, 19:48 GMT
eworm, is this an idea you're still considering, or can it be closed "Won't Fix"?
Comment by Christian Hesse (eworm) - Thursday, 10 October 2019, 20:11 GMT
Personally I do not care, but looks like people actually do use these script.
Let's just install them.

Loading...