Github messages for voidlinux
 help / color / mirror / Atom feed
From: misuchiru03 <misuchiru03@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New Package: citations-0.5.1
Date: Thu, 06 Oct 2022 19:01:32 +0200	[thread overview]
Message-ID: <20221006170132.oRAyd4y7iWb1lIUWQ-tzf8HL8Jp6WeiP0A9Ea9Rd6tg@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39754@inbox.vuxu.org>

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

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

https://github.com/misuchiru03/void-packages np_citations_0.5.1
https://github.com/void-linux/void-packages/pull/39754

New Package: citations-0.5.1
#### Testing the changes
- I tested the changes in this PR: **YES**


#### 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 my native architecture, (x86_64-GLIBC)


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-np_citations_0.5.1-39754.patch --]
[-- Type: text/x-diff, Size: 1823 bytes --]

From c4aab3296d87e01acc1468a5c1dd5c7645a41a19 Mon Sep 17 00:00:00 2001
From: Alex Childs <misuchiru03+github@gmail.com>
Date: Thu, 6 Oct 2022 00:35:52 -0500
Subject: [PATCH] New Package: citations-0.5.1

---
 srcpkgs/citations/template | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 srcpkgs/citations/template

diff --git a/srcpkgs/citations/template b/srcpkgs/citations/template
new file mode 100644
index 000000000000..16134f20eae8
--- /dev/null
+++ b/srcpkgs/citations/template
@@ -0,0 +1,32 @@
+# Template file for 'citations'
+pkgname=citations
+version=0.5.1
+revision=1
+build_style=meson
+build_helper=rust
+hostmakedepends="glib-devel gettext rust cargo pkg-config
+ gtk-update-icon-cache gtk4-update-icon-cache desktop-file-utils"
+makedepends="libadwaita-devel gtk4-devel openssl-devel
+ rust-std poppler-glib-devel gtksourceview5-devel"
+short_desc="Manage your bibliography using BibTeX format"
+maintainer="Alex Childs <misuchiru03+github@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.gnome.org/World/citations"
+distfiles="https://gitlab.gnome.org/World/citations/-/archive/${version}/citations-${version}.tar.gz"
+checksum=77ac6a7cc442de74eccfc3f07687803cd1feca2da348753eddd34404b94bf253
+_meson_builddir="${XBPS_BUILDDIR}/citations-${version}/build"
+
+# Allows the cross build to know where the file is placed--build.ninja does not account for cross build
+pre_build() {
+	if [ "${CROSS_BUILD}" ]; then
+		sed -i 's, && cp src/release/citations src/citations,,' ${_meson_builddir}/build.ninja
+	fi
+}
+
+# Take the cross-build folder into account when copying the file for the install
+post_build() {
+	if [ "${CROSS_BUILD}" ]; then
+		cp -r ${_meson_builddir}/src/*-linux-*/release/citations \
+		 ${_meson_builddir}/src/citations
+	fi
+}

  parent reply	other threads:[~2022-10-06 17:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-06  6:28 [PR PATCH] " misuchiru03
2022-10-06  6:49 ` misuchiru03
2022-10-06  8:04 ` classabbyamp
2022-10-06  9:41 ` misuchiru03
2022-10-06 17:01 ` misuchiru03 [this message]
2022-10-06 17:22 ` misuchiru03
2022-10-06 19:18 ` [PR PATCH] [Updated] " misuchiru03
2022-10-08  4:02 ` [PR REVIEW] " abenson
2022-10-08  5:45 ` [PR PATCH] [Updated] " misuchiru03
2022-10-20  1:35 ` [PR PATCH] [Merged]: " abenson

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=20221006170132.oRAyd4y7iWb1lIUWQ-tzf8HL8Jp6WeiP0A9Ea9Rd6tg@z \
    --to=misuchiru03@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).