void-packages/srcpkgs/droidcam/template
UsernameRandomlyGenerated c885f5bd10 droidcam: update to 1.8.1.
Closes: #34826 [via git-merge-pr]
2022-01-05 16:48:11 -03:00

28 lines
982 B
Bash

# Template file for 'droidcam'
pkgname=droidcam
version=1.8.1
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 libappindicator-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=27724a3b3a94b0e5282628c85f0f9db1492df073cba331bd1e0a07f60290de71
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
}