Github messages for voidlinux
 help / color / mirror / Atom feed
From: zen0bit <zen0bit@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: nwg-drawer-0.4.7
Date: Mon, 01 Apr 2024 08:05:44 +0200	[thread overview]
Message-ID: <20240401060545.08F7921285@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49350@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 647 bytes --]

There is an updated pull request by zen0bit against master on the void-packages repository

https://github.com/oSoWoSo/VUR nwg-drawer
https://github.com/void-linux/void-packages/pull/49350

New package: nwg-drawer-0.4.7

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for ALL architectures


A patch file from https://github.com/void-linux/void-packages/pull/49350.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nwg-drawer-49350.patch --]
[-- Type: text/x-diff, Size: 1996 bytes --]

From c9a5f8e0c4932112bd00e586515f4b0bc39b68a1 Mon Sep 17 00:00:00 2001
From: zenobit <zenobit@disroot.org>
Date: Sun, 17 Mar 2024 00:20:32 +0100
Subject: [PATCH] New package: nwg-drawer-0.4.7

---
 srcpkgs/nwg-drawer/template | 44 +++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 srcpkgs/nwg-drawer/template

diff --git a/srcpkgs/nwg-drawer/template b/srcpkgs/nwg-drawer/template
new file mode 100644
index 00000000000000..b38b9a128b5838
--- /dev/null
+++ b/srcpkgs/nwg-drawer/template
@@ -0,0 +1,44 @@
+# Template file for 'nwg-drawer'
+pkgname=nwg-drawer
+version=0.4.7
+revision=1
+build_style=go
+go_import_path=github.com/nwg-piotr/nwg-drawer
+hostmakedepends="pkg-config make"
+makedepends="cairo-devel gdk-pixbuf-devel gtk+3-devel gtk-layer-shell-devel pango-devel"
+depends="gtk-layer-shell gtk+3 pango cairo gdk-pixbuf glib glibc fontconfig xdg-utils"
+short_desc="Application drawer for wlroots-based Wayland compositors"
+maintainer="zenobit <zenobit@disroot.org>"
+license="MIT"
+homepage="https://nwg-piotr.github.io/nwg-shell/nwg-drawer"
+#changelog=""
+distfiles="https://github.com/nwg-piotr/nwg-drawer/archive/refs/tags/v${version}.tar.gz"
+checksum=4463841382061ef4a2d6f7fec8b9a846886edf55885cd6b2337874b5cf904e14
+
+do_build() {
+	export CGO_LDFLAGS="${LDFLAGS}"
+	export CGO_CFLAGS="${CFLAGS}"
+	export CGO_CPPFLAGS="${CPPFLAGS}"
+	export CGO_CXXFLAGS="${CXXFLAGS}"
+	export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags=-linkmode=external"
+	export GOPATH="${srcdir}"/go
+	export PATH=$PATH:$GOPATH/bin
+	go build -o bin/"$pkgname" *.go
+}
+
+post_install() {
+	for file in desktop-directories/*; do
+		vinstall ${file} 644 /usr/share/nwg-drawer/desktop-directories
+	done
+
+	for img in img/*.svg; do
+		vinstall "${img}" 644 /usr/share/nwg-drawer/img
+	done
+
+	vinstall drawer.css 644 /usr/share/nwg-drawer
+
+	vbin bin/nwg-drawer
+
+	vinstall README.md 644 /usr/share/doc/nwg-drawer
+	vlicense LICENSE
+}

  reply	other threads:[~2024-04-01  6:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-18 11:37 [PR PATCH] " zen0bit
2024-04-01  6:05 ` zen0bit [this message]
2024-04-01 19:13 ` zen0bit
2024-04-02  6:37 ` [PR PATCH] [Closed]: " classabbyamp
2024-04-02  6:38 ` classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240401060545.08F7921285@inbox.vuxu.org \
    --to=zen0bit@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).