Github messages for voidlinux
 help / color / mirror / Atom feed
From: Gottox <Gottox@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] cdogs sdl 1.3.1
Date: Thu, 06 Oct 2022 12:20:17 +0200	[thread overview]
Message-ID: <20221006102017.CzV6EyBr1F8_dZ16j6CKF8Ee6vpTjF6AaB6IojOt1gs@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39757@inbox.vuxu.org>

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

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

https://github.com/Gottox/void-packages cdogs-sdl-1.3.1
https://github.com/void-linux/void-packages/pull/39757

cdogs sdl 1.3.1
- occt
- freecad: rebuild for occt-7.6.3_1
- gmsh: rebuild for occt-7.6.3_1
- horizon: rebuild for occt-7.6.3_1
- kicad: rebuild for occt-7.6.3_1
- python3-occ: rebuild for occt-7.6.3_1
- PrusaSlicer: update to 2.5.0.
- cdogs-sdl: update to 1.3.1.


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-cdogs-sdl-1.3.1-39757.patch --]
[-- Type: text/x-diff, Size: 1610 bytes --]

From 5ab808b27e670b6e46556b0734c393a72eb41397 Mon Sep 17 00:00:00 2001
From: Enno Boland <gottox@voidlinux.org>
Date: Thu, 6 Oct 2022 12:19:29 +0200
Subject: [PATCH] cdogs-sdl: update to 1.3.1.

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

diff --git a/srcpkgs/cdogs-sdl/template b/srcpkgs/cdogs-sdl/template
index c58760d38373..dd5cb4182763 100644
--- a/srcpkgs/cdogs-sdl/template
+++ b/srcpkgs/cdogs-sdl/template
@@ -1,9 +1,12 @@
 # Template file for 'cdogs-sdl'
 pkgname=cdogs-sdl
-version=0.11.1
-revision=2
+version=1.3.1
+revision=1
 build_style=cmake
-configure_args="-DCDOGS_DATA_DIR=/usr/share/cdogs/"
+configure_args="
+ -DCMAKE_INSTALL_PREFIX=/usr/share/cdogs-sdl/
+ -DCDOGS_DATA_DIR=/usr/share/cdogs-sdl/
+"
 hostmakedepends="pkg-config python3-protobuf protobuf"
 makedepends="SDL2-devel SDL2_mixer-devel SDL2_image-devel SDL2_net-devel
  gtk+3-devel protobuf-devel"
@@ -12,7 +15,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="http://cxong.github.io/cdogs-sdl/"
 distfiles="https://github.com/cxong/cdogs-sdl/archive/${version}.tar.gz"
-checksum=9c077b363859f22e5701f9fe1a0b3cf5f9e3464cf7110942f8ad7e70e833d6b1
+checksum=3b863a092b23da8b210383831ff490a10dd6fda77b997fe2bf39cedcfa0a8937
 replaces="cdogs-sdl-data<=0.7.3"
 
 CFLAGS="-fcommon"
@@ -20,3 +23,8 @@ CFLAGS="-fcommon"
 pre_configure() {
 	vsed -i CMakeLists.txt -e "s; -Werror;;"
 }
+
+post_install() {
+	mv "$DESTDIR"/usr/share/cdogs-sdl/bin/ "$DESTDIR"/usr/bin/
+	mv "$DESTDIR"/usr/share/cdogs-sdl/share/* "$DESTDIR"/usr/share/
+}

  reply	other threads:[~2022-10-06 10:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-06 10:19 [PR PATCH] " Gottox
2022-10-06 10:20 ` Gottox [this message]
2022-10-08 21:11 ` [PR PATCH] [Closed]: cdogs-sdl-1.3.1 classabbyamp

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=20221006102017.CzV6EyBr1F8_dZ16j6CKF8Ee6vpTjF6AaB6IojOt1gs@z \
    --to=gottox@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).