-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
28 lines (25 loc) · 861 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Template file for 'droidcam-obs-plugin'
pkgname=droidcam-obs-plugin
version=2.3.2
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=0c97fc2de7a1612b696a7eb3f11b530c70e15ccaa82deb1e43184a13f6a529d1
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/
}