summaryrefslogtreecommitdiffstats
path: root/deskutils/gnome-shell-extension-trash
diff options
context:
space:
mode:
authorgusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2014-05-23 22:40:39 +0800
committergusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2014-05-23 22:40:39 +0800
commitc6bfe60abd08d42afb5887246a435cf7d63fa3ed (patch)
tree5ceb25ab5c2ba9cd2bd9e5519e862cad2e5c8018 /deskutils/gnome-shell-extension-trash
parent4c5771b0c34165a7a446fa2ba4e81341aab2e523 (diff)
downloadmarcuscom-ports-c6bfe60abd08d42afb5887246a435cf7d63fa3ed.tar.gz
marcuscom-ports-c6bfe60abd08d42afb5887246a435cf7d63fa3ed.tar.zst
marcuscom-ports-c6bfe60abd08d42afb5887246a435cf7d63fa3ed.zip
Import some, I think, interesting gnome shell extensions that
can be installed separately. Also create a metapoort (gnome-shell-extra-extensions) to install all of them in a row. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@19680 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils/gnome-shell-extension-trash')
-rw-r--r--deskutils/gnome-shell-extension-trash/Makefile44
-rw-r--r--deskutils/gnome-shell-extension-trash/distinfo2
-rw-r--r--deskutils/gnome-shell-extension-trash/pkg-descr7
-rw-r--r--deskutils/gnome-shell-extension-trash/pkg-plist17
4 files changed, 70 insertions, 0 deletions
diff --git a/deskutils/gnome-shell-extension-trash/Makefile b/deskutils/gnome-shell-extension-trash/Makefile
new file mode 100644
index 000000000..e17b53423
--- /dev/null
+++ b/deskutils/gnome-shell-extension-trash/Makefile
@@ -0,0 +1,44 @@
+# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= gnome-shell-extension-trash
+PORTVERSION= 0.0.0.20140520
+CATEGORIES= deskutils gnome
+DIST_SUBDIR= gnome3
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Gnome-shell trash indicator
+
+BUILD_DEPENDS= gnome-shell>=0:${PORTSDIR}/x11/gnome-shell \
+ gsettings-desktop-schemas>=3.12.0:${PORTSDIR}/devel/gsettings-desktop-schemas
+RUN_DEPENDS= gnome-shell>=0:${PORTSDIR}/x11/gnome-shell \
+ gsettings-desktop-schemas>=3.12.0:${PORTSDIR}/devel/gsettings-desktop-schemas
+
+WRKSRC= ${WRKDIR}/bertoldia-gnome-shell-trash-extension-b2e4aae
+
+USES= gettext gmake pkgconfig tar:xz
+USE_GNOME= glib20
+USE_GITHUB= yes
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
+GH_ACCOUNT= bertoldia
+GH_TAGNAME= b2e4aae90a
+GH_COMMIT= b2e4aae90a
+GH_PROJECT= gnome-shell-trash-extension
+
+PKGMESSAGE= ../gnome-shell-extra-extensions/pkg-message.slaves
+
+NO_BUILD= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|3.10|3.10","3.12|g' \
+ ${WRKSRC}/metadata.json
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/gnome-shell-trash-extension
+ @(cd ${WRKSRC} && ${CP} -pPR * \
+ ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/gnome-shell-trash-extension)
+
+.include <bsd.port.mk>
diff --git a/deskutils/gnome-shell-extension-trash/distinfo b/deskutils/gnome-shell-extension-trash/distinfo
new file mode 100644
index 000000000..a4ebaf1b8
--- /dev/null
+++ b/deskutils/gnome-shell-extension-trash/distinfo
@@ -0,0 +1,2 @@
+SHA256 (gnome3/gnome-shell-extension-trash-0.0.0.20140520.tar.xz) = e40ed5768382f945a0c86ec00b3294c420aabea299fc07498d3d8d7957c961d4
+SIZE (gnome3/gnome-shell-extension-trash-0.0.0.20140520.tar.xz) = 4561
diff --git a/deskutils/gnome-shell-extension-trash/pkg-descr b/deskutils/gnome-shell-extension-trash/pkg-descr
new file mode 100644
index 000000000..9776cc14e
--- /dev/null
+++ b/deskutils/gnome-shell-extension-trash/pkg-descr
@@ -0,0 +1,7 @@
+A minimalist Trash management extension for the Gnome Shell.
+
+It allows you to empty and open the Trash folder. It hides
+completely when the Trash is empty, and lists the files
+in the trash bin in the panel menu.
+
+WWW: https://github.com/bertoldia/gnome-shell-trash-extension
diff --git a/deskutils/gnome-shell-extension-trash/pkg-plist b/deskutils/gnome-shell-extension-trash/pkg-plist
new file mode 100644
index 000000000..96461c6a7
--- /dev/null
+++ b/deskutils/gnome-shell-extension-trash/pkg-plist
@@ -0,0 +1,17 @@
+share/gnome-shell/extensions/gnome-shell-trash-extension/README
+share/gnome-shell/extensions/gnome-shell-trash-extension/extension.js
+share/gnome-shell/extensions/gnome-shell-trash-extension/locale/de/LC_MESSAGES/gnome-shell-trash-extension.mo
+share/gnome-shell/extensions/gnome-shell-trash-extension/locale/fr/LC_MESSAGES/gnome-shell-trash-extension.mo
+share/gnome-shell/extensions/gnome-shell-trash-extension/metadata.json
+share/gnome-shell/extensions/gnome-shell-trash-extension/po/de.po
+share/gnome-shell/extensions/gnome-shell-trash-extension/po/fr.po
+share/gnome-shell/extensions/gnome-shell-trash-extension/po/messages.pot
+share/gnome-shell/extensions/gnome-shell-trash-extension/po/pt_BR.po
+@dirrm share/gnome-shell/extensions/gnome-shell-trash-extension/locale/de/LC_MESSAGES
+@dirrm share/gnome-shell/extensions/gnome-shell-trash-extension/locale/de
+@dirrm share/gnome-shell/extensions/gnome-shell-trash-extension/locale/fr/LC_MESSAGES
+@dirrm share/gnome-shell/extensions/gnome-shell-trash-extension/locale/fr
+@dirrm share/gnome-shell/extensions/gnome-shell-trash-extension/locale
+@dirrm share/gnome-shell/extensions/gnome-shell-trash-extension/po
+@dirrm share/gnome-shell/extensions/gnome-shell-trash-extension
+@dirrmtry share/gnome-shell/extensions