summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2023-03-09 23:14:16 +0300
committerDima Panov <fluffy@FreeBSD.org>2023-03-09 23:39:43 +0300
commite45f4121324ee30e51d8c8120fb2896f415a3e2f (patch)
tree6685ef336d7925158c304080cb8d61924c059eaa /x11
parentwww/obhttpd: skip detection of <endian.h> (diff)
x11/xsnow: update to 3.7.1 release (+)
Introduce NLS support Changelog: https://www.ratrabbit.nl/ratrabbit/xsnow/changelog/index.html
Diffstat (limited to 'x11')
-rw-r--r--x11/xsnow/Makefile19
-rw-r--r--x11/xsnow/distinfo6
-rw-r--r--x11/xsnow/pkg-plist27
3 files changed, 41 insertions, 11 deletions
diff --git a/x11/xsnow/Makefile b/x11/xsnow/Makefile
index 284db4ccf27d..9d3427246d74 100644
--- a/x11/xsnow/Makefile
+++ b/x11/xsnow/Makefile
@@ -1,6 +1,5 @@
PORTNAME= xsnow
-PORTVERSION= 3.6.0
-PORTREVISION= 1
+PORTVERSION= 3.7.1
CATEGORIES= x11
MASTER_SITES= SF/${PORTNAME}/
@@ -11,16 +10,20 @@ WWW= https://www.ratrabbit.nl/ratrabbit/xsnow/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libgsl.so:math/gsl
+LIB_DEPENDS= libgsl.so:math/gsl \
+ libxkbcommon.so:x11/libxkbcommon
USES= compiler:c11 gmake gnome pkgconfig xorg
USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 libxml2
-USE_XORG= x11 xext xpm xt xorgproto
+USE_XORG= x11 xext xinerama xpm xt xtst xorgproto
GNU_CONFIGURE= yes
-PLIST_FILES= bin/xsnow man/man6/xsnow.6.gz \
- share/applications/xsnow.desktop \
- share/metainfo/xsnow.appdata.xml \
- share/pixmaps/xsnow.svg
+
+OPTIONS_DEFINE= NLS
+OPTIONS_DEFAULT= NLS
+OPTIONS_SUB= yes
+
+NLS_USES= gettext-tools
+NLS_CONFIGURE_ENABLE= nls
post-patch:
@${REINPLACE_CMD} \
diff --git a/x11/xsnow/distinfo b/x11/xsnow/distinfo
index 38d0e1e4178d..0c4eb7015adc 100644
--- a/x11/xsnow/distinfo
+++ b/x11/xsnow/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1670353830
-SHA256 (xsnow-3.6.0.tar.gz) = 715741f11dd5fd672ddc3c702e802585a31c211aac3d06612e462a6369398215
-SIZE (xsnow-3.6.0.tar.gz) = 495875
+TIMESTAMP = 1678391381
+SHA256 (xsnow-3.7.1.tar.gz) = bb7ee8e411902a22d59cdd91e04fe83cb9ea526baea1690d2d6970fdb17caac4
+SIZE (xsnow-3.7.1.tar.gz) = 1381485
diff --git a/x11/xsnow/pkg-plist b/x11/xsnow/pkg-plist
new file mode 100644
index 000000000000..fc904da8516b
--- /dev/null
+++ b/x11/xsnow/pkg-plist
@@ -0,0 +1,27 @@
+bin/xsnow
+man/man6/xsnow.6.gz
+share/applications/xsnow.desktop
+%%NLS%%share/locale/cs/LC_MESSAGES/xsnow.mo
+%%NLS%%share/locale/da/LC_MESSAGES/xsnow.mo
+%%NLS%%share/locale/de/LC_MESSAGES/xsnow.mo
+%%NLS%%share/locale/el/LC_MESSAGES/xsnow.mo
+%%NLS%%share/locale/en/LC_MESSAGES/xsnow.mo
+%%NLS%%share/locale/es/LC_MESSAGES/xsnow.mo
+%%NLS%%share/locale/et/LC_MESSAGES/xsnow.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/xsnow.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/xsnow.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/xsnow.mo
+%%NLS%%share/locale/is/LC_MESSAGES/xsnow.mo
+%%NLS%%share/locale/it/LC_MESSAGES/xsnow.mo
+%%NLS%%share/locale/lt/LC_MESSAGES/xsnow.mo
+%%NLS%%share/locale/lv/LC_MESSAGES/xsnow.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/xsnow.mo
+%%NLS%%share/locale/no/LC_MESSAGES/xsnow.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/xsnow.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/xsnow.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/xsnow.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/xsnow.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/xsnow.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/xsnow.mo
+share/metainfo/xsnow.appdata.xml
+share/pixmaps/xsnow.svg