From: mobinmob <mobinmob@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] 7kaa: update to 2.15.6.
Date: Wed, 04 Oct 2023 22:54:23 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46435@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1364 bytes --]
There is a new pull request by mobinmob against master on the void-packages repository
https://github.com/mobinmob/void-packages 7kaa
https://github.com/void-linux/void-packages/pull/46435
7kaa: update to 2.15.6.
Also:
- change download location (upstream change)
- add custom: to license (for the music)
- add icon and .desktop file.
<!-- 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 [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, (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/46435.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-7kaa-46435.patch --]
[-- Type: text/x-diff, Size: 4188 bytes --]
From 1f8c896532eade910663a8cd373ca4f51fa16e29 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Wed, 4 Oct 2023 23:49:03 +0300
Subject: [PATCH] 7kaa: update to 2.15.6.
Also:
- change download location (upstream change)
- add custom: to license (for the music)
- add icon and .desktop file.
---
srcpkgs/7kaa/files/7k.xpm | 48 +++++++++++++++++++++++++++++++++
srcpkgs/7kaa/files/7kaa.desktop | 10 +++++++
srcpkgs/7kaa/template | 14 ++++++----
3 files changed, 67 insertions(+), 5 deletions(-)
create mode 100644 srcpkgs/7kaa/files/7k.xpm
create mode 100755 srcpkgs/7kaa/files/7kaa.desktop
diff --git a/srcpkgs/7kaa/files/7k.xpm b/srcpkgs/7kaa/files/7k.xpm
new file mode 100644
index 0000000000000..8b1b0ea9e181e
--- /dev/null
+++ b/srcpkgs/7kaa/files/7k.xpm
@@ -0,0 +1,48 @@
+/* XPM */
+static char * 7k_xpm[] = {
+"32 32 13 1",
+" c None",
+". c #008000",
+"+ c #0000FF",
+"@ c #000080",
+"# c #FFFF00",
+"$ c #000000",
+"% c #808000",
+"& c #C0C0C0",
+"* c #FF00FF",
+"= c #FF0000",
+"- c #FFFFFF",
+"; c #800000",
+"> c #808080",
+" .+++++++++++++++++@ ",
+" .+#############$@ ",
+"++ .+##%%%%%%%%&#&$@ ",
+"+++ .+#%*****==-#$@ +++",
+"+#@+ .+##%*-==;-#&$@ +@#@",
+"+##@+++++++#%*===;-#$@++++++@#%@",
+"+###@@@@@@@##%*=;-#&$@@@@@@@##%@",
+"+##########&#%*=;-#%##########%@",
+"+##########%##%=-#&%##########%@",
+"+%%%%%%%%%%%&##-##%%%%%%%%%%%%%@",
+"+$$$$$$$$$$$$####&%$$$$$$$$$$$$@",
+"+############&###%#####$@@#####@",
+"+############%##&%###%%$@+@###%@",
+"+#%%%%%%%###&%>#>###%%$@@+@##%%@",
+"+%%$$$$$%%##%$@>@##%%$@@+@##%%$@",
+"+$$@@@@@$##&%$@@@##%%$@+@##%%$@ ",
+"+$@ +@##%$@ +@##%%$@@##%%$@ ",
+"+@ +&#&%$@ +@##%%$@##%%$@ ",
+" +@##%$@ +@##%%$##%%$@ ",
+" +&#&%$@ +@###%##%%$@ ",
+" +@##%%$@ +@######%$@ ",
+" +@#&%$@ +@######%$@ ",
+" +&#%%$@ +@####%##$@ ",
+" +@##%%$@ +@###%%%##$@ ",
+" +&#&%$@ +@##%%$%%##$@ ",
+" +@##%%$@ +@##%%$@%%##$@ ",
+" +@#&%$@ +@##%%$@@%%##$@ ",
+" +&#%%$@ +@##%%$@+@%%##$@ ",
+" +@##%%$@ +@##%%$@ +@%%##$@",
+" +&###%%$@ +@@###%%$@ +@%%##@",
+" +@#####%%$@ +@@#####%%$@ +@%%#@",
+"+@@@@@@@@@@@ +@@@@@@@@@@@ @@@@@"};
diff --git a/srcpkgs/7kaa/files/7kaa.desktop b/srcpkgs/7kaa/files/7kaa.desktop
new file mode 100755
index 0000000000000..f4b8c123a1235
--- /dev/null
+++ b/srcpkgs/7kaa/files/7kaa.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Seven Kingdoms: Ancient Adversaries
+Comment=
+Exec=/usr/bin/7kaa
+Icon=7k.xpm
+Path=
+Terminal=false
+StartupNotify=false
diff --git a/srcpkgs/7kaa/template b/srcpkgs/7kaa/template
index 801f52654c8d0..3e7b8c59d1256 100644
--- a/srcpkgs/7kaa/template
+++ b/srcpkgs/7kaa/template
@@ -1,7 +1,7 @@
# Template file for '7kaa'
pkgname=7kaa
-version=2.15.4p1
-revision=2
+version=2.15.6
+revision=1
_v_7kaa_music=${version%.*}
create_wrksrc=yes
build_wrksrc=7kaa
@@ -10,11 +10,11 @@ hostmakedepends="autoconf automake gettext-devel pkg-config tar"
makedepends="libcurl-devel libenet-devel libopenal-devel SDL2-devel"
short_desc="Seven Kingdoms: Ancient Adversaries"
maintainer="travankor <travankor@tuta.io>"
-license="GPL-2.0-or-later"
+license="GPL-2.0-or-later, custom:Seven_Kingdoms_Music_Soundtrack"
homepage="https://7kfans.com/"
-distfiles="https://github.com/the3dfxdude/7kaa/releases/download/v${version}/${pkgname}-${version}.tar.xz
+distfiles="${SOURCEFORGE_SITE}/skfans/7KAA%20${version}/7kaa-${version}.tar.gz
https://www.7kfans.com/downloads/${pkgname}-music-${_v_7kaa_music}.tar.bz2"
-checksum="f0265c077025d77b435f1c10b8ba178bdb16329e51ab735330ebaa71a104fbf8
+checksum="2c79b98dc04d79e87df7f78bcb69c1668ce72b22df0384f84b87bc550a654095
b0d767b6e25719a14f5f34a93744a8022d7bc24af66275bee54dfc788695c1c3"
replaces="7kaa-data>=0"
@@ -30,4 +30,8 @@ pre_configure() {
post_install() {
vcopy 7kaa-music/MUSIC usr/share/7kaa
vlicense 7kaa-music/COPYING-Music.txt
+ vmkdir usr/share/pixmaps
+ vinstall "${FILESDIR}"/7k.xpm 644 usr/share/pixmaps/
+ vmkdir usr/share/applications
+ vinstall "${FILESDIR}"/7kaa.desktop 644 usr/share/applications/
}
next reply other threads:[~2023-10-04 20:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-04 20:54 mobinmob [this message]
2024-01-03 1:46 ` github-actions
2024-01-14 21:08 ` mobinmob
2024-03-16 10:59 ` [PR PATCH] [Closed]: " mobinmob
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-46435@inbox.vuxu.org \
--to=mobinmob@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).