mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: droidcam-obs-plugin-2.0.1.
This commit is contained in:
parent
108dc8d02d
commit
29f44bd2e3
1 changed files with 28 additions and 0 deletions
28
srcpkgs/droidcam-obs-plugin/template
Normal file
28
srcpkgs/droidcam-obs-plugin/template
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# Template file for 'droidcam-obs-plugin'
|
||||||
|
pkgname=droidcam-obs-plugin
|
||||||
|
version=2.0.1
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-makefile
|
||||||
|
make_use_env=yes
|
||||||
|
make_build_args="ALLOW_STATIC=no"
|
||||||
|
makedepends="obs-devel libusbmuxd-devel libjpeg-turbo-devel
|
||||||
|
ffmpeg-devel libimobiledevice-devel"
|
||||||
|
short_desc="DroidCam OBS Source"
|
||||||
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
||||||
|
license="GPL-2.0-only"
|
||||||
|
homepage="https://github.com/dev47apps/droidcam-obs-plugin"
|
||||||
|
distfiles="https://github.com/dev47apps/droidcam-obs-plugin/archive/refs/tags/$version.tar.gz"
|
||||||
|
checksum=72dc6084ac7de4e21a6b32744e24e661dc07801fadeaa919a8cd0cbb8b043223
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
vsed -i linux/linux.mk -e "s/-limobiledevice/-limobiledevice-1.0/"
|
||||||
|
}
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
mkdir -p build
|
||||||
|
export INCLUDES="-I$XBPS_CROSS_BASE/usr/include/obs"
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vinstall build/droidcam-obs.so 0644 usr/lib/obs-plugins/
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue