28 lines
966 B
Bash
28 lines
966 B
Bash
# Template file for 'droidcam'
|
|
pkgname=droidcam
|
|
version=1.7.3
|
|
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=e1b885f9790de17bb0b8dce8a81857733a8dba8333c1b3148206244a04a55381
|
|
|
|
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
|
|
}
|