Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: wget2-2.0.1
@ 2022-09-09 20:12 dexgs
  2022-09-09 20:14 ` dexgs
                   ` (32 more replies)
  0 siblings, 33 replies; 34+ messages in thread
From: dexgs @ 2022-09-09 20:12 UTC (permalink / raw)
  To: ml

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

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

https://github.com/dexgs/void-packages wget
https://github.com/void-linux/void-packages/pull/39194

New package: wget2-2.0.1
Also included are subpackages libwget and libwget-devel.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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**|**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-glibc)

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

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

From 169cdb527895c3be2897a251e1b7a806351da3e3 Mon Sep 17 00:00:00 2001
From: Dexter Gaon-Shatford <dexter.gaonshatford@gmail.com>
Date: Fri, 9 Sep 2022 16:10:13 -0400
Subject: [PATCH] New package: wget2-2.0.1

Also included are subpackages libwget and libwget-devel.
---
 common/shlibs          |  1 +
 srcpkgs/libwget        |  1 +
 srcpkgs/libwget-devel  |  1 +
 srcpkgs/wget2/template | 52 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 55 insertions(+)
 create mode 120000 srcpkgs/libwget
 create mode 120000 srcpkgs/libwget-devel
 create mode 100644 srcpkgs/wget2/template

diff --git a/common/shlibs b/common/shlibs
index bd9890ed7846..8bcb7cc5670e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4161,3 +4161,4 @@ libsyncthingconnector.so.1.2.3 syncthingtray-1.2.3_1
 libglibutil.so.1 libglibutil-1.0.64_1
 libgbinder.so.1 libgbinder-1.1.20_1
 libsunpinyin.so.3 libsunpinyin-3.0.0rc2_1
+libwget.so.1 libwget-2.0.1_1
diff --git a/srcpkgs/libwget b/srcpkgs/libwget
new file mode 120000
index 000000000000..96cec08f36ca
--- /dev/null
+++ b/srcpkgs/libwget
@@ -0,0 +1 @@
+wget2
\ No newline at end of file
diff --git a/srcpkgs/libwget-devel b/srcpkgs/libwget-devel
new file mode 120000
index 000000000000..96cec08f36ca
--- /dev/null
+++ b/srcpkgs/libwget-devel
@@ -0,0 +1 @@
+wget2
\ No newline at end of file
diff --git a/srcpkgs/wget2/template b/srcpkgs/wget2/template
new file mode 100644
index 000000000000..9b49135870d2
--- /dev/null
+++ b/srcpkgs/wget2/template
@@ -0,0 +1,52 @@
+# Template file for 'wget2'
+pkgname=wget2
+version=2.0.1
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config texinfo pandoc"
+makedepends="gnutls-devel zlib-devel libidn2-devel libpsl-devel
+ $(vopt_if brotli 'brotli-devel') $(vopt_if http2 'nghttp2-devel')
+ $(vopt_if gpgme 'gpgme-devel') $(vopt_if lzma 'liblzma-devel')
+ $(vopt_if bzip2 'bzip2-devel') $(vopt_if zstd 'libzstd-devel')
+ $(vopt_if pcre 'pcre2-devel')"
+depends="libwget>=${version}_${revision}"
+checkdepends="libmicrohttpd-devel gpgme"
+short_desc="file and recursive website downloader"
+maintainer="chili-b <dexter.gaonshatford@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.com/gnuwget/wget2"
+changelog="https://gitlab.com/gnuwget/wget2/-/blob/master/NEWS"
+distfiles="${GNU_SITE}/wget/wget2-${version}.tar.gz"
+checksum=0bb7fa03697bb5b8d05e1b5e15b863440826eb845874c4ffb5e32330f9845db1
+
+build_options="brotli http2 gpgme lzma bzip2 zstd pcre"
+build_options_default="brotli http2 gpgme lzma bzip2 zstd pcre"
+
+post_install() {
+	install -D -m 644 -t $DESTDIR/usr/share/man/man3 docs/man/man3/*.3
+}
+
+libwget_package() {
+	depends="gnutls libidn2 libpsl
+	 $(vopt_if brotli 'brotli') $(vopt_if http2 'nghttp2')
+	 $(vopt_if gpgme 'libgpgme') $(vopt_if lzma 'liblzma')
+	 $(vopt_if bzip2 'bzip2') $(vopt_if zstd 'libzstd')
+	 $(vopt_if pcre 'libpcre2')"
+	short_desc+=" - shared libraries"
+	license="LGPL-3.0-or-later"
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+	}
+}
+
+libwget-devel_package() {
+	depends="libwget>=${version}_${revision}"
+	short_desc+=" - development files"
+	license="LGPL-3.0-or-later"
+	pkg_install() {
+		vmove "usr/lib/*.a"
+		vmove usr/lib/pkgconfig
+		vmove usr/include
+		vmove usr/share/man/man3
+	}
+}

^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2023-01-13  2:34 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-09 20:12 [PR PATCH] New package: wget2-2.0.1 dexgs
2022-09-09 20:14 ` dexgs
2022-09-09 20:16 ` [PR PATCH] [Updated] " dexgs
2022-09-09 21:25 ` dexgs
2022-09-09 21:44 ` dexgs
2022-09-10  0:03 ` [PR REVIEW] " oreo639
2022-09-10  0:04 ` oreo639
2022-09-10  0:31 ` oreo639
2022-09-10  0:56 ` dexgs
2022-09-10  1:00 ` dexgs
2022-09-10  1:01 ` dexgs
2022-09-10  1:40 ` oreo639
2022-09-10  1:44 ` oreo639
2022-09-10  2:24 ` oreo639
2022-09-10  3:53 ` classabbyamp
2022-09-10  3:53 ` classabbyamp
2022-09-10  3:53 ` classabbyamp
2022-09-10  3:56 ` dexgs
2022-09-10  3:57 ` classabbyamp
2022-09-10  3:58 ` classabbyamp
2022-09-10  3:58 ` classabbyamp
2022-09-10  4:02 ` [PR PATCH] [Updated] " dexgs
2022-09-10  4:02 ` [PR REVIEW] " dexgs
2022-09-10  4:03 ` oreo639
2022-09-10  4:04 ` oreo639
2022-09-10  4:06 ` classabbyamp
2022-09-10  4:06 ` oreo639
2022-09-10  4:21 ` [PR PATCH] [Updated] " dexgs
2022-09-10 15:03 ` tranzystorek-io
2022-09-10 17:18 ` [PR PATCH] [Updated] " dexgs
2022-09-10 23:53 ` dexgs
2022-09-30 16:59 ` [PR PATCH] [Updated] " dexgs
2022-12-30  1:58 ` github-actions
2023-01-13  2:34 ` [PR PATCH] [Closed]: " github-actions

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).