aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/waybar/Makefile13
-rw-r--r--x11/waybar/distinfo6
-rw-r--r--x11/waybar/files/date.pc.in10
3 files changed, 23 insertions, 6 deletions
diff --git a/x11/waybar/Makefile b/x11/waybar/Makefile
index a4b69eb376fd..7e34c229638e 100644
--- a/x11/waybar/Makefile
+++ b/x11/waybar/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= waybar
-DISTVERSION= 0.9.0
-PORTREVISION= 1
+DISTVERSION= 0.9.1
CATEGORIES= x11
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
@@ -27,7 +26,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= spdlog>0:devel/spdlog \
wayland-protocols>0:graphics/wayland-protocols
-LIB_DEPENDS= libjsoncpp.so:devel/jsoncpp \
+LIB_DEPENDS= libtz.so:devel/date \
+ libjsoncpp.so:devel/jsoncpp \
libfmt.so:devel/libfmt \
libwayland-client.so:graphics/wayland
@@ -41,6 +41,13 @@ PLIST_FILES= bin/${PORTNAME} \
etc/xdg/${PORTNAME}/config \
etc/xdg/${PORTNAME}/style.css
+# XXX Add pkg-config support to devel/date
+.if exists(${.CURDIR}/files/date.pc.in)
+CONFIGURE_ENV+= PKG_CONFIG_PATH="${WRKDIR}"
+SUB_FILES+= date.pc
+post-patch: apply-slist
+.endif
+
OPTIONS_DEFINE= DBUS GLS MANPAGES MPD PULSEAUDIO UDEV
OPTIONS_DEFAULT=DBUS GLS MANPAGES MPD PULSEAUDIO UDEV
diff --git a/x11/waybar/distinfo b/x11/waybar/distinfo
index 752f32f27334..3d23b59bd0b8 100644
--- a/x11/waybar/distinfo
+++ b/x11/waybar/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1577532909
-SHA256 (Alexays-Waybar-0.9.0_GH0.tar.gz) = 65e8397d5a8880cbb9172138e361b0d91f649bc99327d36945e38d1e5dbb157d
-SIZE (Alexays-Waybar-0.9.0_GH0.tar.gz) = 115404
+TIMESTAMP = 1581378443
+SHA256 (Alexays-Waybar-0.9.1_GH0.tar.gz) = 97d61baced26835b49d9366a1316925fc5ec59c4ae9269d85c71c5375a061478
+SIZE (Alexays-Waybar-0.9.1_GH0.tar.gz) = 118621
SHA256 (2e9d80139411.patch) = fde33b626acacaecc60ea0fde78807fb8f32ef6a1b5a81d877c8078deb0bacfb
SIZE (2e9d80139411.patch) = 2686
SHA256 (9ba4bfcb20f2.patch) = eef358d8a590c22cb78cddaf39cd5a2d4797198b3aeb51a3e7a3ca95bcffda79
diff --git a/x11/waybar/files/date.pc.in b/x11/waybar/files/date.pc.in
new file mode 100644
index 000000000000..6caf9124bca0
--- /dev/null
+++ b/x11/waybar/files/date.pc.in
@@ -0,0 +1,10 @@
+prefix=%%LOCALBASE%%
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: date
+Description: Date and time library based on the C++11/14/17 <chrono> header
+Version: 2.4.1
+Cflags: -I${includedir}
+Libs: -L${libdir} -ltz