droidcam: replace libappindicator with libayatana-appindicator

This commit is contained in:
tibequadorian 2022-11-30 10:53:41 +01:00 committed by Michal Vasilek
parent 3f9760ef6d
commit 9f6e89897b
2 changed files with 29 additions and 2 deletions

View File

@ -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>

View File

@ -1,12 +1,13 @@
# Template file for 'droidcam' # Template file for 'droidcam'
pkgname=droidcam pkgname=droidcam
version=1.8.2 version=1.8.2
revision=1 revision=2
build_style=gnu-makefile build_style=gnu-makefile
make_build_args="USBMUXD=-lusbmuxd-2.0 JPEG=-lturbojpeg" make_build_args="USBMUXD=-lusbmuxd-2.0 JPEG=-lturbojpeg"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="pkg-config libjpeg-turbo-devel ffmpeg-devel alsa-lib-devel 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" depends="v4l2loopback"
short_desc="Tool for using your android device as a wireless/usb webcam" short_desc="Tool for using your android device as a wireless/usb webcam"
maintainer="ibrokemypie <ibrokemypie@bastardi.net>" maintainer="ibrokemypie <ibrokemypie@bastardi.net>"