Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [NoMerge] cmake-gui: update to 3.16.2 ; Fix cross
Date: Mon, 30 Dec 2019 02:20:03 +0100	[thread overview]
Message-ID: <20191230012003.cwJtrjHFO6JW4_dHwiknQiU03WbfztTj1F0SrIOAxIA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-17858@inbox.vuxu.org>

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

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

https://github.com/ndowens/void-packages cmake-gui
https://github.com/void-linux/void-packages/pull/17858

[NoMerge] cmake-gui: update to 3.16.2 ; Fix cross
Update to 3.16.2 and use cmake build_style
as this enables cross-build support.
Adopt package

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-cmake-gui-17858.patch --]
[-- Type: text/x-diff, Size: 2548 bytes --]

From 824cd3670b11d43ada69f27b93b772f6980c05f4 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens04@gmail.com>
Date: Sat, 28 Dec 2019 21:36:41 -0600
Subject: [PATCH] cmake-gui: update to 3.16.2

Update to 3.16.2 and use cmake build_style
as this enables cross-build support.
Adopt package
---
 srcpkgs/cmake-gui/template | 35 +++++++++++++++++++++--------------
 1 file changed, 21 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/cmake-gui/template b/srcpkgs/cmake-gui/template
index 5d083debfe4..37884da0137 100644
--- a/srcpkgs/cmake-gui/template
+++ b/srcpkgs/cmake-gui/template
@@ -1,31 +1,38 @@
 # Template file for 'cmake-gui'
 pkgname=cmake-gui
-version=3.16.1
+version=3.16.2
 revision=1
 wrksrc="cmake-${version}"
-build_style=configure
-configure_args="--prefix=/usr --mandir=/share/man --docdir=/share/doc/cmake
- --system-libs --qt-gui ${XBPS_MAKEJOBS:+--parallel=$XBPS_MAKEJOBS}"
+build_style=cmake
+configure_args="
+ -DBUILD_QtDialog=ON
+ -DCMAKE_USE_SYSTEM_LIBARCHIVE=ON
+ -DCMAKE_USE_SYSTEM_CURL=ON
+ -DCMAKE_USE_SYSTEM_JSONCPP=ON
+ -DCMAKE_USE_SYSTEM_LIBUV=ON
+ -DCMAKE_USE_SYSTEM_LIBRHASH=ON"
 hostmakedepends="qt5-devel"
 makedepends="jsoncpp-devel libarchive-devel libcurl-devel libuv-devel
  ncurses-devel qt5-devel rhash-devel"
 depends="desktop-file-utils shared-mime-info"
 short_desc="Cross-platform, open-source build system - Qt GUI"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="LGPL-2.1-or-later, BSD-3-Clause"
+maintainer="Nathan Owens <ndowens04@gmail.com>"
+license="LGPL-2.1-or-later, GPL-3.0-or-later, BSD-3-Clause"
 homepage="https://www.cmake.org"
-distfiles="https://www.cmake.org/files/v${version%.*}/cmake-${version}.tar.gz"
-checksum=a275b3168fa8626eca4465da7bb159ff07c8c6cb0fb7179be59e12cbdfa725fd
-nocross=yes
+distfiles="https://www.cmake.org/files/v${version%.*}/cmake-${version}.tar.gz
+ https://github.com/ndowens/void/archive/cmake-gui-data.tar.gz"
+checksum="8c09786ec60ca2be354c29829072c38113de9184f29928eb9da8446a5f2ce6a9
+ 137af0e1eaaa0b646817d97b6e7213de76570357574fe597a6125f170f6cc5fe"
 
 do_install() {
 	# We are only interested in cmake-gui.
-	make DESTDIR=${wrksrc}/${pkgname} install
-
-	vbin bin/cmake-gui
+	vbin build/bin/cmake-gui
+	
+	for a in icons mime ; do
+		vcopy ../void-cmake-gui-data/cmake-gui/$a usr/share
+	done
 
-	vmkdir usr/share
-	cp -a ${pkgname}/usr/share/{applications,mime,icons} ${DESTDIR}/usr/share
+	vinstall ../cmake-gui-data/applications/cmake-gui.desktop 644 usr/share/applications
 
 	for i in Licenses/*.txt Copyright.txt ; do
 		vlicense $i

  parent reply	other threads:[~2019-12-30  1:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-29  3:48 [PR PATCH] [NoMerge] cmake-gui: update to 3.16.2 voidlinux-github
2019-12-29  4:01 ` [PR PATCH] [Updated] [NoMerge] cmake-gui: update to 3.16.2 ; Fix cross voidlinux-github
2019-12-29  4:32 ` voidlinux-github
2019-12-29 23:07 ` voidlinux-github
2019-12-30  1:20 ` voidlinux-github [this message]
2019-12-30  1:38 ` voidlinux-github
2019-12-30  1:55 ` voidlinux-github
2019-12-30  1:58 ` voidlinux-github
2020-01-04  8:28 ` [PR PATCH] [Merged]: " voidlinux-github

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=20191230012003.cwJtrjHFO6JW4_dHwiknQiU03WbfztTj1F0SrIOAxIA@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --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).