summaryrefslogtreecommitdiff
path: root/x11/xfce4-screenshooter-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xfce4-screenshooter-plugin')
-rw-r--r--x11/xfce4-screenshooter-plugin/Makefile39
-rw-r--r--x11/xfce4-screenshooter-plugin/distinfo6
-rw-r--r--x11/xfce4-screenshooter-plugin/pkg-plist2
3 files changed, 17 insertions, 30 deletions
diff --git a/x11/xfce4-screenshooter-plugin/Makefile b/x11/xfce4-screenshooter-plugin/Makefile
index 37ed0c80398d..14c5b8b5beaf 100644
--- a/x11/xfce4-screenshooter-plugin/Makefile
+++ b/x11/xfce4-screenshooter-plugin/Makefile
@@ -1,6 +1,5 @@
PORTNAME= xfce4-screenshooter-plugin
-PORTVERSION= 1.11.1
-PORTREVISION= 1
+PORTVERSION= 1.11.2
CATEGORIES= x11 xfce
MASTER_SITES= XFCE/apps
DISTNAME= xfce4-screenshooter-${DISTVERSIONFULL}
@@ -13,37 +12,27 @@ WWW= https://goodies.xfce.org/projects/applications/xfce4-screenshooter
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libharfbuzz.so:print/harfbuzz
-
-USES= compiler:c11 gettext-tools gmake gnome libtool pkgconfig \
- tar:bzip2 xfce xorg
+USES= compiler:c11 gettext-tools gnome meson pkgconfig tar:xz xfce \
+ xorg
USE_CSTD= c99
-USE_GNOME= cairo gdkpixbuf glib20 gtk30
+USE_GNOME= glib20 gtk30
USE_XFCE= libexo libmenu panel xfconf
USE_XORG= ice sm x11 xext xfixes
-GNU_CONFIGURE= yes
-INSTALL_TARGET= install-strip
+MESON_ARGS= -Dx11=enabled \
+ -Dxfixes=enabled
-OPTIONS_DEFINE= IMGUR NLS WAYLAND
-OPTIONS_DEFAULT= IMGUR WAYLAND
+OPTIONS_DEFINE= NLS WAYLAND
+OPTIONS_DEFAULT= WAYLAND
OPTIONS_SUB= yes
-IMGUR_DESC= Install imgur image upload custom action
-
-IMGUR_RUN_DEPENDS= curl:ftp/curl \
- jq:textproc/jq \
- xclip:x11/xclip \
- zenity:x11/zenity
-
-NLS_USES= gettext-runtime
-NLS_CONFIGURE_ENABLE= nls
+NLS_USES= gettext-runtime
-WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland
-WAYLAND_CONFIGURE_ENABLE= wayland
+WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland
+WAYLAND_BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols
+WAYLAND_MESON_ENABLED= wayland
-post-patch-IMGUR-off:
- @${REINPLACE_CMD} '/imgur_custom_action_added = xfconf_channel_get_bool/s/FALSE/TRUE/' \
- ${WRKSRC}/lib/screenshooter-custom-actions.c
+post-patch-NLS-off:
+ @${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build
.include <bsd.port.mk>
diff --git a/x11/xfce4-screenshooter-plugin/distinfo b/x11/xfce4-screenshooter-plugin/distinfo
index 54ac87cb1be7..65f17b67b7ba 100644
--- a/x11/xfce4-screenshooter-plugin/distinfo
+++ b/x11/xfce4-screenshooter-plugin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1722368566
-SHA256 (xfce4/xfce4-screenshooter-1.11.1.tar.bz2) = d94c4a37ac9b26f6d73214bdc254624a4ede4e111bee8d34e689f8f04c37d34d
-SIZE (xfce4/xfce4-screenshooter-1.11.1.tar.bz2) = 721424
+TIMESTAMP = 1747940424
+SHA256 (xfce4/xfce4-screenshooter-1.11.2.tar.xz) = 6ae5bc4823d43e770b3a11700d048d56bdcaafdef37de7deacb8970b55fc1565
+SIZE (xfce4/xfce4-screenshooter-1.11.2.tar.xz) = 178440
diff --git a/x11/xfce4-screenshooter-plugin/pkg-plist b/x11/xfce4-screenshooter-plugin/pkg-plist
index 027724e7c4c9..ab9d309ffe04 100644
--- a/x11/xfce4-screenshooter-plugin/pkg-plist
+++ b/x11/xfce4-screenshooter-plugin/pkg-plist
@@ -1,7 +1,5 @@
bin/xfce4-screenshooter
lib/xfce4/panel/plugins/libscreenshooterplugin.so
-%%IMGUR%%libexec/xfce4/screenshooter/scripts/imgur-upload.sh
-share/man/man1/xfce4-screenshooter.1.gz
share/applications/xfce4-screenshooter.desktop
%%NLS%%share/icons/hicolor/128x128/apps/org.xfce.screenshooter.png
%%NLS%%share/icons/hicolor/16x16/apps/org.xfce.screenshooter.png