View | Details | Raw Unified | Return to bug 278432 | Differences between
and this patch

Collapse All | Expand All

(-)b/multimedia/droidcam/Makefile (+65 lines)
Added Link Here
1
PORTNAME=	droidcam
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	2.1.3
4
CATEGORIES=	multimedia
5
6
MAINTAINER=	nxjoseph@protonmail.com
7
COMMENT=	GNU/Linux/nix client for DroidCam
8
WWW=		https://github.com/dev47apps/droidcam
9
10
LICENSE=	GPLv2
11
LICENSE_FILE=	${WRKSRC}/LICENSE
12
13
LIB_DEPENDS=	libappindicator3.so:devel/libappindicator \
14
		libasound.so:audio/alsa-lib \
15
		libatk-1.0.so:accessibility/at-spi2-core \
16
		libcairo-gobject.so:graphics/cairo \
17
		libcairo.so:graphics/cairo \
18
		libdbusmenu-glib.so:devel/libdbusmenu \
19
		libgdk-3.so:x11-toolkits/gtk30 \
20
		libgdk_pixbuf-2.0.so:graphics/gdk-pixbuf2 \
21
		libgio-2.0.so:devel/glib20 \
22
		libglib-2.0.so:devel/glib20 \
23
		libgobject-2.0.so:devel/glib20 \
24
		libgtk-3.so:x11-toolkits/gtk30 \
25
		libharfbuzz.so:print/harfbuzz \
26
		libpango-1.0.so:x11-toolkits/pango \
27
		libpangocairo-1.0.so:x11-toolkits/pango \
28
		libspeex.so:audio/speex \
29
		libturbojpeg.so:graphics/libjpeg-turbo \
30
		libusbmuxd-2.0.so:comms/libusbmuxd \
31
		libX11.so:x11/libX11
32
33
RUN_DEPENDS=	adb:devel/android-tools \
34
		ffmpeg:multimedia/ffmpeg \
35
		usbmuxd:comms/usbmuxd \
36
		webcamd:multimedia/webcamd
37
USES=		gettext-runtime gmake pkgconfig desktop-file-utils
38
USE_GNOME=	cairo gdkpixbuf2 glib20 gtk30 pango
39
USE_XORG=	x11
40
41
OPTIONS_DEFINE=	NLS
42
OPTIONS_SUB=	yes
43
44
NLS_USES=		gettext
45
NLS_CONFIGURE_ENABLE=	nls
46
47
PLIST_FILES=	bin/droidcam \
48
		bin/droidcam-cli \
49
		share/applications/droidcam.desktop \
50
		share/pixmaps/droidcam-icon.png
51
52
USE_GITHUB=	yes
53
GH_ACCOUNT=	dev47apps
54
55
do-install:
56
	${INSTALL_PROGRAM} ${WRKSRC}/droidcam \
57
		${STAGEDIR}${PREFIX}/bin
58
	${INSTALL_PROGRAM} ${WRKSRC}/droidcam-cli \
59
		${STAGEDIR}${PREFIX}/bin
60
	${INSTALL_DATA} ${WRKSRC}/icon2.png \
61
		${STAGEDIR}${PREFIX}/share/pixmaps/droidcam-icon.png
62
	${INSTALL_DATA} ${WRKSRC}/droidcam.desktop \
63
		${STAGEDIR}${PREFIX}/share/applications
64
65
.include <bsd.port.mk>
(-)b/multimedia/droidcam/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1713444177
2
SHA256 (dev47apps-droidcam-v2.1.3_GH0.tar.gz) = 0eb46c1ef19bce817b78740600d5451d14f7b279ebfd4605993d81f96aad08db
3
SIZE (dev47apps-droidcam-v2.1.3_GH0.tar.gz) = 86091
(-)b/multimedia/droidcam/files/patch-droidcam.desktop (+11 lines)
Added Link Here
1
--- droidcam.desktop.orig	2024-04-18 16:03:55 UTC
2
+++ droidcam.desktop
3
@@ -4,7 +4,7 @@ Exec=/usr/local/bin/droidcam
4
 Comment=Use your phone as a webcam
5
 TryExec=/usr/local/bin/droidcam
6
 Exec=/usr/local/bin/droidcam
7
-Icon=/opt/droidcam-icon.png
8
+Icon=/usr/local/share/pixmaps/droidcam-icon.png
9
 Terminal=false
10
 Type=Application
11
 Categories=Video;AudioVideo;
(-)b/multimedia/droidcam/pkg-descr (-1 / +2 lines)
Added Link Here
0
- 
1
DroidCam turns your phone/tablet into a webcam for your PC.
2
Use it with chat programs like Zoom, MS Teams, and Skype.

Return to bug 278432