diff options
Diffstat (limited to 'sysutils/xfce4-diskperf-plugin')
-rw-r--r-- | sysutils/xfce4-diskperf-plugin/Makefile | 21 | ||||
-rw-r--r-- | sysutils/xfce4-diskperf-plugin/distinfo | 6 | ||||
-rw-r--r-- | sysutils/xfce4-diskperf-plugin/files/patch-panel-plugin_meson.build | 38 | ||||
-rw-r--r-- | sysutils/xfce4-diskperf-plugin/pkg-plist | 1 |
4 files changed, 48 insertions, 18 deletions
diff --git a/sysutils/xfce4-diskperf-plugin/Makefile b/sysutils/xfce4-diskperf-plugin/Makefile index 63225d1dec7e..4874ecf565db 100644 --- a/sysutils/xfce4-diskperf-plugin/Makefile +++ b/sysutils/xfce4-diskperf-plugin/Makefile @@ -1,35 +1,26 @@ PORTNAME= xfce4-diskperf-plugin -PORTVERSION= 2.7.1 +PORTVERSION= 2.8.0 CATEGORIES= sysutils xfce MASTER_SITES= XFCE/panel-plugins DIST_SUBDIR= xfce4 MAINTAINER= danilo@FreeBSD.org COMMENT= Graphical representation of the disk IO -WWW= https://docs.xfce.org/panel-plugins/xfce4-diskperf-plugin/start +WWW= https://docs.xfce.org/panel-plugins/xfce4-diskperf-plugin LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libharfbuzz.so:print/harfbuzz - -USES= compiler:c11 gettext-tools gnome gmake 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= libmenu panel -GNU_CONFIGURE= yes -INSTALL_TARGET= install-strip - -LIBS+= -ldevstat - OPTIONS_DEFINE= NLS OPTIONS_SUB= yes -NLS_CONFIGURE_ENABLE= nls + NLS_USES= gettext-runtime post-patch-NLS-off: - @${REINPLACE_CMD} -e 's|[[:blank:]]po||' \ - -e 's|po$$||' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build .include <bsd.port.mk> diff --git a/sysutils/xfce4-diskperf-plugin/distinfo b/sysutils/xfce4-diskperf-plugin/distinfo index bc46db1c59a3..7c4fd8a0e14d 100644 --- a/sysutils/xfce4-diskperf-plugin/distinfo +++ b/sysutils/xfce4-diskperf-plugin/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1735121308 -SHA256 (xfce4/xfce4-diskperf-plugin-2.7.1.tar.bz2) = dd5f521cc4ab40a42958dcf59b6bec5da8fafacf71f3266971942e25b43af8ae -SIZE (xfce4/xfce4-diskperf-plugin-2.7.1.tar.bz2) = 457061 +TIMESTAMP = 1747673945 +SHA256 (xfce4/xfce4-diskperf-plugin-2.8.0.tar.xz) = 3833920a3a4a81b3c676c4fab6dd178f4a222d66f316a0783a9149a0153b7fb6 +SIZE (xfce4/xfce4-diskperf-plugin-2.8.0.tar.xz) = 59224 diff --git a/sysutils/xfce4-diskperf-plugin/files/patch-panel-plugin_meson.build b/sysutils/xfce4-diskperf-plugin/files/patch-panel-plugin_meson.build new file mode 100644 index 000000000000..9bf8b53afbec --- /dev/null +++ b/sysutils/xfce4-diskperf-plugin/files/patch-panel-plugin_meson.build @@ -0,0 +1,38 @@ +--- panel-plugin/meson.build.orig 2025-05-19 15:14:21 UTC ++++ panel-plugin/meson.build +@@ -15,6 +15,19 @@ endif + ] + endif + ++dependencies = [ ++ glib, ++ gtk, ++ libxfce4panel, ++ libxfce4ui, ++ libxfce4util, ++ libm, ++] ++ ++if host_machine.system() == 'freebsd' ++ dependencies += cc.find_library('devstat', required : true) ++endif ++ + plugin_install_subdir = 'xfce4' / 'panel' / 'plugins' + + plugin_lib = shared_module( +@@ -27,14 +40,7 @@ plugin_lib = shared_module( + include_directories: [ + include_directories('..'), + ], +- dependencies: [ +- glib, +- gtk, +- libxfce4panel, +- libxfce4ui, +- libxfce4util, +- libm, +- ], ++ dependencies: dependencies, + link_args: extra_link_args, + install: true, + install_dir: get_option('prefix') / get_option('libdir') / plugin_install_subdir, diff --git a/sysutils/xfce4-diskperf-plugin/pkg-plist b/sysutils/xfce4-diskperf-plugin/pkg-plist index c1d9cd6acf3a..b40b037829ef 100644 --- a/sysutils/xfce4-diskperf-plugin/pkg-plist +++ b/sysutils/xfce4-diskperf-plugin/pkg-plist @@ -51,6 +51,7 @@ lib/xfce4/panel/plugins/libdiskperf.so %%NLS%%share/locale/uk/LC_MESSAGES/xfce4-diskperf-plugin.mo %%NLS%%share/locale/ur/LC_MESSAGES/xfce4-diskperf-plugin.mo %%NLS%%share/locale/ur_PK/LC_MESSAGES/xfce4-diskperf-plugin.mo +%%NLS%%share/locale/vi/LC_MESSAGES/xfce4-diskperf-plugin.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/xfce4-diskperf-plugin.mo %%NLS%%share/locale/zh_TW/LC_MESSAGES/xfce4-diskperf-plugin.mo share/xfce4/panel/plugins/diskperf.desktop |