# Template file for 'droidcam' pkgname=droidcam version=2.1.4 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 ffmpeg6-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 " license="GPL-2.0-or-later" homepage="https://www.dev47apps.com/" distfiles="https://github.com/dev47apps/droidcam/archive/v${version}.tar.gz" checksum=785c2d760b410b90b78a4f9604656e462a5c2eb9c1a351c61237dd57c36c0a4a 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 }