* [PR PATCH] New package: caph-1.1
@ 2023-04-03 9:20 Eloitor
2023-06-27 12:25 ` [PR PATCH] [Closed]: " Duncaen
0 siblings, 1 reply; 2+ messages in thread
From: Eloitor @ 2023-04-03 9:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 845 bytes --]
There is a new pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages caph
https://github.com/void-linux/void-packages/pull/43234
New package: caph-1.1
#### 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**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
Compilation with OpenGL is optional: "If you do not want compile Caph with OpenGL comment out appropriate line in
'confg' script." I don't know whether we want to compile with OpenGL or not.
A patch file from https://github.com/void-linux/void-packages/pull/43234.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-caph-43234.patch --]
[-- Type: text/x-diff, Size: 1750 bytes --]
From 33473b69385a8758385377d4f8ea68319414dbdd Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Sat, 1 Apr 2023 22:06:10 +0200
Subject: [PATCH] New package: caph-1.1
---
srcpkgs/caph/files/caph.desktop | 8 ++++++++
srcpkgs/caph/template | 26 ++++++++++++++++++++++++++
2 files changed, 34 insertions(+)
create mode 100644 srcpkgs/caph/files/caph.desktop
create mode 100644 srcpkgs/caph/template
diff --git a/srcpkgs/caph/files/caph.desktop b/srcpkgs/caph/files/caph.desktop
new file mode 100644
index 000000000000..7573a3843e0f
--- /dev/null
+++ b/srcpkgs/caph/files/caph.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Name=Caph
+Comment=Drawing and physics sandbox game
+Comment[ca]=Trencaclosques de dibuix i física
+Exec=caph
+Icon=caph.png
+Categories=Game;LogicGame;
diff --git a/srcpkgs/caph/template b/srcpkgs/caph/template
new file mode 100644
index 000000000000..43b0580a0d59
--- /dev/null
+++ b/srcpkgs/caph/template
@@ -0,0 +1,26 @@
+# Template file for 'caph'
+pkgname=caph
+version=1.1
+revision=1
+hostmakedepends="which"
+makedepends="SDL-devel libpng-devel"
+short_desc="Drawing and physics sandbox game"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://caphgame.sourceforge.net/"
+distfiles="https://sourceforge.net/projects/caphgame/files/caph/caphgame-${version}/caph-${version}.tar.bz2"
+checksum=6415970e7d32aefc6da2740f931052be8741d3f6663910a36962400b7b9a7ae8
+
+do_build() {
+ cd src
+ ./confg
+ ./build
+}
+
+do_install() {
+ vbin bin/caph
+ vmkdir usr/share/caph
+ vcopy share/caph usr/share
+ vinstall share/caph/brush.png 644 usr/share/pixmaps caph.png
+ vinstall ${FILESDIR}/caph.desktop 644 usr/share/applications
+}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Closed]: New package: caph-1.1
2023-04-03 9:20 [PR PATCH] New package: caph-1.1 Eloitor
@ 2023-06-27 12:25 ` Duncaen
0 siblings, 0 replies; 2+ messages in thread
From: Duncaen @ 2023-06-27 12:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 697 bytes --]
There's a closed pull request on the void-packages repository
New package: caph-1.1
https://github.com/void-linux/void-packages/pull/43234
Description:
#### 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**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
Compilation with OpenGL is optional: "If you do not want compile Caph with OpenGL comment out appropriate line in
'confg' script." I don't know whether we want to compile with OpenGL or not.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-27 12:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-03 9:20 [PR PATCH] New package: caph-1.1 Eloitor
2023-06-27 12:25 ` [PR PATCH] [Closed]: " Duncaen
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).