Skip to content

Commit 5de0e90

Browse files
committed
New package: uosc-5.12.0
1 parent 9199c0a commit 5de0e90

2 files changed

Lines changed: 52 additions & 0 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
### Configuration options recommended by the author:
2+
3+
4+
OPTIONAL: 'mpv.conf' tweaks to better integrate with 'uosc':
5+
6+
# uosc provides seeking & volume indicators (via flash-timeline and flash-volume commands)
7+
# if you decide to use them, you don't need osd-bar
8+
osd-bar=no
9+
10+
# uosc will draw its own window controls and border if you disable window border
11+
border=no
12+
13+
14+
OPTIONAL: If the UI feels sluggish/slow while playing video,
15+
you can remedy this a bit by placing this in your 'mpv.conf':
16+
17+
video-sync=display-resample
18+
19+
20+
###
21+
22+
Source: https://github.com/tomasklaen/uosc/blob/main/README.md

srcpkgs/uosc/template

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Template file for 'uosc'
2+
pkgname=uosc
3+
version=5.12.0
4+
revision=1
5+
conf_files="/etc/mpv/script-opts/uosc.conf"
6+
depends="mpv"
7+
short_desc="Feature-rich minimalist proximity-based UI for MPV player"
8+
maintainer="dogknowsnx <dogknowsnx@tutamail.com>"
9+
license="LGPL-2.1-or-later"
10+
homepage="https://github.com/tomasklaen/uosc"
11+
changelog="https://github.com/tomasklaen/uosc/releases"
12+
distfiles="https://github.com/tomasklaen/uosc/archive/refs/tags/${version}.tar.gz"
13+
checksum=a84476d6826406f1eb0815c2ce0c1318858f18de8d77c47b4387175641a13ba9
14+
15+
do_install() {
16+
mkdir -p ${DESTDIR}/etc/mpv/{fonts,script-opts}
17+
mkdir -p ${DESTDIR}/etc/mpv/scripts/uosc/{char-conv,elements,intl,lib}
18+
19+
vinstall src/uosc.conf 0644 etc/mpv/script-opts
20+
vinstall src/uosc/main.lua 0644 etc/mpv/scripts/uosc
21+
vinstall src/uosc/char-conv/zh.json 0644 etc/mpv/scripts/uosc/char-conv
22+
23+
rm -f src/uosc/elements/Updater.lua
24+
vcopy "src/fonts/*" etc/mpv/fonts
25+
vcopy "src/uosc/elements/*" etc/mpv/scripts/uosc/elements
26+
vcopy "src/uosc/intl/*" etc/mpv/scripts/uosc/intl
27+
vcopy "src/uosc/lib/*" etc/mpv/scripts/uosc/lib
28+
29+
vdoc ${FILESDIR}/README.voidlinux
30+
}

0 commit comments

Comments
 (0)