git: 880e76d7c57d - main - x11/swaync: update to 0.10.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 10 Feb 2024 20:44:37 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=880e76d7c57d043049a0fbb216cecff33071dec5 commit 880e76d7c57d043049a0fbb216cecff33071dec5 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2024-02-10 16:19:01 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2024-02-10 20:38:02 +0000 x11/swaync: update to 0.10.0 Changes: https://github.com/ErikReider/SwayNotificationCenter/releases/tag/v0.10.0 Reported by: GitHub (watch releases) --- x11/swaync/Makefile | 20 +++++++++++++------- x11/swaync/distinfo | 6 +++--- x11/swaync/files/patch-src_meson.build | 15 +++++++++++++++ 3 files changed, 31 insertions(+), 10 deletions(-) diff --git a/x11/swaync/Makefile b/x11/swaync/Makefile index ee564636f0be..761c8098724c 100644 --- a/x11/swaync/Makefile +++ b/x11/swaync/Makefile @@ -1,7 +1,6 @@ PORTNAME= swaync DISTVERSIONPREFIX= v -PORTVERSION= 0.9.0 -PORTREVISION= 3 +PORTVERSION= 0.10.0 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org @@ -11,9 +10,10 @@ WWW= https://github.com/ErikReider/SwayNotificationCenter LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libpulse.so:audio/pulseaudio \ - libjson-glib-1.0.so:devel/json-glib \ +BUILD_DEPENDS= sassc:textproc/sassc +LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ libgee-0.8.so:devel/libgee \ + libgranite.so:x11-toolkits/granite \ libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell \ libhandy-1.so:x11-toolkits/libhandy @@ -26,8 +26,8 @@ GH_PROJECT= SwayNotificationCenter SHEBANG_FILES= build-aux/meson/postinstall.py GLIB_SCHEMAS= org.erikreider.swaync.gschema.xml -OPTIONS_DEFINE= MANPAGES -OPTIONS_DEFAULT=MANPAGES +OPTIONS_DEFINE= MANPAGES PULSEAUDIO +OPTIONS_DEFAULT=MANPAGES PULSEAUDIO MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_TRUE= man-pages @@ -35,6 +35,9 @@ MANPAGES_PLIST_FILES= share/man/man1/${PORTNAME}.1.gz \ share/man/man1/${PORTNAME}-client.1.gz \ share/man/man5/${PORTNAME}.5.gz +PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio +PULSEAUDIO_MESON_TRUE= pulse-audio + post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ @@ -43,8 +46,11 @@ post-patch: # Let @sample handle default files under etc/ @${REINPLACE_CMD} -e "s,'/',get_option('prefix')," \ -e "/output.*json/s/'[^']*/&.sample/" \ - -e "/inst.*css/s/'[^']*/&', rename: &.sample/1" \ ${WRKSRC}/src/meson.build +# Let @sample handle default files under etc/ + @${REINPLACE_CMD} -e "s,'/',get_option('prefix')," \ + -e "/output.*css/s/'[^']*/&.sample/" \ + ${WRKSRC}/data/meson.build # Respect PREFIX in manpages @${REINPLACE_CMD} 's,/etc,${PREFIX}&,' \ ${WRKSRC}/man/${PORTNAME}.1.scd diff --git a/x11/swaync/distinfo b/x11/swaync/distinfo index fbbf8edcf414..187f8e9da854 100644 --- a/x11/swaync/distinfo +++ b/x11/swaync/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1685366911 -SHA256 (ErikReider-SwayNotificationCenter-v0.9.0_GH0.tar.gz) = 3f00bc858b7b3610e88ef0f6ee64d727892dd82f280f1dfc01dde863c2ea3376 -SIZE (ErikReider-SwayNotificationCenter-v0.9.0_GH0.tar.gz) = 3178186 +TIMESTAMP = 1707581941 +SHA256 (ErikReider-SwayNotificationCenter-v0.10.0_GH0.tar.gz) = 5eb6fb0cfdaa9eb518565e032a7d9f716b3edfd99602697344eac00e404d4c8d +SIZE (ErikReider-SwayNotificationCenter-v0.10.0_GH0.tar.gz) = 1709477 diff --git a/x11/swaync/files/patch-src_meson.build b/x11/swaync/files/patch-src_meson.build new file mode 100644 index 000000000000..9f705c2cd349 --- /dev/null +++ b/x11/swaync/files/patch-src_meson.build @@ -0,0 +1,15 @@ +Drop after x11-toolkits/libhandy >= 1.8.0 update + +src/meson.build:77:2: ERROR: Dependency lookup for libhandy-1 with method 'pkgconfig' failed: Invalid version, need 'libhandy-1' ['>= 1.8.0'] found '1.6.2'. + +--- src/meson.build.orig 2024-02-10 16:19:01 UTC ++++ src/meson.build +@@ -74,7 +74,7 @@ app_deps = [ + dependency('gio-unix-2.0', version: '>= 2.50'), + dependency('gtk+-3.0', version: '>= 3.22'), + dependency('json-glib-1.0', version: '>= 1.0'), +- dependency('libhandy-1', version: '>= 1.8.0'), ++ dependency('libhandy-1', version: '>= 1.6.0'), + dependency('granite', version: '>= 6.2.0'), + dependency('gtk-layer-shell-0', + fallback: ['gtk-layer-shell-0', 'gtk-layer-shell'],