@dreieck I have changed PKGBUILD to download depends in prepare()
But this is indeed no need to trigger everyone to rebuild, so I did not bump pkgrel
.
Git Clone URL: | https://aur.archlinux.org/mpv-uosc.git (read-only, click to copy) |
---|---|
Package Base: | mpv-uosc |
Description: | Feature-rich minimalist proximity-based UI for MPV player. |
Upstream URL: | https://github.com/tomasklaen/uosc |
Keywords: | mpv ui uosc |
Licenses: | LGPL-2.1-or-later |
Submitter: | ZhangHua |
Maintainer: | ZhangHua |
Last Packager: | ZhangHua |
Votes: | 3 |
Popularity: | 0.001190 |
First Submitted: | 2023-05-11 11:31 (UTC) |
Last Updated: | 2024-12-08 02:15 (UTC) |
@dreieck I have changed PKGBUILD to download depends in prepare()
But this is indeed no need to trigger everyone to rebuild, so I did not bump pkgrel
.
This PKGBUILD
downloads stuff during build()
.
Please move the go specific download steps inti prepare()
so that build()
can run offline.
==> Starting build()...
go: downloading github.com/atotto/clipboard v0.1.4
[...]
Regards and thanks for the package!
Instead of copying the files, using symlinks works. It's required to create three symlinks for /usr/share/mpv/fonts
, /usr/share/mpv/script-opts
, and /usr/share/mpv/scripts/uosc
. Like this:
$HOME/.config/mpv
├── fonts -> /usr/share/mpv/fonts
│ ├── uosc_icons.otf
│ └── uosc_textures.ttf
├── mpv.conf
├── script-opts -> /usr/share/mpv/script-opts
│ └── uosc.conf
└── scripts
└── uosc -> /usr/share/mpv/scripts/uosc
@omeringen See pinned comment for more info. Doing not enable by default is not a mistake. Because I think we should enable it by system admin or user, just like systemd service.
MPV doesn't load script. uosc-git AUR package doesn't need manual intervention to load the script. Something wrong here i guess because install dirs on PKGBUILD's between this and git package are so different.
@Aftermath I have changed the license to LGPL-2.1-or-later
, thanks for your advising!
Thanks for maintaining this package. uosc is under LGPL-2.1-or-later licence!
i got this error
[uosc]
[uosc] stack traceback:
[uosc] /home/randy/.config/mpv/scripts/uosc.lua:433: in function 'update_margins'
[uosc] /home/randy/.config/mpv/scripts/uosc_shared/lib/utils.lua:567: in function 'cb'
[uosc] mp.defaults:363: in function 'process_timers'
[uosc] mp.defaults:532: in function 'dispatch_events'
[uosc] mp.defaults:505: in function mp.defaults:504
[uosc] [C]: in ?
[uosc] [C]: in ?
[uosc] Lua error: /home/randy/.config/mpv/scripts/uosc.lua:433: attempt to call field 'shared_script_property_set' (a nil value)
@insatiable_kin You need to create link or copy files in /usr/share/mpv
to $HOME/.config/mpv
to let mpv load it automatically. Or you have to call mpv with argument --script=/usr/share/mpv/scripts/uosc
to load this script.
Pinned Comments
ZhangHua commented on 2023-11-09 13:34 (UTC)
@insatiable_kin You need to create link or copy files in
/usr/share/mpv
to$HOME/.config/mpv
to let mpv load it automatically. Or you have to call mpv with argument--script=/usr/share/mpv/scripts/uosc
to load this script.