git: ce4009bc1a88 - main - deskutils/clipit: Update to 1.4.5

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Tue, 20 Sep 2022 13:46:37 UTC
The branch main has been updated by jrm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ce4009bc1a88ddd0733d877ae3966d8873bbcdeb

commit ce4009bc1a88ddd0733d877ae3966d8873bbcdeb
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2022-09-12 22:52:52 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2022-09-20 13:46:09 +0000

    deskutils/clipit: Update to 1.4.5
    
    Sponsored by:   The FreeBSD Foundation
---
 deskutils/clipit/Makefile  | 24 +++++++++++++-----------
 deskutils/clipit/distinfo  |  5 +++--
 deskutils/clipit/pkg-descr |  4 +++-
 deskutils/clipit/pkg-plist |  3 +++
 4 files changed, 22 insertions(+), 14 deletions(-)

diff --git a/deskutils/clipit/Makefile b/deskutils/clipit/Makefile
index 18df64027c77..7f9e0381d618 100644
--- a/deskutils/clipit/Makefile
+++ b/deskutils/clipit/Makefile
@@ -1,30 +1,32 @@
 PORTNAME=	clipit
-PORTVERSION=	1.4.2
-PORTREVISION=	2
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.4.5
 CATEGORIES=	deskutils
-MASTER_SITES=	SF/gtkclipit/Version%201
 
 MAINTAINER=	jrm@FreeBSD.org
 COMMENT=	Lightweight GTK+ clipboard manager forked from parcellite
-WWW=		http://clipit.rspwn.com/
+WWW=		https://github.com/CristianHenzel/ClipIt
 
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+USES=		autoreconf gettext gmake gnome pkgconfig xorg
+USE_GITHUB=	yes
+GH_ACCOUNT=	CristianHenzel
+GH_PROJECT=	ClipIt
+USE_GNOME=	gtk30 intltool
+USE_XORG=	x11
+
 GNU_CONFIGURE=	yes
-USES=		gettext gmake gnome pkgconfig
-USE_GNOME=	gtk20 intltool
+CONFIGURE_ARGS=	--with-gtk3
 
 OPTIONS_DEFINE=	NLS XDOTOOL
-XDOTOOL_DESC=	Automatic paste functionality
 OPTIONS_SUB=	yes
 
+XDOTOOL_DESC=	Automatic paste functionality
+
 NLS_CONFIGURE_ON=	localedir=${LOCALBASE}/share/locale
 NLS_CONFIGURE_OFF=	--disable-nls
 XDOTOOL_RUN_DEPENDS+=	xdotool:x11/xdotool
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|^itlocaledir =.*|itlocaledir = $$(datarootdir)/locale|' \
-	${WRKSRC}/po/Makefile.in.in
-
 .include <bsd.port.mk>
diff --git a/deskutils/clipit/distinfo b/deskutils/clipit/distinfo
index d572bc4f758f..8d7b62fa4844 100644
--- a/deskutils/clipit/distinfo
+++ b/deskutils/clipit/distinfo
@@ -1,2 +1,3 @@
-SHA256 (clipit-1.4.2.tar.gz) = 6a63c7c4c39b423a266907e5b76f7d16301b164437dc7635cf25ace730b23c4b
-SIZE (clipit-1.4.2.tar.gz) = 284614
+TIMESTAMP = 1663636297
+SHA256 (CristianHenzel-ClipIt-v1.4.5_GH0.tar.gz) = f0bbd1b4ff07bb4509388cf5b7f7a25fd72ec02cdd8f4c8f5ff3f5f9ca6da514
+SIZE (CristianHenzel-ClipIt-v1.4.5_GH0.tar.gz) = 105985
diff --git a/deskutils/clipit/pkg-descr b/deskutils/clipit/pkg-descr
index aaea3445571f..31b80676dc53 100644
--- a/deskutils/clipit/pkg-descr
+++ b/deskutils/clipit/pkg-descr
@@ -1 +1,3 @@
-ClipIt is a lightweight GTK+ clipboard manager forked from parcellite.
+ClipIt is a lightweight GTK+ clipboard manager forked from parcellite.  If you
+prefer simplicity, you might prefer this stripped down, basic-features-only
+clipboard manager with a small memory footprint.
diff --git a/deskutils/clipit/pkg-plist b/deskutils/clipit/pkg-plist
index 1a5b29f46854..5358c5543642 100644
--- a/deskutils/clipit/pkg-plist
+++ b/deskutils/clipit/pkg-plist
@@ -3,6 +3,8 @@ etc/xdg/autostart/clipit-startup.desktop
 man/man1/clipit.1.gz
 share/applications/clipit.desktop
 share/icons/hicolor/scalable/apps/clipit-trayicon.svg
+share/icons/hicolor/scalable/apps/clipit-trayicon-offline.svg
+%%NLS%%share/locale/ca/LC_MESSAGES/clipit.mo
 %%NLS%%share/locale/cs/LC_MESSAGES/clipit.mo
 %%NLS%%share/locale/da/LC_MESSAGES/clipit.mo
 %%NLS%%share/locale/de/LC_MESSAGES/clipit.mo
@@ -10,6 +12,7 @@ share/icons/hicolor/scalable/apps/clipit-trayicon.svg
 %%NLS%%share/locale/es_ES/LC_MESSAGES/clipit.mo
 %%NLS%%share/locale/et/LC_MESSAGES/clipit.mo
 %%NLS%%share/locale/fr/LC_MESSAGES/clipit.mo
+%%NLS%%share/locale/hr/LC_MESSAGES/clipit.mo
 %%NLS%%share/locale/hu/LC_MESSAGES/clipit.mo
 %%NLS%%share/locale/it/LC_MESSAGES/clipit.mo
 %%NLS%%share/locale/ja/LC_MESSAGES/clipit.mo