31 lines
1.0 KiB
Bash
31 lines
1.0 KiB
Bash
# Template file for 'droidcam'
|
|
pkgname=droidcam
|
|
version=2.1.3
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_use_env=true
|
|
make_build_args="USBMUXD=-lusbmuxd-2.0 APPINDICATOR=ayatana-appindicator3-0.1"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="pkg-config libjpeg-turbo-devel ffmpeg-devel alsa-lib-devel
|
|
speex-devel libusbmuxd-devel libplist-devel gtk+3-devel
|
|
libayatana-appindicator-devel"
|
|
depends="v4l2loopback"
|
|
short_desc="Tool for using your android device as a wireless/usb webcam"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://www.dev47apps.com/"
|
|
distfiles="https://github.com/dev47apps/droidcam/archive/v${version}.tar.gz"
|
|
checksum=86d18029364d8ecd8b1a8fcae4cc37122f43683326fe49922b2ce2c8cf01e49d
|
|
|
|
post_patch() {
|
|
vsed -e "s/^Icon=.*/Icon=droidcam-icon.png/" -e "s,/local,," -i droidcam.desktop
|
|
}
|
|
|
|
do_install() {
|
|
vbin droidcam
|
|
vbin droidcam-cli
|
|
vinstall icon2.png 644 usr/share/pixmaps droidcam-icon.png
|
|
vinstall droidcam.desktop 644 usr/share/applications
|
|
vdoc README.md
|
|
}
|