void-packages/srcpkgs/obs-plugin-browser-bin/template

26 lines
1.5 KiB
Bash

# Template file for 'obs-plugin-browser-bin'
pkgname=obs-plugin-browser-bin
version=30.0.0 # This is actually the version of obs to extract the plugin from
revision=2
archs="x86_64"
short_desc="CEF-based OBS Studio browser plugin"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://obsproject.com/kb/browser-source"
distfiles="https://github.com/obsproject/obs-studio/releases/download/$version/obs-studio_$version-0obsproject1.lunar_amd64.deb"
checksum=b79c27497211cb9cf3e406f3672245f382d9d96268d2bc3f0bbf2fcf5a806ea9
do_install() {
vinstall lib/x86_64-linux-gnu/obs-plugins/obs-browser.so 0644 usr/lib/obs-plugins/
vinstall lib/x86_64-linux-gnu/obs-plugins/libcef.so 0644 usr/lib/obs-plugins/
vinstall lib/x86_64-linux-gnu/obs-plugins/icudtl.dat 0644 usr/lib/obs-plugins/
vinstall lib/x86_64-linux-gnu/obs-plugins/v8_context_snapshot.bin 0644 usr/lib/obs-plugins/
vinstall lib/x86_64-linux-gnu/obs-plugins/resources.pak 0644 usr/lib/obs-plugins/
vinstall lib/x86_64-linux-gnu/obs-plugins/vk_swiftshader_icd.json 0644 usr/lib/obs-plugins/
vinstall lib/x86_64-linux-gnu/obs-plugins/libvk_swiftshader.so 0644 usr/lib/obs-plugins/
vinstall lib/x86_64-linux-gnu/obs-plugins/chrome-sandbox 0644 usr/lib/obs-plugins/
vinstall lib/x86_64-linux-gnu/obs-plugins/chrome_100_percent.pak 0644 usr/lib/obs-plugins/
vinstall lib/x86_64-linux-gnu/obs-plugins/chrome_200_percent.pak 0644 usr/lib/obs-plugins/
vinstall lib/x86_64-linux-gnu/obs-plugins/obs-browser-page 0755 usr/lib/obs-plugins/
}