Github messages for voidlinux
 help / color / mirror / Atom feed
From: ericktucto <ericktucto@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] change: update droidcamb to v2.1.3
Date: Mon, 13 May 2024 06:58:10 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50303@inbox.vuxu.org> (raw)

[-- 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
 }

             reply	other threads:[~2024-05-13  4:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-13  4:58 ericktucto [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50303@inbox.vuxu.org \
    --to=ericktucto@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).