Github messages for voidlinux
 help / color / mirror / Atom feed
From: lfdebrux <lfdebrux@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] gpgme: add build option qt
Date: Sun, 10 Jul 2022 18:11:28 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37980@inbox.vuxu.org> (raw)

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

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

https://github.com/lfdebrux/voidz-packages gpgme-build-option-qt
https://github.com/void-linux/void-packages/pull/37980

gpgme: add build option qt
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### 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, x86_64-musl
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv5tel-musl



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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gpgme-build-option-qt-37980.patch --]
[-- Type: text/x-diff, Size: 1792 bytes --]

From bca04bcd0ebebb96a95fce990884f3e105edde90 Mon Sep 17 00:00:00 2001
From: Laurence de Bruxelles <lfdebrux@gmail.com>
Date: Sun, 10 Jul 2022 15:35:32 +0100
Subject: [PATCH] gpgme: add build option qt

---
 srcpkgs/gpgme/template | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/gpgme/template b/srcpkgs/gpgme/template
index 8633075a8404..1f86fc66f07f 100644
--- a/srcpkgs/gpgme/template
+++ b/srcpkgs/gpgme/template
@@ -1,13 +1,15 @@
 # Template file for 'gpgme'
 pkgname=gpgme
 version=1.15.1
-revision=2
+revision=3
 build_style=gnu-configure
 configure_args="--enable-fd-passing
  --with-libgpg-error-prefix=$XBPS_CROSS_BASE/usr
- --with-libassuan-prefix=$XBPS_CROSS_BASE/usr"
-hostmakedepends="gnupg pkg-config qt5-host-tools qt5-qmake"
-makedepends="libassuan-devel qt5-tools-devel"
+ --with-libassuan-prefix=$XBPS_CROSS_BASE/usr
+ $(vopt_with qt)"
+hostmakedepends="gnupg pkg-config
+ $(vopt_if qt 'qt5-qmake qt5-host-tools')"
+makedepends="libassuan-devel $(vopt_if qt qt5-tools-devel)"
 depends="gnupg>=2"
 short_desc="GnuPG Made Easy"
 maintainer="Orphaned <orphan@voidlinux.org>"
@@ -16,6 +18,9 @@ homepage="https://www.gnupg.org/software/gpgme/index.html"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-${version}.tar.bz2"
 checksum=eebc3c1b27f1c8979896ff361ba9bb4778b508b2496c2fc10e3775a40b1de1ad
 
+build_options="qt"
+build_options_default="qt"
+
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	configure_args+=" ac_cv_sys_file_offset_bits=no"
 elif [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
@@ -25,6 +30,9 @@ fi
 
 CXXFLAGS+=" -D_GLIBCXX_USE_C99_STDIO=1"
 
+subpackages="gpgme-devel gpgmepp gpgmepp-devel
+ $(vopt_if qt 'gpgmeqt gpgmeqt-devel') libgpgme"
+
 libgpgme_package() {
 	short_desc+=" - library"
 	pkg_install() {

             reply	other threads:[~2022-07-10 16:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-10 16:11 lfdebrux [this message]
2022-07-15 15:58 ` classabbyamp
2022-07-19  6:19 ` lfdebrux
2022-07-19  6:19 ` classabbyamp
2022-07-19  6:20 ` lfdebrux
2022-10-18  2:14 ` github-actions
2022-11-01  2:14 ` [PR PATCH] [Closed]: " github-actions

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-37980@inbox.vuxu.org \
    --to=lfdebrux@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).