New package: droidcam-1.7.2.

Closes: #28972 [via git-merge-pr]
This commit is contained in:
ibrokemypie 2021-02-22 23:45:17 +11:00 committed by Érico Nogueira Rolim
parent 1b787b6a99
commit 1a6ae5693b

28
srcpkgs/droidcam/template Normal file
View file

@ -0,0 +1,28 @@
# Template file for 'droidcam'
pkgname=droidcam
version=1.7.2
revision=1
build_style=gnu-makefile
make_build_args="USBMUXD=-lusbmuxd-2.0 JPEG=-lturbojpeg"
hostmakedepends="pkg-config"
makedepends="pkg-config libjpeg-turbo-devel ffmpeg-devel alsa-lib-devel
speex-devel libusbmuxd-devel libplist-devel gtk+3-devel"
depends="v4l2loopback"
short_desc="Tool for using your android device as a wireless/usb webcam"
maintainer="ibrokemypie <ibrokemypie@bastardi.net>"
license="GPL-2.0-or-later"
homepage="https://www.dev47apps.com/"
distfiles="https://github.com/dev47apps/droidcam/archive/v${version}.tar.gz"
checksum=ea93a56f5e2291ea8546d047bb89c54f4b3ded3786d176a79148a62aaa0765e3
post_patch() {
vsed -e "s/^Icon=.*/Icon=droidcam-icon.png/" -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
}