Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Update Freeciv to 3.0.1
@ 2022-04-20  5:23 iamacatnotaperson
  2022-04-20  5:26 ` abenson
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: iamacatnotaperson @ 2022-04-20  5:23 UTC (permalink / raw)
  To: ml

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

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

https://github.com/iamacatnotaperson/void-packages iamacatnotaperson-patch-1
https://github.com/void-linux/void-packages/pull/36774

Update Freeciv to 3.0.1
<!-- 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, (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/36774.patch is attached

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

From b1ca90c6384ae3ab55889576bb740db5b76c5ded Mon Sep 17 00:00:00 2001
From: iamacatnotaperson <45576816+iamacatnotaperson@users.noreply.github.com>
Date: Wed, 20 Apr 2022 00:10:59 -0500
Subject: [PATCH] Add files via upload

---
 template | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)
 create mode 100644 template

diff --git a/template b/template
new file mode 100644
index 000000000000..e6364e85a556
--- /dev/null
+++ b/template
@@ -0,0 +1,65 @@
+# Template file for 'freeciv'
+pkgname=freeciv
+version=3.0.1
+revision=1
+build_style=gnu-configure
+configure_args="--disable-static --enable-fcdb=sqlite3 --enable-fcmp=all"
+hostmakedepends="pkg-config"
+makedepends="SDL2_gfx-devel SDL2_image-devel SDL2_mixer-devel SDL2_ttf-devel
+ gtk+3-devel libcurl-devel lua53-devel"
+short_desc="Free and Open Source empire-building strategy game - server/data"
+maintainer="bra1nwave <bra1nwave@protonmail.com>"
+license="GPL-2.0-or-later"
+homepage="http://freeciv.org/"
+changelog="https://freeciv.fandom.com/wiki/NEWS-${version}"
+distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
+checksum=beda7adaebb3462797c8f090ec604c2974f15a1559fff2fb4cfff2607cb0180f
+
+_clients="gtk3,sdl2"
+subpackages="freeciv-gtk2 freeciv-gtk3 freeciv-sdl"
+if [ -z "$CROSS_BUILD" ]; then
+	_clients+=",qt"
+	makedepends+=" qt5-devel"
+	subpackages+=" freeciv-qt5"
+fi
+configure_args+=" --enable-client=${_clients}"
+
+post_install() {
+	rm ${DESTDIR}/usr/lib/*.a
+}
+
+freeciv-gtk2_package() {
+	build_style=meta
+	short_desc="Freeciv GTK+3 client (transitional dummy package)"
+	depends="freeciv-gtk3>=${version}_${revision}"
+}
+freeciv-gtk3_package() {
+	short_desc="Free and Open Source empire-building strategy game - GTK+3 client"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove "usr/bin/*gtk3*"
+		vmove "usr/share/metainfo/*gtk3*"
+		vmove "usr/share/man/man6/*gtk3*"
+		vmove "usr/share/applications/*gtk3*"
+	}
+}
+freeciv-qt5_package() {
+	short_desc="Free and Open Source empire-building strategy game - Qt5 client"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove "usr/bin/*qt*"
+		vmove "usr/share/metainfo/*qt*"
+		vmove "usr/share/man/man6/*qt*"
+		vmove "usr/share/applications/*qt*"
+	}
+}
+freeciv-sdl_package() {
+	short_desc="Free and Open Source empire-building strategy game - SDL2 client"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove "usr/bin/*sdl*"
+		vmove "usr/share/metainfo/*sdl*"
+		vmove "usr/share/man/man6/*sdl*"
+		vmove "usr/share/applications/*sdl*"
+	}
+}

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

end of thread, other threads:[~2022-04-20 15:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-20  5:23 [PR PATCH] Update Freeciv to 3.0.1 iamacatnotaperson
2022-04-20  5:26 ` abenson
2022-04-20  5:48 ` [PR PATCH] [Updated] " iamacatnotaperson
2022-04-20 15:08 ` iamacatnotaperson
2022-04-20 15:13 ` paper42
2022-04-20 15:57 ` [PR PATCH] [Updated] " iamacatnotaperson
2022-04-20 15:58 ` [PR PATCH] [Closed]: " iamacatnotaperson

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