From f10c56ae53f678ed86342c95d113047d6719dff4 Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Mon, 26 Jul 2021 04:41:50 +0300 Subject: [PATCH] net-p2p/warpinator: add port https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257423 --- net-p2p/warpinator/Makefile | 42 ++++++++++++++ net-p2p/warpinator/distinfo | 3 + net-p2p/warpinator/pkg-descr | 5 ++ net-p2p/warpinator/pkg-plist | 105 +++++++++++++++++++++++++++++++++++ 4 files changed, 155 insertions(+) create mode 100644 net-p2p/warpinator/Makefile create mode 100644 net-p2p/warpinator/distinfo create mode 100644 net-p2p/warpinator/pkg-descr create mode 100644 net-p2p/warpinator/pkg-plist diff --git a/net-p2p/warpinator/Makefile b/net-p2p/warpinator/Makefile new file mode 100644 index 000000000000..1574cdf6456f --- /dev/null +++ b/net-p2p/warpinator/Makefile @@ -0,0 +1,42 @@ +PORTNAME= warpinator +DISTVERSION= 1.6.4 +CATEGORIES= net-p2p gnome +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DIST_SUBDIR= gnome + +MAINTAINER= rozhuk.im@gmail.com +COMMENT= Share files across the LAN +WWW= https://github.com/linuxmint/warpinator + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}grpcio-tools>0:devel/py-grpcio-tools@${PY_FLAVOR} \ + protoc:devel/protobuf +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}grpcio>=1.16.0:devel/py-grpcio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}netifaces>=0:net/py-netifaces@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pynacl>=0:security/py-pynacl@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}python-xapp>=1.6.0:x11/py-python-xapp@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setproctitle>=0:devel/py-setproctitle@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}zeroconf>=0.27.0:net/py-zeroconf@${PY_FLAVOR} \ + xapp>=0:x11/xapp + +USES= desktop-file-utils gettext gnome meson python:3.6+ shebangfix +USE_GITHUB= yes +GH_ACCOUNT= linuxmint +USE_GNOME= glib20 gtk30 pygobject3 +GLIB_SCHEMAS= org.x.Warpinator.gschema.xml + +SHEBANG_FILES= bin/warpinator-send.in bin/warpinator.in data/warpinator-send-check \ + generate-protobuf testing/testrun +SHEBANG_GLOB= *.py +MESON_ARGS= -Dinclude-firewall-mod=false \ + -Dflatpak-build=false \ + -Dbundle-zeroconf=false +BINARY_ALIAS= python3=${PYTHON_CMD} + +pre-build: + cd ${WRKSRC} && ./generate-protobuf + +.include diff --git a/net-p2p/warpinator/distinfo b/net-p2p/warpinator/distinfo new file mode 100644 index 000000000000..9a9a33609b9c --- /dev/null +++ b/net-p2p/warpinator/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1701004095 +SHA256 (gnome/linuxmint-warpinator-1.6.4_GH0.tar.gz) = 718fbaa3227f5ffed0666c7b2f10b2a89a4c32c92741fd7dc31f27ee6f0b4673 +SIZE (gnome/linuxmint-warpinator-1.6.4_GH0.tar.gz) = 4877646 diff --git a/net-p2p/warpinator/pkg-descr b/net-p2p/warpinator/pkg-descr new file mode 100644 index 000000000000..e091cd9f5352 --- /dev/null +++ b/net-p2p/warpinator/pkg-descr @@ -0,0 +1,5 @@ +Warpinator is a kind of AirDrop for devices using Gnu / Linux operating +systems, allowing us to send files to computers that are connected to +the same Wi-Fi network. + +Android clients also available in F-Droid and google play. diff --git a/net-p2p/warpinator/pkg-plist b/net-p2p/warpinator/pkg-plist new file mode 100644 index 000000000000..b7af8c958b92 --- /dev/null +++ b/net-p2p/warpinator/pkg-plist @@ -0,0 +1,105 @@ +bin/warpinator +bin/warpinator-send +etc/xdg/autostart/warpinator-autostart.desktop +libexec/warpinator/auth.py +libexec/warpinator/config.py +libexec/warpinator/dbus_service.py +libexec/warpinator/interceptors.py +libexec/warpinator/landlock/LICENSE +libexec/warpinator/landlock/__init__.py +libexec/warpinator/landlock/plumbing.py +libexec/warpinator/landlock/porcelain.py +libexec/warpinator/misc.py +libexec/warpinator/networkmonitor.py +libexec/warpinator/notifications.py +libexec/warpinator/ops.py +libexec/warpinator/prefs.py +libexec/warpinator/remote.py +libexec/warpinator/remote_registration.py +libexec/warpinator/server.py +libexec/warpinator/transfers.py +libexec/warpinator/util.py +libexec/warpinator/warp_pb2.py +libexec/warpinator/warp_pb2_grpc.py +libexec/warpinator/warpinator-launch.py +libexec/warpinator/warpinator.py +share/applications/org.x.Warpinator.desktop +share/icons/hicolor/128x128/apps/org.x.Warpinator.png +share/icons/hicolor/128x128@2/apps/org.x.Warpinator.png +share/icons/hicolor/16x16/apps/org.x.Warpinator.png +share/icons/hicolor/16x16@2/apps/org.x.Warpinator.png +share/icons/hicolor/22x22/apps/org.x.Warpinator.png +share/icons/hicolor/22x22@2/apps/org.x.Warpinator.png +share/icons/hicolor/24x24/apps/org.x.Warpinator.png +share/icons/hicolor/24x24@2/apps/org.x.Warpinator.png +share/icons/hicolor/256x256/apps/org.x.Warpinator.png +share/icons/hicolor/256x256@2/apps/org.x.Warpinator.png +share/icons/hicolor/32x32/apps/org.x.Warpinator.png +share/icons/hicolor/32x32@2/apps/org.x.Warpinator.png +share/icons/hicolor/48x48/apps/org.x.Warpinator.png +share/icons/hicolor/48x48@2/apps/org.x.Warpinator.png +share/icons/hicolor/64x64/apps/org.x.Warpinator.png +share/icons/hicolor/64x64@2/apps/org.x.Warpinator.png +share/icons/hicolor/96x96/apps/org.x.Warpinator.png +share/icons/hicolor/96x96@2/apps/org.x.Warpinator.png +share/icons/hicolor/scalable/apps/org.x.Warpinator-error-symbolic.svg +share/icons/hicolor/scalable/apps/org.x.Warpinator-symbolic.svg +share/locale/am/LC_MESSAGES/warpinator.mo +share/locale/ar/LC_MESSAGES/warpinator.mo +share/locale/be/LC_MESSAGES/warpinator.mo +share/locale/bn/LC_MESSAGES/warpinator.mo +share/locale/ca/LC_MESSAGES/warpinator.mo +share/locale/cs/LC_MESSAGES/warpinator.mo +share/locale/cy/LC_MESSAGES/warpinator.mo +share/locale/da/LC_MESSAGES/warpinator.mo +share/locale/de/LC_MESSAGES/warpinator.mo +share/locale/el/LC_MESSAGES/warpinator.mo +share/locale/en_GB/LC_MESSAGES/warpinator.mo +share/locale/eo/LC_MESSAGES/warpinator.mo +share/locale/es/LC_MESSAGES/warpinator.mo +share/locale/et/LC_MESSAGES/warpinator.mo +share/locale/eu/LC_MESSAGES/warpinator.mo +share/locale/fi/LC_MESSAGES/warpinator.mo +share/locale/fr/LC_MESSAGES/warpinator.mo +share/locale/fr_CA/LC_MESSAGES/warpinator.mo +share/locale/fy/LC_MESSAGES/warpinator.mo +share/locale/he/LC_MESSAGES/warpinator.mo +share/locale/hi/LC_MESSAGES/warpinator.mo +share/locale/hr/LC_MESSAGES/warpinator.mo +share/locale/hu/LC_MESSAGES/warpinator.mo +share/locale/ia/LC_MESSAGES/warpinator.mo +share/locale/id/LC_MESSAGES/warpinator.mo +share/locale/ie/LC_MESSAGES/warpinator.mo +share/locale/is/LC_MESSAGES/warpinator.mo +share/locale/it/LC_MESSAGES/warpinator.mo +share/locale/ja/LC_MESSAGES/warpinator.mo +share/locale/kab/LC_MESSAGES/warpinator.mo +share/locale/kk/LC_MESSAGES/warpinator.mo +share/locale/kn/LC_MESSAGES/warpinator.mo +share/locale/ko/LC_MESSAGES/warpinator.mo +share/locale/la/LC_MESSAGES/warpinator.mo +share/locale/lt/LC_MESSAGES/warpinator.mo +share/locale/nl/LC_MESSAGES/warpinator.mo +share/locale/oc/LC_MESSAGES/warpinator.mo +share/locale/pl/LC_MESSAGES/warpinator.mo +share/locale/pt/LC_MESSAGES/warpinator.mo +share/locale/pt_BR/LC_MESSAGES/warpinator.mo +share/locale/ro/LC_MESSAGES/warpinator.mo +share/locale/ru/LC_MESSAGES/warpinator.mo +share/locale/sk/LC_MESSAGES/warpinator.mo +share/locale/sr/LC_MESSAGES/warpinator.mo +share/locale/sr@latin/LC_MESSAGES/warpinator.mo +share/locale/sv/LC_MESSAGES/warpinator.mo +share/locale/tr/LC_MESSAGES/warpinator.mo +share/locale/uk/LC_MESSAGES/warpinator.mo +share/locale/zgh/LC_MESSAGES/warpinator.mo +share/locale/zh_CN/LC_MESSAGES/warpinator.mo +share/locale/zh_HK/LC_MESSAGES/warpinator.mo +share/metainfo/org.x.Warpinator.appdata.xml +share/nemo/actions/warpinator-send-check +share/nemo/actions/warpinator-send.nemo_action +%%DATADIR%%/group-code.ui +%%DATADIR%%/main-window.ui +%%DATADIR%%/op-item.ui +%%DATADIR%%/overview-button.ui +%%DATADIR%%/prefs-window.ui -- 2.42.1