25 lines
774 B
Bash
25 lines
774 B
Bash
# Template file for 'droidcam-obs-plugin'
|
|
pkgname=droidcam-obs-plugin
|
|
version=2.3.2
|
|
revision=2
|
|
build_style=gnu-makefile
|
|
make_use_env=yes
|
|
make_build_args="ALLOW_STATIC=no"
|
|
makedepends="obs-devel libusbmuxd-devel libjpeg-turbo-devel
|
|
ffmpeg6-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=0c97fc2de7a1612b696a7eb3f11b530c70e15ccaa82deb1e43184a13f6a529d1
|
|
|
|
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/
|
|
}
|