summaryrefslogtreecommitdiff
path: root/deskutils/gnome-shell-extension-hidetopbar
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/gnome-shell-extension-hidetopbar')
-rw-r--r--deskutils/gnome-shell-extension-hidetopbar/Makefile54
-rw-r--r--deskutils/gnome-shell-extension-hidetopbar/distinfo6
-rw-r--r--deskutils/gnome-shell-extension-hidetopbar/files/pkg-message.in18
-rw-r--r--deskutils/gnome-shell-extension-hidetopbar/pkg-plist27
4 files changed, 62 insertions, 43 deletions
diff --git a/deskutils/gnome-shell-extension-hidetopbar/Makefile b/deskutils/gnome-shell-extension-hidetopbar/Makefile
index ab21df3c6bb8..d601599539ee 100644
--- a/deskutils/gnome-shell-extension-hidetopbar/Makefile
+++ b/deskutils/gnome-shell-extension-hidetopbar/Makefile
@@ -1,40 +1,48 @@
-PORTNAME= gnome-shell-extension-hidetopbar
-PORTVERSION= 0.0.0.20180511
-PORTREVISION= 2
+PORTNAME= hidetopbar
+DISTVERSION= 120
+PORTREVISION= 1
CATEGORIES= deskutils gnome
+PKGNAMEPREFIX= gnome-shell-extension-
DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= Hide the topbar except in overview mode
-WWW= https://github.com/mlutfy/hidetopbar
+WWW= https://gitlab.gnome.org/tuxor1337/hidetopbar
-LICENSE= GPLv2
+LICENSE= GPLv3
-BUILD_DEPENDS= gnome-shell>=0:x11/gnome-shell \
- gsettings-desktop-schemas>=3.12.0:devel/gsettings-desktop-schemas
-RUN_DEPENDS= gnome-shell>=0:x11/gnome-shell \
- gsettings-desktop-schemas>=3.12.0:devel/gsettings-desktop-schemas
+RUN_DEPENDS= gnome-shell>=47.0:x11/gnome-shell \
+ gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas
-USES= gettext gmake gnome pkgconfig
+USES= gnome
USE_GNOME= glib20
-USE_GITHUB= yes
-GLIB_SCHEMAS= org.gnome.shell.extensions.hidetopbar.gschema.xml
-GH_ACCOUNT= mlutfy
-GH_PROJECT= hidetopbar
-GH_TAGNAME= 7977769
+NO_BUILD= yes
+NO_ARCH= yes
+
+USE_GITLAB= yes
+GL_SITE= https://gitlab.gnome.org
+GL_ACCOUNT= tuxor1337
+GL_TAGNAME= e9ececc2
-PKGMESSAGE= ../gnome-shell-extra-extensions/pkg-message.slaves
+UUID_EXTENSION= hidetopbar@mathieu.bidon.ca
-NO_BUILD= yes
+SUB_FILES= pkg-message
+SUB_LIST= UUID=${UUID_EXTENSION}
+
+GLIB_SCHEMAS= org.gnome.shell.extensions.hidetopbar.gschema.xml
+
+pre-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/glib-2.0/schemas
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/locale
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/${UUID_EXTENSION}
do-install:
- @${MKDIR} ${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/
- @${MKDIR} ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca
- ${INSTALL_DATA} ${WRKSRC}/org.gnome.shell.extensions.hidetopbar.gschema.xml \
+ ${INSTALL_DATA} ${WRKSRC}/*.js \
+ ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/${UUID_EXTENSION}
+ ${INSTALL_DATA} ${WRKSRC}/schemas/*.gschema.xml \
${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/
- @${RM} -r ${WRKSRC}/org.gnome.shell.extensions.hidetopbar.gschema.xml
- cd ${WRKSRC} && ${COPYTREE_SHARE} . \
- ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/
+ cd ${WRKSRC}/locale/ && ${COPYTREE_SHARE} . \
+ ${STAGEDIR}${PREFIX}/share/locale/ "! -name *\.pot"
.include <bsd.port.mk>
diff --git a/deskutils/gnome-shell-extension-hidetopbar/distinfo b/deskutils/gnome-shell-extension-hidetopbar/distinfo
index 63b5af9ac04c..abd1ef0a691e 100644
--- a/deskutils/gnome-shell-extension-hidetopbar/distinfo
+++ b/deskutils/gnome-shell-extension-hidetopbar/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1526413761
-SHA256 (gnome/mlutfy-hidetopbar-0.0.0.20180511-7977769_GH0.tar.gz) = 0d582fcf2d52ca9867efc9e396ca13cceffb6d1976d37e67e7217af552bf58d6
-SIZE (gnome/mlutfy-hidetopbar-0.0.0.20180511-7977769_GH0.tar.gz) = 17790
+TIMESTAMP = 1746363904
+SHA256 (gnome/hidetopbar-e9ececc2.tar.bz2) = c94b114ffa93efb6b89cc7540f34986df750391a63a7a3497f5b323a9a82e630
+SIZE (gnome/hidetopbar-e9ececc2.tar.bz2) = 4556153
diff --git a/deskutils/gnome-shell-extension-hidetopbar/files/pkg-message.in b/deskutils/gnome-shell-extension-hidetopbar/files/pkg-message.in
new file mode 100644
index 000000000000..f3426c1d308c
--- /dev/null
+++ b/deskutils/gnome-shell-extension-hidetopbar/files/pkg-message.in
@@ -0,0 +1,18 @@
+[
+{ type: install
+ message: <<EOM
+To enable this extension:
+gsettings set org.gnome.shell enabled-extensions "['%%UUID%%']"
+
+The gnome-shell must be restarted, press Alt+F2 and type 'r' (X11 only).
+
+To configure or disable an extension, after restarting the shell,
+you have to launch 'gnome-extensions-app'.
+
+To disable this extension (before remove):
+gdbus call --session --dest org.gnome.Shell.Extensions \
+--object-path /org/gnome/Shell/Extensions \
+--method org.gnome.Shell.Extensions.DisableExtension %%UUID%%
+EOM
+}
+]
diff --git a/deskutils/gnome-shell-extension-hidetopbar/pkg-plist b/deskutils/gnome-shell-extension-hidetopbar/pkg-plist
index 48ba700f88cc..8cc421cf2c8e 100644
--- a/deskutils/gnome-shell-extension-hidetopbar/pkg-plist
+++ b/deskutils/gnome-shell-extension-hidetopbar/pkg-plist
@@ -1,22 +1,15 @@
-share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/.gitignore
-share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/Makefile
-share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/README.md
share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/convenience.js
+share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/desktopIconsIntegration.js
share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/extension.js
share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/intellihide.js
-share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/locale/ca/LC_MESSAGES/hidetopbar.mo
-share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/locale/ca/LC_MESSAGES/hidetopbar.po
-share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/locale/de/LC_MESSAGES/hidetopbar.mo
-share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/locale/de/LC_MESSAGES/hidetopbar.po
-share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/locale/fr/LC_MESSAGES/hidetopbar.mo
-share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/locale/fr/LC_MESSAGES/hidetopbar.po
-share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/locale/hidetopbar.pot
-share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/locale/pl/LC_MESSAGES/hidetopbar.mo
-share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/locale/pl/LC_MESSAGES/hidetopbar.po
-share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/locale/pt_BR/LC_MESSAGES/pt_BR.mo
-share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/locale/pt_BR/LC_MESSAGES/pt_BR.po
-share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/locale/zh_CN/LC_MESSAGES/hidetopbar.mo
-share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/locale/zh_CN/LC_MESSAGES/hidetopbar.po
-share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/metadata.json
share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/panelVisibilityManager.js
share/gnome-shell/extensions/hidetopbar@mathieu.bidon.ca/prefs.js
+share/locale/ca/LC_MESSAGES/hidetopbar.po
+share/locale/de/LC_MESSAGES/hidetopbar.po
+share/locale/fr/LC_MESSAGES/hidetopbar.po
+share/locale/it_IT/LC_MESSAGES/hidetopbar.po
+share/locale/nl/LC_MESSAGES/hidetopbar.po
+share/locale/pl/LC_MESSAGES/hidetopbar.po
+share/locale/pt_BR/LC_MESSAGES/hidetopbar.po
+share/locale/ru_RU/LC_MESSAGES/hidetopbar.po
+share/locale/zh_CN/LC_MESSAGES/hidetopbar.po