summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2025-05-22 23:37:37 +0200
committerGuido Falsi <madpilot@FreeBSD.org>2025-05-22 23:37:37 +0200
commit49b4051732247295d112147d651d40bd2f0f3c29 (patch)
tree09e3ca4b766594412fb5250b675cda536324f1e9
parentwww/xfce4-smartbookmark-plugin: Update to 0.6.0 (diff)
x11-clocks/xfce4-stopwatch-plugin: Update to 0.6.0
- Move build to meson
-rw-r--r--x11-clocks/xfce4-stopwatch-plugin/Makefile20
-rw-r--r--x11-clocks/xfce4-stopwatch-plugin/distinfo6
-rw-r--r--x11-clocks/xfce4-stopwatch-plugin/pkg-plist3
3 files changed, 12 insertions, 17 deletions
diff --git a/x11-clocks/xfce4-stopwatch-plugin/Makefile b/x11-clocks/xfce4-stopwatch-plugin/Makefile
index 7d464796a4a5..ee1cc858ea52 100644
--- a/x11-clocks/xfce4-stopwatch-plugin/Makefile
+++ b/x11-clocks/xfce4-stopwatch-plugin/Makefile
@@ -1,5 +1,5 @@
PORTNAME= xfce4-stopwatch-plugin
-PORTVERSION= 0.5.2
+PORTVERSION= 0.6.0
CATEGORIES= x11-clocks xfce
MASTER_SITES= XFCE/panel-plugins
DIST_SUBDIR= xfce4
@@ -11,20 +11,16 @@ WWW= https://docs.xfce.org/panel-plugins/xfce4-stopwatch-plugin/start
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libharfbuzz.so:print/harfbuzz
-
-USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \
- tar:bzip2 xfce
-USE_GNOME= cairo gdkpixbuf gtk30
+USES= compiler:c11 gettext-tools gnome meson pkgconfig tar:xz xfce
+USE_GNOME= gtk30
USE_XFCE= libutil panel
-GNU_CONFIGURE= yes
-INSTALL_TARGET= install-strip
+OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
-OPTIONS_DEFINE= NLS
-OPTIONS_SUB= yes
+NLS_USES= gettext-runtime
-NLS_USES= gettext-runtime
-NLS_CONFIGURE_ENABLE= nls
+post-patch-NLS-off:
+ @${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build
.include <bsd.port.mk>
diff --git a/x11-clocks/xfce4-stopwatch-plugin/distinfo b/x11-clocks/xfce4-stopwatch-plugin/distinfo
index 7c84b3427684..5187f4837ed3 100644
--- a/x11-clocks/xfce4-stopwatch-plugin/distinfo
+++ b/x11-clocks/xfce4-stopwatch-plugin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1735168292
-SHA256 (xfce4/xfce4-stopwatch-plugin-0.5.2.tar.bz2) = b5a458fa5b7538d42cd9783cf4c26eafe0c9d394906a0e5e25bb3fe0adc34c08
-SIZE (xfce4/xfce4-stopwatch-plugin-0.5.2.tar.bz2) = 372592
+TIMESTAMP = 1747773060
+SHA256 (xfce4/xfce4-stopwatch-plugin-0.6.0.tar.xz) = 9be4825f6dc3b5227ba3c71b345da4159ac3364f659784b57845bb06cf31ef43
+SIZE (xfce4/xfce4-stopwatch-plugin-0.6.0.tar.xz) = 23836
diff --git a/x11-clocks/xfce4-stopwatch-plugin/pkg-plist b/x11-clocks/xfce4-stopwatch-plugin/pkg-plist
index 46f8c3f3b408..69bc7b9e413b 100644
--- a/x11-clocks/xfce4-stopwatch-plugin/pkg-plist
+++ b/x11-clocks/xfce4-stopwatch-plugin/pkg-plist
@@ -1,6 +1,4 @@
lib/xfce4/panel/plugins/libstopwatch.so
-lib/xfce4/panel/plugins/libstopwatch.so.0
-lib/xfce4/panel/plugins/libstopwatch.so.0.0.0
share/icons/hicolor/16x16/apps/xfce4-stopwatch-plugin.png
share/icons/hicolor/22x22/apps/xfce4-stopwatch-plugin.png
share/icons/hicolor/24x24/apps/xfce4-stopwatch-plugin.png
@@ -54,6 +52,7 @@ share/icons/hicolor/scalable/apps/xfce4-stopwatch-plugin.svg
%%NLS%%share/locale/tr/LC_MESSAGES/xfce4-stopwatch-plugin.mo
%%NLS%%share/locale/ug/LC_MESSAGES/xfce4-stopwatch-plugin.mo
%%NLS%%share/locale/uk/LC_MESSAGES/xfce4-stopwatch-plugin.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/xfce4-stopwatch-plugin.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/xfce4-stopwatch-plugin.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/xfce4-stopwatch-plugin.mo
share/xfce4/panel/plugins/xfce4-stopwatch-plugin.desktop