Github messages for voidlinux
 help / color / mirror / Atom feed
From: paper42 <paper42@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] gfbgraph: update to 0.2.5.
Date: Thu, 31 Mar 2022 21:25:05 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36436@inbox.vuxu.org> (raw)

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

There is a new pull request by paper42 against master on the void-packages repository

https://github.com/paper42/void-packages gfbgraph-0.2.5
https://github.com/void-linux/void-packages/pull/36436

gfbgraph: update to 0.2.5.
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

cc @oreo639

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gfbgraph-0.2.5-36436.patch --]
[-- Type: text/x-diff, Size: 2313 bytes --]

From d3cfe0f35676bcad4b83cfd79139ab5978e21afe Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Thu, 31 Mar 2022 21:09:07 +0200
Subject: [PATCH] gfbgraph: update to 0.2.5.

---
 srcpkgs/gfbgraph/template | 31 +++++++++++--------------------
 1 file changed, 11 insertions(+), 20 deletions(-)

diff --git a/srcpkgs/gfbgraph/template b/srcpkgs/gfbgraph/template
index 85a7d27af6e8..63c6376122a2 100644
--- a/srcpkgs/gfbgraph/template
+++ b/srcpkgs/gfbgraph/template
@@ -1,51 +1,42 @@
 # Template file for 'gfbgraph'
 pkgname=gfbgraph
-version=0.2.4
+version=0.2.5
 revision=1
 build_style=gnu-configure
 build_helper="gir"
-configure_args="--disable-static"
-hostmakedepends="pkg-config intltool automake libtool gtk-doc which"
+configure_args="--disable-static $(vopt_enable gtk_doc gtk-doc)"
+hostmakedepends="pkg-config $(vopt_if gtk_doc gtk-doc)"
 makedepends="rest-devel json-glib-devel gnome-online-accounts-devel"
 short_desc="GLib/GObject wrapper for the SkyDrive and Hotmail REST APIs"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="LGPL-2.1-or-later"
 homepage="https://wiki.gnome.org/Projects/GFBGraph"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
-checksum=6065391f35e7335588cc6b0cc4c1abbce7341488573a654551264cb9793b9379
+checksum=9cb381b3f78ba1136df97af3f06e3b11dcc2ab339ac08f74eda0f8057d6603e3
+make_check=no # needs facebook credentials
 
-build_options="gir"
+build_options="gir gtk_doc"
 build_options_default="gir"
 
-if [ "$CROSS_BUILD" ]; then
-	configure_args+=" --disable-gtk-doc"
-else
-	configure_args+=" --enable-gtk-doc"
+if [ -z "$CROSS_BUILD" ]; then
+	build_options_default+=" gtk_doc"
 fi
 
-do_check() {
-	:
-}
-
-pre_configure() {
-	NOCONFIGURE=1 sh autogen.sh
-}
-
 post_install() {
 	rm -rf ${DESTDIR}/usr/doc
 }
 
 gfbgraph-devel_package() {
-	depends="${makedepends} ${sourcepkg}-${version}_${revision}"
+	depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
 	short_desc+=" - development files"
 	pkg_install() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
-		if [ -z "$CROSS_BUILD" ]; then
+		if [ "$build_option_gtk_doc" ]; then
 			vmove usr/share/gtk-doc
 		fi
 		vmove "usr/lib/*.so"
-		if [ -z "$CROSS_BUILD" ]; then
+		if [ "$build_option_gir" ]; then
 			vmove usr/share/gir-1.0
 		fi
 	}

             reply	other threads:[~2022-03-31 19:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-31 19:25 paper42 [this message]
2022-03-31 20:49 ` [PR PATCH] [Merged]: " paper42

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36436@inbox.vuxu.org \
    --to=paper42@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).