From 6670caf13480acb502d094c35cb5cf04e123a379 Mon Sep 17 00:00:00 2001 From: Erick Tucto Date: Tue, 25 Jun 2024 21:02:47 -0500 Subject: [PATCH] droidcam: update to 2.1.3 --- .../patches/use-ayatana-appindicator.patch | 26 ------------------- srcpkgs/droidcam/template | 11 ++++---- 2 files changed, 6 insertions(+), 31 deletions(-) delete mode 100644 srcpkgs/droidcam/patches/use-ayatana-appindicator.patch diff --git a/srcpkgs/droidcam/patches/use-ayatana-appindicator.patch b/srcpkgs/droidcam/patches/use-ayatana-appindicator.patch deleted file mode 100644 index 32ab4537715..00000000000 --- a/srcpkgs/droidcam/patches/use-ayatana-appindicator.patch +++ /dev/null @@ -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 --#include -+#include - #include - #include - diff --git a/srcpkgs/droidcam/template b/srcpkgs/droidcam/template index 1c3f1b8b1fc..f727b7a64f3 100644 --- a/srcpkgs/droidcam/template +++ b/srcpkgs/droidcam/template @@ -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 " +maintainer="Orphaned " 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