droidcam: replace libappindicator with libayatana-appindicator
This commit is contained in:
parent
3f9760ef6d
commit
9f6e89897b
|
@ -0,0 +1,26 @@
|
|||
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,12 +1,13 @@
|
|||
# Template file for 'droidcam'
|
||||
pkgname=droidcam
|
||||
version=1.8.2
|
||||
revision=1
|
||||
revision=2
|
||||
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"
|
||||
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>"
|
||||
|
|
Loading…
Reference in New Issue