Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jan 2018 20:14:47 +0000 (UTC)
From:      Nicola Vitale <nivit@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r459627 - in head/deskutils: . flameshot flameshot/files
Message-ID:  <201801212014.w0LKElex019934@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nivit
Date: Sun Jan 21 20:14:47 2018
New Revision: 459627
URL: https://svnweb.freebsd.org/changeset/ports/459627

Log:
  Powerful yet simple to use screenshot software.
  
  Features:
  
      * Customizable appearance.
      * Easy to use.
      * In-app screenshot edition.
      * DBus interface.
      * Upload to Imgur.
  
  WWW: https://github.com/lupoDharkael/flameshot

Added:
  head/deskutils/flameshot/
  head/deskutils/flameshot/Makefile   (contents, props changed)
  head/deskutils/flameshot/distinfo   (contents, props changed)
  head/deskutils/flameshot/files/
  head/deskutils/flameshot/files/patch-flameshot.pro   (contents, props changed)
  head/deskutils/flameshot/pkg-descr   (contents, props changed)
  head/deskutils/flameshot/pkg-plist   (contents, props changed)
Modified:
  head/deskutils/Makefile

Modified: head/deskutils/Makefile
==============================================================================
--- head/deskutils/Makefile	Sun Jan 21 20:01:59 2018	(r459626)
+++ head/deskutils/Makefile	Sun Jan 21 20:14:47 2018	(r459627)
@@ -43,6 +43,7 @@
     SUBDIR += everygui
     SUBDIR += fbreader
     SUBDIR += fet
+    SUBDIR += flameshot
     SUBDIR += freemind
     SUBDIR += fusenshi
     SUBDIR += gaddr

Added: head/deskutils/flameshot/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/flameshot/Makefile	Sun Jan 21 20:14:47 2018	(r459627)
@@ -0,0 +1,29 @@
+# Created by: Nicola Stanislao Vitale <nivit@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	flameshot
+PORTVERSION=	0.5.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=	deskutils
+
+MAINTAINER=	nivit@FreeBSD.org
+COMMENT=	Powerful yet simple to use screenshot software
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+GH_ACCOUNT=	lupoDharkael
+
+INSTALL_ICONS=	yes
+
+USES=		qmake
+USE_GCC=	yes
+USE_GITHUB=	yes
+USE_GL=		gl
+USE_QT5=	core dbus gui linguist network widgets
+
+post-patch:
+		@${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},1' \
+			${WRKSRC}/${PORTNAME}.pro
+
+.include <bsd.port.mk>

Added: head/deskutils/flameshot/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/flameshot/distinfo	Sun Jan 21 20:14:47 2018	(r459627)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1516551815
+SHA256 (lupoDharkael-flameshot-v0.5.0_GH0.tar.gz) = 32d593c14c37286d9f64873c4ef9a07eb084723c92b2280d5c22152547c1e3f0
+SIZE (lupoDharkael-flameshot-v0.5.0_GH0.tar.gz) = 464600

Added: head/deskutils/flameshot/files/patch-flameshot.pro
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/flameshot/files/patch-flameshot.pro	Sun Jan 21 20:14:47 2018	(r459627)
@@ -0,0 +1,35 @@
+--- flameshot.pro.orig	2017-12-20 13:41:48 UTC
++++ flameshot.pro
+@@ -177,27 +177,27 @@ unix: {
+     packaging {
+         USRPATH = /usr
+     } else {
+-        USRPATH = /usr/local
++        USRPATH = %%LOCALBASE%%
+     }
+ 
+     target.path = $${BASEDIR}$${USRPATH}/bin/
+ 
+-    qmfile.path = $${BASEDIR}/usr/share/flameshot/translations/
++    qmfile.path = $${BASEDIR}$${USRPATH}/share/flameshot/translations/
+     qmfile.files = $${TRANSLATIONS_FILES}
+ 
+-    dbus.path = $${BASEDIR}/usr/share/dbus-1/interfaces/
++    dbus.path = $${BASEDIR}$${USRPATH}/share/dbus-1/interfaces/
+     dbus.files = dbus/org.dharkael.Flameshot.xml
+     
+     icon.path = $${BASEDIR}$${USRPATH}/share/icons/
+     icon.files = img/flameshot.png
+ 
+-    completion.path = /usr/share/bash-completion/completions/
++    completion.path = $${BASEDIR}$${USRPATH}/share/bash-completion/completions/
+     completion.files = docs/bash-completion/flameshot
+ 
+     desktopentry.path = $${BASEDIR}$${USRPATH}/share/applications
+     desktopentryinit.path = $${BASEDIR}$${USRPATH}/share/applications
+     desktopentryconfig.path = $${BASEDIR}$${USRPATH}/share/applications
+-    servicedbus.path = $${BASEDIR}/usr/share/dbus-1/services/
++    servicedbus.path = $${BASEDIR}$${USRPATH}/share/dbus-1/services/
+ 
+     packaging {
+         desktopentry.files = docs/desktopEntry/package/flameshot.desktop

Added: head/deskutils/flameshot/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/flameshot/pkg-descr	Sun Jan 21 20:14:47 2018	(r459627)
@@ -0,0 +1,11 @@
+Powerful yet simple to use screenshot software.
+
+Features:
+
+    * Customizable appearance.
+    * Easy to use.
+    * In-app screenshot edition.
+    * DBus interface.
+    * Upload to Imgur.
+
+WWW: https://github.com/lupoDharkael/flameshot

Added: head/deskutils/flameshot/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/flameshot/pkg-plist	Sun Jan 21 20:14:47 2018	(r459627)
@@ -0,0 +1,10 @@
+bin/flameshot
+share/applications/flameshot-config.desktop
+share/applications/flameshot-init.desktop
+share/applications/flameshot.desktop
+share/bash-completion/completions/flameshot
+share/dbus-1/interfaces/org.dharkael.Flameshot.xml
+share/dbus-1/services/org.dharkael.Flameshot.service
+%%DATADIR%%/translations/Internationalization_ca.qm
+%%DATADIR%%/translations/Internationalization_es.qm
+share/icons/flameshot.png



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801212014.w0LKElex019934>