sysutils/xfce4-diskperf-plugin: Update to 2.8.0
- Update WWW - Move build to meson PR: 287088 Approved by: danilo (maintainer timeout)
This commit is contained in:
parent
a84d56840c
commit
6e531bb1d4
@ -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>
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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,
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user