forked from Plemya-x/alr-repo
		
	gpu-screen-recorder + deps
This commit is contained in:
		| @@ -1,6 +1,6 @@ | ||||
| name='gpu-screen-recorder-ui' | ||||
| version='1.3.0' | ||||
| release='1' | ||||
| release='2' | ||||
| desc='A fullscreen overlay UI for GPU Screen Recorder in the style of ShadowPlay.' | ||||
| desk_ru='Полноэкранный интерфейс наложения для GPU Screen Recorder в стиле ShadowPlay.' | ||||
| homepage='https://git.dec05eba.com/gpu-screen-recorder-ui' | ||||
| @@ -44,6 +44,7 @@ deps_arch=( | ||||
|  | ||||
| build_deps=( | ||||
|   "meson" | ||||
|   "ninja-build" | ||||
|   "libglvnd-devel" | ||||
|   "libX11-devel" | ||||
|   "libXrandr-devel" | ||||
| @@ -58,6 +59,7 @@ build_deps=( | ||||
| ) | ||||
| build_deps_arch=( | ||||
|   "meson" | ||||
|   "ninja" | ||||
| ) | ||||
| sources=("https://dec05eba.com/snapshot/gpu-screen-recorder-ui.git.${version}.tar.gz") | ||||
| checksums=('SKIP') | ||||
| @@ -68,20 +70,20 @@ scripts=( | ||||
|  | ||||
| build() { | ||||
|   cd "$srcdir" | ||||
|   meson build | ||||
|   meson compile -C build -j $(($(nproc) - 1)) | ||||
|   meson setup build --prefix=/usr --buildtype=release -Dstrip=true | ||||
|   ninja -C build -j $(($(nproc) - 1)) | ||||
| } | ||||
|  | ||||
| package() { | ||||
|   cd "$srcdir" | ||||
|   meson install -C build --destdir "$pkgdir" | ||||
|   meson install -C build --destdir="$pkgdir" | ||||
| } | ||||
|  | ||||
| files() { | ||||
|   echo ./usr/local/bin/gsr-global-hotkeys | ||||
|   echo ./usr/local/bin/gsr-ui | ||||
|   echo ./usr/local/bin/gsr-ui-cli | ||||
|   echo ./usr/local/lib/systemd/user/gpu-screen-recorder-ui.service | ||||
|   printf '"%s" ' ./usr/local/share/gsr-ui/fonts/* | ||||
|   printf '"%s" ' ./usr/local/share/gsr-ui/images/* | ||||
|   echo ./usr/bin/gsr-global-hotkeys | ||||
|   echo ./usr/bin/gsr-ui | ||||
|   echo ./usr/bin/gsr-ui-cli | ||||
|   echo ./usr/lib/systemd/user/gpu-screen-recorder-ui.service | ||||
|   printf '"%s" ' ./usr/share/gsr-ui/fonts/* | ||||
|   printf '"%s" ' ./usr/share/gsr-ui/images/* | ||||
| } | ||||
| @@ -1,3 +1,3 @@ | ||||
| #!/bin/sh | ||||
|  | ||||
| /usr/sbin/setcap cap_setuid+ep /usr/local/bin/gsr-global-hotkeys | ||||
| /usr/sbin/setcap cap_setuid+ep /usr/bin/gsr-global-hotkeys | ||||
| @@ -1,3 +1,3 @@ | ||||
| #!/bin/sh | ||||
|  | ||||
| /usr/sbin/setcap cap_sys_admin+ep /usr/local/bin/gsr-kms-server | ||||
| /usr/sbin/setcap cap_sys_admin+ep /usr/bin/gsr-kms-server | ||||
		Reference in New Issue
	
	Block a user