diff --git a/x11/swaync/Makefile b/x11/swaync/Makefile index 29cbf328c94a..8925b0b4fc0b 100644 --- a/x11/swaync/Makefile +++ b/x11/swaync/Makefile @@ -1,57 +1,59 @@ PORTNAME= swaync DISTVERSIONPREFIX= v -PORTVERSION= 0.11.0 +PORTVERSION= 0.12.0 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Simple Wayland notification daemon with GTK panel WWW= https://github.com/ErikReider/SwayNotificationCenter LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= sassc:textproc/sassc +BUILD_DEPENDS= blueprint-compiler:devel/blueprint-compiler \ + 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 + libgraphene-1.0.so:graphics/graphene \ + libwayland-client.so:graphics/wayland \ + libgranite-7.so:x11-toolkits/granite7 \ + libgtk4-layer-shell.so:x11-toolkits/gtk4-layer-shell USES= compiler:c11 gnome meson pkgconfig \ python:build shebangfix vala:build USE_GITHUB= yes -USE_GNOME= cairo gdkpixbuf gtk30 introspection:build +USE_GNOME= cairo gdkpixbuf gtk40 libadwaita GH_ACCOUNT= ErikReider GH_PROJECT= SwayNotificationCenter SHEBANG_FILES= build-aux/meson/postinstall.py GLIB_SCHEMAS= org.erikreider.swaync.gschema.xml OPTIONS_DEFINE= MANPAGES PULSEAUDIO OPTIONS_DEFAULT=MANPAGES PULSEAUDIO MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_TRUE= man-pages 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/' \ -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \ ${WRKSRC}/src/meson.build # Let @sample handle default files under etc/ @${REINPLACE_CMD} -e "s,'/',get_option('prefix')," \ -e "/output.*json/s/'[^']*/&.sample/" \ ${WRKSRC}/src/meson.build @${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 .include diff --git a/x11/swaync/distinfo b/x11/swaync/distinfo index c44154e66ea9..eb175a7065c8 100644 --- a/x11/swaync/distinfo +++ b/x11/swaync/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1744053426 -SHA256 (ErikReider-SwayNotificationCenter-v0.11.0_GH0.tar.gz) = 7f69fe248994404af4115d335929b3bd2faf8c6321374b5b3e3fa2c97d169c90 -SIZE (ErikReider-SwayNotificationCenter-v0.11.0_GH0.tar.gz) = 1717108 +TIMESTAMP = 1752236102 +SHA256 (ErikReider-SwayNotificationCenter-v0.12.0_GH0.tar.gz) = 9dcc103fddad0cff872755c09c937642989e6bc0af73040e2af7982667bfdec7 +SIZE (ErikReider-SwayNotificationCenter-v0.12.0_GH0.tar.gz) = 1726976 diff --git a/x11/swaync/files/patch-src_meson.build b/x11/swaync/files/patch-src_meson.build deleted file mode 100644 index 9f705c2cd349..000000000000 --- a/x11/swaync/files/patch-src_meson.build +++ /dev/null @@ -1,15 +0,0 @@ -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'],