Index: www/Makefile =================================================================== --- www/Makefile +++ www/Makefile @@ -80,6 +80,7 @@ SUBDIR += choqok SUBDIR += choqok-kde4 SUBDIR += chpasswd + SUBDIR += chrome-gnome-shell SUBDIR += chromium SUBDIR += ckeditor SUBDIR += cl-lml Index: www/chrome-gnome-shell/Makefile =================================================================== --- /dev/null +++ www/chrome-gnome-shell/Makefile @@ -0,0 +1,35 @@ +# $FreeBSD$ + +PORTNAME= chrome-gnome-shell +DISTVERSION= 10.1 +CATEGORIES= www gnome +MASTER_SITES= GNOME + +MAINTAINER= daniel@shafer.cc +COMMENT= GNOME Shell integration for Chrome + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= gnome-shell>=3.28:x11/gnome-shell \ + base64:converters/base64 \ + jq:textproc/jq + +RUN_DEPENDS= gnome-shell>=3.28:x11/gnome-shell \ + ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ + unzip>=6.0:archivers/unzip + +USES= cmake:outsource gnome python tar:xz +USE_GNOME= pygobject3 + +CMAKE_OFF= BUILD_EXTENSION +CMAKE_ARGS= -DCMAKE_INSTALL_LIBDIR=lib + +INSTALL_TARGET= install + +NO_ARCH= yes + +post-patch: + @${REINPLACE_CMD} -e '/find_program_ex/s|gsha256sum|gsha256sum sha256|g' ${WRKSRC}/CMakeLists.txt + +.include Index: www/chrome-gnome-shell/distinfo =================================================================== --- /dev/null +++ www/chrome-gnome-shell/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1539798917 +SHA256 (chrome-gnome-shell-10.1.tar.xz) = 56ad4fee9078ba62c43d2439f15a93d4b87881fab35900d7f5038d5a95efa438 +SIZE (chrome-gnome-shell-10.1.tar.xz) = 169088 Index: www/chrome-gnome-shell/pkg-descr =================================================================== --- /dev/null +++ www/chrome-gnome-shell/pkg-descr @@ -0,0 +1,5 @@ +Native host messaging connector that provides integration +with GNOME Shell and the corresponding extensions repository +https://extensions.gnome.org + +WWW: https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome Index: www/chrome-gnome-shell/pkg-message =================================================================== --- /dev/null +++ www/chrome-gnome-shell/pkg-message @@ -0,0 +1,8 @@ +This only installs the native host connector. + +You will need to install a browser extension in order to use properly + +Chromium: https://chrome.google.com/webstore/detail/gnome-shell-integration/gphhapmejobijbbhgpjhcjognlahblep +Firefox: https://addons.mozilla.org/en-US/firefox/addon/gnome-shell-integration/ +Opera: https://addons.opera.com/en/extensions/details/gnome-shell-integration/ +Epiphany has built in support. Index: www/chrome-gnome-shell/pkg-plist =================================================================== --- /dev/null +++ www/chrome-gnome-shell/pkg-plist @@ -0,0 +1,10 @@ +bin/chrome-gnome-shell +etc/chrome/native-messaging-hosts/org.gnome.chrome_gnome_shell.json +lib/mozilla/native-messaging-hosts/org.gnome.chrome_gnome_shell.json +%%PYTHON_SITELIBDIR%%/chrome_gnome_shell-0.0.0-py%%PYTHON_VER%%.egg-info +share/applications/org.gnome.ChromeGnomeShell.desktop +share/dbus-1/services/org.gnome.ChromeGnomeShell.service +share/icons/gnome/128x128/apps/org.gnome.ChromeGnomeShell.png +share/icons/gnome/16x16/apps/org.gnome.ChromeGnomeShell.png +share/icons/gnome/48x48/apps/org.gnome.ChromeGnomeShell.png +