Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] change: update droidcamb to v2.1.3
@ 2024-05-13  4:58 ericktucto
  2024-05-13  4:59 ` classabbyamp
                   ` (15 more replies)
  0 siblings, 16 replies; 22+ messages in thread
From: ericktucto @ 2024-05-13  4:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 549 bytes --]

There is a new pull request by ericktucto against master on the void-packages repository

https://github.com/ericktucto/void-packages update-droidcam
https://github.com/void-linux/void-packages/pull/50303

change: update droidcamb to v2.1.3
This changes are to update version of Droidcam

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my virtual maquine
  - x86_64-glibc


A patch file from https://github.com/void-linux/void-packages/pull/50303.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update-droidcam-50303.patch --]
[-- Type: text/x-diff, Size: 3277 bytes --]

From 3344db7065b4c8de715116cc70d3ff4c8c8a6430 Mon Sep 17 00:00:00 2001
From: Erick Tucto <erick@ericktucto.com>
Date: Sun, 12 May 2024 23:53:51 -0500
Subject: [PATCH] change: update droidcamb to v2.1.3

---
 .../patches/use-ayatana-appindicator.patch    | 27 +++----------------
 srcpkgs/droidcam/template                     | 10 ++++---
 2 files changed, 10 insertions(+), 27 deletions(-)

diff --git a/srcpkgs/droidcam/patches/use-ayatana-appindicator.patch b/srcpkgs/droidcam/patches/use-ayatana-appindicator.patch
index 32ab453771521e..f3ceb0ee7e1676 100644
--- a/srcpkgs/droidcam/patches/use-ayatana-appindicator.patch
+++ b/srcpkgs/droidcam/patches/use-ayatana-appindicator.patch
@@ -1,26 +1,7 @@
 diff --git a/Makefile b/Makefile
-index 7be3c15..b7f16c4 100644
+index fbf9f4e..bb7c86a 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>
- 
+@@ -23 +23 @@ JPEG  = `pkg-config --libs --cflags libturbojpeg`
+-USBMUXD = `pkg-config --libs --cflags libusbmuxd`
++USBMUXD ?= `pkg-config --libs --cflags libusbmuxd`
diff --git a/srcpkgs/droidcam/template b/srcpkgs/droidcam/template
index 1c3f1b8b1fc676..ffa13bfa1d2699 100644
--- a/srcpkgs/droidcam/template
+++ b/srcpkgs/droidcam/template
@@ -1,20 +1,21 @@
 # Template file for 'droidcam'
 pkgname=droidcam
-version=1.8.2
+version=2.1.3
 revision=2
 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"
+depends="v4l2loopback linux-headers gcc make"
 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=9f18c6768572571c59bfe08ac70e24612e08fc3d887c127ff47899252d3dc662
+checksum=0eb46c1ef19bce817b78740600d5451d14f7b279ebfd4605993d81f96aad08db
 
 post_patch() {
 	vsed -e "s/^Icon=.*/Icon=droidcam-icon.png/" -e "s,/local,," -i droidcam.desktop
@@ -24,6 +25,7 @@ do_install() {
 	vbin droidcam
 	vbin droidcam-cli
 	vinstall icon2.png 644 usr/share/pixmaps droidcam-icon.png
+	vinstall icon2.png 644 opt droidcam-icon.png
 	vinstall droidcam.desktop 644 usr/share/applications
 	vdoc README.md
 }

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [PR PATCH] Bump Droidcamp to 2.1.3
@ 2024-05-07 22:07 ZeroTrustZeroTouch
  2024-05-07 23:54 ` [PR PATCH] [Updated] droidcam: update " ZeroTrustZeroTouch
                   ` (4 more replies)
  0 siblings, 5 replies; 22+ messages in thread
From: ZeroTrustZeroTouch @ 2024-05-07 22:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 572 bytes --]

There is a new pull request by ZeroTrustZeroTouch against master on the void-packages repository

https://github.com/ZeroTrustZeroTouch/void-packages master
https://github.com/void-linux/void-packages/pull/50238

Bump Droidcamp to 2.1.3

#### Testing the changes
- I tested the changes in this PR: YES

#### Local build testing
- I built this PR locally for my native architecture, (AMD64)


Simple bump and small change to the patch file to sync with up-stream's changes.

A patch file from https://github.com/void-linux/void-packages/pull/50238.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-50238.patch --]
[-- Type: text/x-diff, Size: 3507 bytes --]

From 599cabf8a042936f0f7e2922d2a3eac4304be53a Mon Sep 17 00:00:00 2001
From: Glenn Phillips <GPhillips@ZeroTrustZeroTouch.com>
Date: Tue, 7 May 2024 15:02:50 -0700
Subject: [PATCH] Bump Droidcamp to 2.1.3

---
 .../patches/use-ayatana-appindicator.patch    | 51 ++++++++++---------
 srcpkgs/droidcam/template                     |  8 +--
 2 files changed, 30 insertions(+), 29 deletions(-)

diff --git a/srcpkgs/droidcam/patches/use-ayatana-appindicator.patch b/srcpkgs/droidcam/patches/use-ayatana-appindicator.patch
index 32ab453771521e..7c18af188ce8ce 100644
--- a/srcpkgs/droidcam/patches/use-ayatana-appindicator.patch
+++ b/srcpkgs/droidcam/patches/use-ayatana-appindicator.patch
@@ -1,26 +1,27 @@
-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>
+diff -ru a/Makefile b/Makefile
+--- a/Makefile  2024-05-07 11:35:07.033518288 -0700
++++ b/Makefile  2024-05-07 11:36:29.228732440 -0700
+@@ -14,7 +14,7 @@
+
+CC           ?= gcc
+CFLAGS       ?=
+-APPINDICATOR ?= appindicator3-0.1
++APPINDICATOR ?= ayatana-appindicator3-0.1
+
+GTK   = `pkg-config --libs --cflags gtk+-3.0` `pkg-config --libs x11`
+GTK  += `pkg-config --libs --cflags $(APPINDICATOR)`
+diff -ru a/src/droidcam.c b/src/droidcam.c
+--- a/src/droidcam.c    2024-05-07 11:51:14.240505923 -0700
++++ b/src/droidcam.c    2024-05-07 11:51:46.902382940 -0700
+@@ -7,11 +7,7 @@
+*/
+
+#include <gtk/gtk.h>
+-#ifdef USE_AYATANA_APPINDICATOR
+#include <libayatana-appindicator/app-indicator.h>
+-#else
 -#include <libappindicator/app-indicator.h>
-+#include <libayatana-appindicator/app-indicator.h>
- #include <X11/Xlib.h>
- #include <stdint.h>
- 
+-#endif
+
+#include <X11/Xlib.h>
+#include <stdint.h>
\ No newline at end of file
diff --git a/srcpkgs/droidcam/template b/srcpkgs/droidcam/template
index 1c3f1b8b1fc676..fe24127d243230 100644
--- a/srcpkgs/droidcam/template
+++ b/srcpkgs/droidcam/template
@@ -1,7 +1,7 @@
 # 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"
 hostmakedepends="pkg-config"
@@ -10,11 +10,11 @@ makedepends="pkg-config libjpeg-turbo-devel ffmpeg-devel alsa-lib-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="Glenn Phillips <gphilliops@zerotrustzerotouch.com>"
 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=0eb46c1ef19bce817b78740600d5451d14f7b279ebfd4605993d81f96aad08db
 
 post_patch() {
 	vsed -e "s/^Icon=.*/Icon=droidcam-icon.png/" -e "s,/local,," -i droidcam.desktop

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2024-06-26  3:45 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-13  4:58 [PR PATCH] change: update droidcamb to v2.1.3 ericktucto
2024-05-13  4:59 ` classabbyamp
2024-05-13 15:09 ` ericktucto
2024-05-13 16:50 ` [PR PATCH] [Updated] " ericktucto
2024-05-18 16:23 ` [PR REVIEW] droidcam: update to 2.1.3 classabbyamp
2024-05-19  0:22 ` [PR PATCH] [Updated] " ericktucto
2024-05-19  0:22 ` [PR REVIEW] " ericktucto
2024-06-04 16:07 ` [PR PATCH] [Updated] " ericktucto
2024-06-04 16:24 ` ericktucto
2024-06-04 16:32 ` [PR REVIEW] " ericktucto
2024-06-09 16:51 ` classabbyamp
2024-06-16 22:32 ` classabbyamp
2024-06-17 21:02 ` [PR PATCH] [Updated] " ericktucto
2024-06-18 16:47 ` ericktucto
2024-06-26  1:57 ` ericktucto
2024-06-26  2:02 ` ericktucto
2024-06-26  3:45 ` [PR PATCH] [Merged]: " classabbyamp
  -- strict thread matches above, loose matches on Subject: below --
2024-05-07 22:07 [PR PATCH] Bump Droidcamp " ZeroTrustZeroTouch
2024-05-07 23:54 ` [PR PATCH] [Updated] droidcam: update " ZeroTrustZeroTouch
2024-05-08 17:33 ` ZeroTrustZeroTouch
2024-05-08 17:55 ` ZeroTrustZeroTouch
2024-05-08 17:56 ` ZeroTrustZeroTouch
2024-05-08 18:00 ` ZeroTrustZeroTouch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).