git: 45012244df59 - main - deskutils/xfce4-generic-slider: Update to 1.0.0

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Tue, 30 May 2023 14:48:54 UTC
The branch main has been updated by madpilot:

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

commit 45012244df59a8c67fb8f8ee2fcabe37066e2192
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2023-05-30 14:47:11 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2023-05-30 14:47:11 +0000

    deskutils/xfce4-generic-slider: Update to 1.0.0
    
    - Download from xfce officail mirrors
    - Remove old :gtk3 option to xfce USES
    - Use bundled configure (xfce4-dev-tools not required anymore)
    - Also package icons and translations, adding NLS options.
    - Pass maintainership to xfce@
    
    PR:             271720
    Approved by:    ehaupt (former maintainer)
---
 deskutils/xfce4-generic-slider/Makefile  | 28 ++++++++++++--------------
 deskutils/xfce4-generic-slider/distinfo  |  6 +++---
 deskutils/xfce4-generic-slider/pkg-plist | 34 ++++++++++++++++++++++++++++++++
 3 files changed, 50 insertions(+), 18 deletions(-)

diff --git a/deskutils/xfce4-generic-slider/Makefile b/deskutils/xfce4-generic-slider/Makefile
index ad435b761034..f77888fc0100 100644
--- a/deskutils/xfce4-generic-slider/Makefile
+++ b/deskutils/xfce4-generic-slider/Makefile
@@ -1,34 +1,32 @@
 PORTNAME=	xfce4-generic-slider
-PORTVERSION=	g20230204
-PORTREVISION=	1
+PORTVERSION=	1.0.0
 PORTEPOCH=	1
-CATEGORIES=	deskutils
+CATEGORIES=	deskutils xfce
+MASTER_SITES=	XFCE/panel-plugins
+DIST_SUBDIR=	xfce4
 
-MAINTAINER=	ehaupt@FreeBSD.org
+MAINTAINER=	xfce@FreeBSD.org
 COMMENT=	Slider plugin to adjust and/or monitor any numeric variable
 WWW=		https://gitlab.xfce.org/panel-plugins/xfce4-generic-slider
 
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BUILD_DEPENDS=	xdt-autogen:devel/xfce4-dev-tools
 LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
 		libfreetype.so:print/freetype2 \
 		libharfbuzz.so:print/harfbuzz
 
-USES=		compiler:c11 gettext gmake gnome libtool pkgconfig xfce:gtk3
-USE_GITLAB=	yes
-GL_SITE=	https://gitlab.xfce.org
-GL_ACCOUNT=	panel-plugins
-GL_COMMIT=	158b29bf84d2a4be150fe7ac278c605eb5309c0c
+USES=		compiler:c11 gettext gmake gnome libtool pkgconfig tar:bzip2 xfce
 USE_GNOME=	cairo gdkpixbuf2 gtk30 intltool
 USE_XFCE=	libmenu panel
 
-CONFIGURE_ARGS=	CC="${CC}"
-PLIST_FILES=	lib/xfce4/panel/plugins/libgeneric-slider.so \
-		share/xfce4/panel/plugins/generic-slider.desktop
+GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
 
-pre-configure:
-	(cd ${WRKSRC} && ./autogen.sh ${CONFIGURE_ARGS})
+OPTIONS_DEFINE=		NLS
+OPTIONS_SUB=		yes
+
+NLS_CONFIGURE_ENABLE=	nls
+NLS_USES=		gettext-runtime
 
 .include <bsd.port.mk>
diff --git a/deskutils/xfce4-generic-slider/distinfo b/deskutils/xfce4-generic-slider/distinfo
index f607e15ed713..4fea1bca2c03 100644
--- a/deskutils/xfce4-generic-slider/distinfo
+++ b/deskutils/xfce4-generic-slider/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1677161206
-SHA256 (panel-plugins-xfce4-generic-slider-158b29bf84d2a4be150fe7ac278c605eb5309c0c_GL0.tar.gz) = 3e4e8d0277a572f8db595b44ff0622aac8af999085d10612ea4b57bdf848ecd7
-SIZE (panel-plugins-xfce4-generic-slider-158b29bf84d2a4be150fe7ac278c605eb5309c0c_GL0.tar.gz) = 22286
+TIMESTAMP = 1685376239
+SHA256 (xfce4/xfce4-generic-slider-1.0.0.tar.bz2) = 06074d1123c1767bd0e25c6e7b34ade0a1e9edf51c996b8a643772e5881024bb
+SIZE (xfce4/xfce4-generic-slider-1.0.0.tar.bz2) = 359724
diff --git a/deskutils/xfce4-generic-slider/pkg-plist b/deskutils/xfce4-generic-slider/pkg-plist
new file mode 100644
index 000000000000..2a93d34ac945
--- /dev/null
+++ b/deskutils/xfce4-generic-slider/pkg-plist
@@ -0,0 +1,34 @@
+lib/xfce4/panel/plugins/libgeneric-slider.so
+share/icons/hicolor/128x128/apps/org.xfce.panel.genericslider.png
+share/icons/hicolor/16x16/apps/org.xfce.panel.genericslider.png
+share/icons/hicolor/24x24/apps/org.xfce.panel.genericslider.png
+share/icons/hicolor/32x32/apps/org.xfce.panel.genericslider.png
+share/icons/hicolor/48x48/apps/org.xfce.panel.genericslider.png
+share/icons/hicolor/64x64/apps/org.xfce.panel.genericslider.png
+share/icons/hicolor/scalable/apps/org.xfce.panel.genericslider.svg
+%%NLS%%share/locale/bg/LC_MESSAGES/xfce4-generic-slider.mo
+%%NLS%%share/locale/de/LC_MESSAGES/xfce4-generic-slider.mo
+%%NLS%%share/locale/en_GB/LC_MESSAGES/xfce4-generic-slider.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/xfce4-generic-slider.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/xfce4-generic-slider.mo
+%%NLS%%share/locale/he/LC_MESSAGES/xfce4-generic-slider.mo
+%%NLS%%share/locale/id/LC_MESSAGES/xfce4-generic-slider.mo
+%%NLS%%share/locale/ie/LC_MESSAGES/xfce4-generic-slider.mo
+%%NLS%%share/locale/it/LC_MESSAGES/xfce4-generic-slider.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/xfce4-generic-slider.mo
+%%NLS%%share/locale/lt/LC_MESSAGES/xfce4-generic-slider.mo
+%%NLS%%share/locale/nb/LC_MESSAGES/xfce4-generic-slider.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/xfce4-generic-slider.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/xfce4-generic-slider.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/xfce4-generic-slider.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/xfce4-generic-slider.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/xfce4-generic-slider.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/xfce4-generic-slider.mo
+%%NLS%%share/locale/sq/LC_MESSAGES/xfce4-generic-slider.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/xfce4-generic-slider.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/xfce4-generic-slider.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/xfce4-generic-slider.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/xfce4-generic-slider.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/xfce4-generic-slider.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/xfce4-generic-slider.mo
+share/xfce4/panel/plugins/generic-slider.desktop