mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
x11/xfce4-screenshooter-plugin: Update to 1.10.5
- Add IMGUR option (on by default) to disable the IMGUR custom action script installation and support. This saves a few dependencies. Upstream is deprecating native imgur support, which will be replaced by the custom action. At present with a default installation there will be two imgur options in the UI, this is expected.
This commit is contained in:
parent
7e11ff5510
commit
1668f22184
@ -1,6 +1,5 @@
|
||||
PORTNAME= xfce4-screenshooter-plugin
|
||||
PORTVERSION= 1.10.4
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 1.10.5
|
||||
CATEGORIES= x11 xfce
|
||||
MASTER_SITES= XFCE/apps
|
||||
DISTNAME= xfce4-screenshooter-${DISTVERSIONFULL}
|
||||
@ -26,10 +25,22 @@ USE_XORG= ice sm x11 xfixes xext
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
OPTIONS_DEFINE= NLS
|
||||
OPTIONS_DEFINE= NLS IMGUR
|
||||
OPTIONS_DEFAULT= IMGUR
|
||||
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_CONFIGURE_ENABLE= nls
|
||||
NLS_USES= gettext-runtime
|
||||
|
||||
post-patch-IMGUR-off:
|
||||
@${REINPLACE_CMD} '/imgur_custom_action_added = xfconf_channel_get_bool/s/FALSE/TRUE/' \
|
||||
${WRKSRC}/lib/screenshooter-custom-actions.c
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1684085341
|
||||
SHA256 (xfce4/xfce4-screenshooter-1.10.4.tar.bz2) = a2f199687e54e16a936d5636d660d42b6b9a5d548cdd0f04bd69213554806494
|
||||
SIZE (xfce4/xfce4-screenshooter-1.10.4.tar.bz2) = 615583
|
||||
TIMESTAMP = 1707157614
|
||||
SHA256 (xfce4/xfce4-screenshooter-1.10.5.tar.bz2) = fa711f2a6a5517f575f2e129fe48c2678e836bd4ede5433075f3076d7670621c
|
||||
SIZE (xfce4/xfce4-screenshooter-1.10.5.tar.bz2) = 621929
|
||||
|
@ -1,5 +1,6 @@
|
||||
bin/xfce4-screenshooter
|
||||
lib/xfce4/panel/plugins/libscreenshooterplugin.so
|
||||
%%IMGUR%%libexec/xfce4/screenshooter/scripts/imgur-upload.sh
|
||||
man/man1/xfce4-screenshooter.1.gz
|
||||
share/applications/xfce4-screenshooter.desktop
|
||||
%%NLS%%share/icons/hicolor/128x128/apps/org.xfce.screenshooter.png
|
||||
|
Loading…
Reference in New Issue
Block a user