aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/lavalauncher/Makefile33
-rw-r--r--x11/lavalauncher/distinfo8
2 files changed, 27 insertions, 14 deletions
diff --git a/x11/lavalauncher/Makefile b/x11/lavalauncher/Makefile
index 87872bd9426e..14223712902c 100644
--- a/x11/lavalauncher/Makefile
+++ b/x11/lavalauncher/Makefile
@@ -2,31 +2,46 @@
PORTNAME= lavalauncher
DISTVERSIONPREFIX= v
-DISTVERSION= 1.7.1
+DISTVERSION= 2.0.0
CATEGORIES= x11
MASTER_SITES= https://git.sr.ht/~leon_plickat/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
-PATCH_SITES= https://git.sr.ht/~leon_plickat/${PORTNAME}/commit/
-PATCHFILES+= 7142822a8082.patch:-p1
-
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Simple launcher panel for Wayland desktops
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols
+BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \
+ wayland-protocols>0:graphics/wayland-protocols
LIB_DEPENDS= libwayland-client.so:graphics/wayland
-USES= compiler:c11 gnome localbase meson pkgconfig
+USES= compiler:c11 gnome meson pkgconfig
USE_GNOME= cairo
PLIST_FILES= bin/${PORTNAME}
-OPTIONS_DEFINE= MANPAGES
-OPTIONS_DEFAULT=MANPAGES
+OPTIONS_DEFINE= EPOLL INOTIFY LIBRSVG2 MANPAGES
+OPTIONS_DEFAULT=EPOLL INOTIFY MANPAGES
+
+EPOLL_DESC= Handle signals via epoll-shim
+EPOLL_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim
+EPOLL_MESON_ENABLED= handle-signals
+
+INOTIFY_DESC= Watch configuration file via libinotify
+INOTIFY_LIB_DEPENDS= libinotify.so:devel/libinotify
+INOTIFY_MESON_ENABLED= watch-config
+
+LIBRSVG2_USE= GNOME=glib20
+LIBRSVG2_LIB_DEPENDS= librsvg-2.so.2:graphics/librsvg2-rust
+LIBRSVG2_MESON_ENABLED= librsvg
MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc
-MANPAGES_MESON_ENABLED= man-page
+MANPAGES_MESON_ENABLED= man-pages
MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz
+post-patch:
+# Respect PREFIX when looking for system .conf files
+ @${REINPLACE_CMD} 's,/usr/local,${PREFIX},' \
+ ${WRKSRC}/src/lavalauncher.c
+
.include <bsd.port.mk>
diff --git a/x11/lavalauncher/distinfo b/x11/lavalauncher/distinfo
index da12ca7b8b69..fe8ebd65c03f 100644
--- a/x11/lavalauncher/distinfo
+++ b/x11/lavalauncher/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1589545119
-SHA256 (lavalauncher-v1.7.1.tar.gz) = ff67f599de523daf50bd4d8351fd299c1967dd622126086145f7f035a329bbdb
-SIZE (lavalauncher-v1.7.1.tar.gz) = 82550
-SHA256 (7142822a8082.patch) = 9184ff5b1d3b2bf9f16097e7a21ab635d4bf8d2c0a0592cfad7d437797e1ed9f
-SIZE (7142822a8082.patch) = 1348
+TIMESTAMP = 1598638301
+SHA256 (lavalauncher-v2.0.0.tar.gz) = 6aa9d6fe189f658dabb709c1902454ebaa7dace8259d39c2256397657a411f9b
+SIZE (lavalauncher-v2.0.0.tar.gz) = 92083