Date: Wed, 24 Apr 2024 15:54:50 GMT From: Kurt Jaeger <pi@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 570bd449d4b9 - main - multimedia/droidcam: New port: GNU/Linux/nix client for DroidCam Message-ID: <202404241554.43OFsodl024149@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pi: URL: https://cgit.FreeBSD.org/ports/commit/?id=570bd449d4b9b8e0c65b1d7d33e5c404f256389c commit 570bd449d4b9b8e0c65b1d7d33e5c404f256389c Author: Yusuf Yaman <nxjosephofficial@protonmail.com> AuthorDate: 2024-04-24 15:53:09 +0000 Commit: Kurt Jaeger <pi@FreeBSD.org> CommitDate: 2024-04-24 15:53:09 +0000 multimedia/droidcam: New port: GNU/Linux/nix client for DroidCam DroidCam turns your phone/tablet into a webcam for your PC. Use it with chat programs like Zoom, MS Teams, and Skype. PR: 278432 Author: Yusuf Yaman <nxjosephofficial@protonmail.com> WWW: https://github.com/dev47apps/droidcam --- multimedia/Makefile | 1 + multimedia/droidcam/Makefile | 66 ++++++++++++++++++++++++ multimedia/droidcam/distinfo | 3 ++ multimedia/droidcam/files/patch-droidcam.desktop | 11 ++++ multimedia/droidcam/pkg-descr | 2 + 5 files changed, 83 insertions(+) diff --git a/multimedia/Makefile b/multimedia/Makefile index 83f0768924e9..a2a77fa71d14 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -37,6 +37,7 @@ SUBDIR += deforaos-player SUBDIR += dirac SUBDIR += dragon + SUBDIR += droidcam SUBDIR += dtv-scan-tables SUBDIR += dumpmpeg SUBDIR += dv2sub diff --git a/multimedia/droidcam/Makefile b/multimedia/droidcam/Makefile new file mode 100644 index 000000000000..bebebf15dd92 --- /dev/null +++ b/multimedia/droidcam/Makefile @@ -0,0 +1,66 @@ +PORTNAME= droidcam +DISTVERSIONPREFIX= v +DISTVERSION= 2.1.3 +CATEGORIES= multimedia + +MAINTAINER= nxjoseph@protonmail.com +COMMENT= GNU/Linux/nix client for DroidCam +WWW= https://github.com/dev47apps/droidcam + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat +LIB_DEPENDS= libappindicator3.so:devel/libappindicator \ + libasound.so:audio/alsa-lib \ + libatk-1.0.so:accessibility/at-spi2-core \ + libcairo-gobject.so:graphics/cairo \ + libcairo.so:graphics/cairo \ + libdbusmenu-glib.so:devel/libdbusmenu \ + libgdk-3.so:x11-toolkits/gtk30 \ + libgdk_pixbuf-2.0.so:graphics/gdk-pixbuf2 \ + libgio-2.0.so:devel/glib20 \ + libglib-2.0.so:devel/glib20 \ + libgobject-2.0.so:devel/glib20 \ + libgtk-3.so:x11-toolkits/gtk30 \ + libharfbuzz.so:print/harfbuzz \ + libpango-1.0.so:x11-toolkits/pango \ + libpangocairo-1.0.so:x11-toolkits/pango \ + libspeex.so:audio/speex \ + libturbojpeg.so:graphics/libjpeg-turbo \ + libusbmuxd-2.0.so:comms/libusbmuxd \ + libX11.so:x11/libX11 \ + libswscale.so:multimedia/ffmpeg +RUN_DEPENDS= adb:devel/android-tools \ + ffmpeg:multimedia/ffmpeg \ + usbmuxd:comms/usbmuxd \ + webcamd:multimedia/webcamd + +USES= desktop-file-utils gettext-runtime gmake gnome pkgconfig xorg +USE_GITHUB= yes +GH_ACCOUNT= dev47apps +USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 pango +USE_XORG= x11 + +PLIST_FILES= bin/droidcam \ + bin/droidcam-cli \ + share/applications/droidcam.desktop \ + share/pixmaps/droidcam-icon.png + +OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes + +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/droidcam \ + ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/droidcam-cli \ + ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/icon2.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/droidcam-icon.png + ${INSTALL_DATA} ${WRKSRC}/droidcam.desktop \ + ${STAGEDIR}${PREFIX}/share/applications + +.include <bsd.port.mk> diff --git a/multimedia/droidcam/distinfo b/multimedia/droidcam/distinfo new file mode 100644 index 000000000000..eb95ec6ae519 --- /dev/null +++ b/multimedia/droidcam/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1713444177 +SHA256 (dev47apps-droidcam-v2.1.3_GH0.tar.gz) = 0eb46c1ef19bce817b78740600d5451d14f7b279ebfd4605993d81f96aad08db +SIZE (dev47apps-droidcam-v2.1.3_GH0.tar.gz) = 86091 diff --git a/multimedia/droidcam/files/patch-droidcam.desktop b/multimedia/droidcam/files/patch-droidcam.desktop new file mode 100644 index 000000000000..9459587b56a6 --- /dev/null +++ b/multimedia/droidcam/files/patch-droidcam.desktop @@ -0,0 +1,11 @@ +--- droidcam.desktop.orig 2024-04-18 16:03:55 UTC ++++ droidcam.desktop +@@ -4,7 +4,7 @@ Exec=/usr/local/bin/droidcam + Comment=Use your phone as a webcam + TryExec=/usr/local/bin/droidcam + Exec=/usr/local/bin/droidcam +-Icon=/opt/droidcam-icon.png ++Icon=/usr/local/share/pixmaps/droidcam-icon.png + Terminal=false + Type=Application + Categories=Video;AudioVideo; diff --git a/multimedia/droidcam/pkg-descr b/multimedia/droidcam/pkg-descr new file mode 100644 index 000000000000..1459f3a6b478 --- /dev/null +++ b/multimedia/droidcam/pkg-descr @@ -0,0 +1,2 @@ +DroidCam turns your phone/tablet into a webcam for your PC. +Use it with chat programs like Zoom, MS Teams, and Skype.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404241554.43OFsodl024149>