droidcam: update to 2.1.3
This commit is contained in:
parent
e4fbb889ad
commit
6670caf134
|
@ -1,26 +0,0 @@
|
|||
diff --git a/Makefile b/Makefile
|
||||
index 7be3c15..b7f16c4 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -13,7 +13,7 @@ JPEG_LIB ?= $(JPEG_DIR)/lib`getconf LONG_BIT`
|
||||
CC = gcc
|
||||
CFLAGS = -Wall -O2
|
||||
GTK = `pkg-config --libs --cflags gtk+-3.0` `pkg-config --libs x11`
|
||||
-GTK += `pkg-config --cflags --libs appindicator3-0.1`
|
||||
+GTK += `pkg-config --cflags --libs ayatana-appindicator3-0.1`
|
||||
LIBAV = `pkg-config --libs --cflags libswscale libavutil`
|
||||
LIBS = -lspeex -lasound -lpthread -lm
|
||||
JPEG = -I$(JPEG_INCLUDE) $(JPEG_LIB)/libturbojpeg.a
|
||||
diff --git a/src/droidcam.c b/src/droidcam.c
|
||||
index cad1ee4..28f4000 100644
|
||||
--- a/src/droidcam.c
|
||||
+++ b/src/droidcam.c
|
||||
@@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
-#include <libappindicator/app-indicator.h>
|
||||
+#include <libayatana-appindicator/app-indicator.h>
|
||||
#include <X11/Xlib.h>
|
||||
#include <stdint.h>
|
||||
|
|
@ -1,20 +1,21 @@
|
|||
# Template file for 'droidcam'
|
||||
pkgname=droidcam
|
||||
version=1.8.2
|
||||
revision=2
|
||||
version=2.1.3
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
make_build_args="USBMUXD=-lusbmuxd-2.0 JPEG=-lturbojpeg"
|
||||
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="ibrokemypie <ibrokemypie@bastardi.net>"
|
||||
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=9f18c6768572571c59bfe08ac70e24612e08fc3d887c127ff47899252d3dc662
|
||||
checksum=86d18029364d8ecd8b1a8fcae4cc37122f43683326fe49922b2ce2c8cf01e49d
|
||||
|
||||
post_patch() {
|
||||
vsed -e "s/^Icon=.*/Icon=droidcam-icon.png/" -e "s,/local,," -i droidcam.desktop
|
||||
|
|
Loading…
Reference in New Issue