git: d89b1ba88cb3 - main - x11/nwg-dock-hyprland: add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Jul 2023 04:16:44 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d89b1ba88cb389e0d3849fc993b4778e4977a68d
commit d89b1ba88cb389e0d3849fc993b4778e4977a68d
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-07-02 13:26:00 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-07-03 04:15:07 +0000
x11/nwg-dock-hyprland: add new port
Configurable (with command line arguments and css) dock, written in
Go, aimed exclusively at the Hyprland Wayland compositor. It features
pinned buttons, client buttons and the launcher button. By default the
launcher starts nwg-drawer.
https://github.com/nwg-piotr/nwg-dock-hyprland
---
x11/Makefile | 1 +
x11/nwg-dock-hyprland/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++
x11/nwg-dock-hyprland/distinfo | 23 +++++++++++++++++++++
x11/nwg-dock-hyprland/pkg-descr | 4 ++++
4 files changed, 73 insertions(+)
diff --git a/x11/Makefile b/x11/Makefile
index 829859dce8ad..87c365cd62f1 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -272,6 +272,7 @@
SUBDIR += nvidia-xconfig
SUBDIR += nwg-bar
SUBDIR += nwg-dock
+ SUBDIR += nwg-dock-hyprland
SUBDIR += nwg-drawer
SUBDIR += nwg-launchers
SUBDIR += nwg-look
diff --git a/x11/nwg-dock-hyprland/Makefile b/x11/nwg-dock-hyprland/Makefile
new file mode 100644
index 000000000000..89f1847e9452
--- /dev/null
+++ b/x11/nwg-dock-hyprland/Makefile
@@ -0,0 +1,45 @@
+PORTNAME= nwg-dock-hyprland
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.1.3
+CATEGORIES= x11
+
+MAINTAINER= jbeich@FreeBSD.org
+COMMENT= GTK3-based dock for Hyprland
+WWW= https://github.com/nwg-piotr/nwg-dock-hyprland
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
+ libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell
+
+USES= gnome go:modules pkgconfig
+USE_GITHUB= yes
+USE_GNOME= cairo gdkpixbuf2 gtk30
+GH_ACCOUNT= nwg-piotr
+GH_TUPLE= allan-simon:go-singleinstance:d0997106ab37:allan_simon_go_singleinstance/vendor/github.com/allan-simon/go-singleinstance \
+ dlasky:gotk3-layershell:1f6674a3f872:dlasky_gotk3_layershell/vendor/github.com/dlasky/gotk3-layershell \
+ golang:sync:56d357773e84:golang_sync/vendor/golang.org/x/sync \
+ golang:sys:c0bba94af5f8:golang_sys/vendor/golang.org/x/sys \
+ gotk3:gotk3:v0.6.1:gotk3_gotk3/vendor/github.com/gotk3/gotk3 \
+ joshuarubin:go-sway:v1.2.0:joshuarubin_go_sway/vendor/github.com/joshuarubin/go-sway \
+ joshuarubin:lifecycle:v1.0.0:joshuarubin_lifecycle/vendor/github.com/joshuarubin/lifecycle \
+ sirupsen:logrus:v1.9.0:sirupsen_logrus/vendor/github.com/sirupsen/logrus \
+ uber-go:atomic:v1.3.2:uber_go_atomic/vendor/go.uber.org/atomic \
+ uber-go:multierr:v1.1.0:uber_go_multierr/vendor/go.uber.org/multierr
+CGO_LDFLAGS+= -Wl,--as-needed # harfbuzz, freetype2
+PLIST_FILES= bin/${PORTNAME}
+PORTDATA= images *.css
+
+post-patch:
+# Respect PREFIX for *.desktop
+ @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
+ ${WRKSRC}/tools.go
+
+post-install:
+# Based on install from WRKSRC/Makefile
+ @${CP} -p ${WRKSRC}/config/*.css ${WRKSRC}
+ (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" \
+ ${STAGEDIR}${DATADIR})
+
+.include <bsd.port.mk>
diff --git a/x11/nwg-dock-hyprland/distinfo b/x11/nwg-dock-hyprland/distinfo
new file mode 100644
index 000000000000..3946b10bca36
--- /dev/null
+++ b/x11/nwg-dock-hyprland/distinfo
@@ -0,0 +1,23 @@
+TIMESTAMP = 1688304360
+SHA256 (nwg-piotr-nwg-dock-hyprland-v0.1.3_GH0.tar.gz) = 9c6b7dc02d5de7576fc75bd359a879c4816319d54b6e422a195e8ad33fb5b6fb
+SIZE (nwg-piotr-nwg-dock-hyprland-v0.1.3_GH0.tar.gz) = 20877
+SHA256 (allan-simon-go-singleinstance-d0997106ab37_GH0.tar.gz) = f8cee874873fe9fc1a81e8a7ca83df85c57aa86279c09cb8cba10d5feb7ed295
+SIZE (allan-simon-go-singleinstance-d0997106ab37_GH0.tar.gz) = 2819
+SHA256 (dlasky-gotk3-layershell-1f6674a3f872_GH0.tar.gz) = dbd56b8bd4905791142df35d18af9d200035441a454cdb398ff8b654fb8f8e2d
+SIZE (dlasky-gotk3-layershell-1f6674a3f872_GH0.tar.gz) = 2373140
+SHA256 (golang-sync-56d357773e84_GH0.tar.gz) = b30ecf4394f01a492423b41e3815d84711c29d679ee4dd5118fc2c9bcf433b3f
+SIZE (golang-sync-56d357773e84_GH0.tar.gz) = 16832
+SHA256 (golang-sys-c0bba94af5f8_GH0.tar.gz) = 948e3a5eb69c316307892d81d7c7c63a481e8909a28b886901c0f7caf02e6a30
+SIZE (golang-sys-c0bba94af5f8_GH0.tar.gz) = 1337164
+SHA256 (gotk3-gotk3-v0.6.1_GH0.tar.gz) = 971ff1d2d184413113d1cbf68f9127bce06362e2e352d8ade79b1817d2024aa5
+SIZE (gotk3-gotk3-v0.6.1_GH0.tar.gz) = 272727
+SHA256 (joshuarubin-go-sway-v1.2.0_GH0.tar.gz) = 3bd95f49be110b40bc005f3db157c0a8e6ccedb4e0ed48e810368f23030a1833
+SIZE (joshuarubin-go-sway-v1.2.0_GH0.tar.gz) = 12933
+SHA256 (joshuarubin-lifecycle-v1.0.0_GH0.tar.gz) = 01ae9623078c568cefbda7c2dd973024382cdbf598f5efa4ac5578bb4bd0dff7
+SIZE (joshuarubin-lifecycle-v1.0.0_GH0.tar.gz) = 7265
+SHA256 (sirupsen-logrus-v1.9.0_GH0.tar.gz) = 12446ed9eb96573c2aae4df2db81900a65bfd21d2ce92efde7201614e42134f7
+SIZE (sirupsen-logrus-v1.9.0_GH0.tar.gz) = 49098
+SHA256 (uber-go-atomic-v1.3.2_GH0.tar.gz) = ee2ec763758d8ab2095ee927086a1ed057212fa27660614448d4bbcbdc4ffe61
+SIZE (uber-go-atomic-v1.3.2_GH0.tar.gz) = 8047
+SHA256 (uber-go-multierr-v1.1.0_GH0.tar.gz) = 45405583513302d57d4715fada5ef8c8dbd9c9992956f2d0faa8758d9d885851
+SIZE (uber-go-multierr-v1.1.0_GH0.tar.gz) = 9234
diff --git a/x11/nwg-dock-hyprland/pkg-descr b/x11/nwg-dock-hyprland/pkg-descr
new file mode 100644
index 000000000000..698a45e04857
--- /dev/null
+++ b/x11/nwg-dock-hyprland/pkg-descr
@@ -0,0 +1,4 @@
+Configurable (with command line arguments and css) dock, written in
+Go, aimed exclusively at the Hyprland Wayland compositor. It features
+pinned buttons, client buttons and the launcher button. By default the
+launcher starts nwg-drawer.