mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 05:10:29 -04:00
x11/swaync: update to 0.10.0
Changes: https://github.com/ErikReider/SwayNotificationCenter/releases/tag/v0.10.0 Reported by: GitHub (watch releases)
This commit is contained in:
parent
36d93811bf
commit
880e76d7c5
3 changed files with 31 additions and 10 deletions
|
@ -1,7 +1,6 @@
|
||||||
PORTNAME= swaync
|
PORTNAME= swaync
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
PORTVERSION= 0.9.0
|
PORTVERSION= 0.10.0
|
||||||
PORTREVISION= 3
|
|
||||||
CATEGORIES= x11 wayland
|
CATEGORIES= x11 wayland
|
||||||
|
|
||||||
MAINTAINER= jbeich@FreeBSD.org
|
MAINTAINER= jbeich@FreeBSD.org
|
||||||
|
@ -11,9 +10,10 @@ WWW= https://github.com/ErikReider/SwayNotificationCenter
|
||||||
LICENSE= GPLv3+
|
LICENSE= GPLv3+
|
||||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||||
|
|
||||||
LIB_DEPENDS= libpulse.so:audio/pulseaudio \
|
BUILD_DEPENDS= sassc:textproc/sassc
|
||||||
libjson-glib-1.0.so:devel/json-glib \
|
LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \
|
||||||
libgee-0.8.so:devel/libgee \
|
libgee-0.8.so:devel/libgee \
|
||||||
|
libgranite.so:x11-toolkits/granite \
|
||||||
libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell \
|
libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell \
|
||||||
libhandy-1.so:x11-toolkits/libhandy
|
libhandy-1.so:x11-toolkits/libhandy
|
||||||
|
|
||||||
|
@ -26,8 +26,8 @@ GH_PROJECT= SwayNotificationCenter
|
||||||
SHEBANG_FILES= build-aux/meson/postinstall.py
|
SHEBANG_FILES= build-aux/meson/postinstall.py
|
||||||
GLIB_SCHEMAS= org.erikreider.swaync.gschema.xml
|
GLIB_SCHEMAS= org.erikreider.swaync.gschema.xml
|
||||||
|
|
||||||
OPTIONS_DEFINE= MANPAGES
|
OPTIONS_DEFINE= MANPAGES PULSEAUDIO
|
||||||
OPTIONS_DEFAULT=MANPAGES
|
OPTIONS_DEFAULT=MANPAGES PULSEAUDIO
|
||||||
|
|
||||||
MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc
|
MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc
|
||||||
MANPAGES_MESON_TRUE= man-pages
|
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/man1/${PORTNAME}-client.1.gz \
|
||||||
share/man/man5/${PORTNAME}.5.gz
|
share/man/man5/${PORTNAME}.5.gz
|
||||||
|
|
||||||
|
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
|
||||||
|
PULSEAUDIO_MESON_TRUE= pulse-audio
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
# Extract (snapshot) version from the port instead of meson.build
|
# Extract (snapshot) version from the port instead of meson.build
|
||||||
@${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \
|
@${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \
|
||||||
|
@ -43,8 +46,11 @@ post-patch:
|
||||||
# Let @sample handle default files under etc/
|
# Let @sample handle default files under etc/
|
||||||
@${REINPLACE_CMD} -e "s,'/',get_option('prefix')," \
|
@${REINPLACE_CMD} -e "s,'/',get_option('prefix')," \
|
||||||
-e "/output.*json/s/'[^']*/&.sample/" \
|
-e "/output.*json/s/'[^']*/&.sample/" \
|
||||||
-e "/inst.*css/s/'[^']*/&', rename: &.sample/1" \
|
|
||||||
${WRKSRC}/src/meson.build
|
${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
|
# Respect PREFIX in manpages
|
||||||
@${REINPLACE_CMD} 's,/etc,${PREFIX}&,' \
|
@${REINPLACE_CMD} 's,/etc,${PREFIX}&,' \
|
||||||
${WRKSRC}/man/${PORTNAME}.1.scd
|
${WRKSRC}/man/${PORTNAME}.1.scd
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1685366911
|
TIMESTAMP = 1707581941
|
||||||
SHA256 (ErikReider-SwayNotificationCenter-v0.9.0_GH0.tar.gz) = 3f00bc858b7b3610e88ef0f6ee64d727892dd82f280f1dfc01dde863c2ea3376
|
SHA256 (ErikReider-SwayNotificationCenter-v0.10.0_GH0.tar.gz) = 5eb6fb0cfdaa9eb518565e032a7d9f716b3edfd99602697344eac00e404d4c8d
|
||||||
SIZE (ErikReider-SwayNotificationCenter-v0.9.0_GH0.tar.gz) = 3178186
|
SIZE (ErikReider-SwayNotificationCenter-v0.10.0_GH0.tar.gz) = 1709477
|
||||||
|
|
15
x11/swaync/files/patch-src_meson.build
Normal file
15
x11/swaync/files/patch-src_meson.build
Normal file
|
@ -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'],
|
Loading…
Add table
Reference in a new issue