Github messages for voidlinux
 help / color / mirror / Atom feed
From: kedodrill <kedodrill@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: gamemode-1.6.1
Date: Fri, 08 Apr 2022 00:08:04 +0200	[thread overview]
Message-ID: <20220407220804.H80Y5wvFqOFjLsv20Atv3Km79Rmfw4zDoDgUWI58y1I@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36564@inbox.vuxu.org>

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

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

https://github.com/kedodrill/void-packages gamemode
https://github.com/void-linux/void-packages/pull/36564

New package: gamemode-1.6.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

Closes #19288, #22291, #19281, #13246

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): Yes

<!-- 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
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - i686
  - x86_64-musl


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

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

From 20ab4341ff4d96a620da037f8e751a9b9ce8a7c0 Mon Sep 17 00:00:00 2001
From: toluschr <toluschr@protonmail.com>
Date: Mon, 25 May 2020 19:49:29 +0200
Subject: [PATCH] New package: gamemode-1.6.1

---
 common/shlibs                               |  2 ++
 srcpkgs/gamemode/patches/001-fix-musl.patch | 10 ++++++
 srcpkgs/gamemode/template                   | 39 +++++++++++++++++++++
 srcpkgs/libgamemode                         |  1 +
 srcpkgs/libgamemode-devel                   |  1 +
 5 files changed, 53 insertions(+)
 create mode 100644 srcpkgs/gamemode/patches/001-fix-musl.patch
 create mode 100644 srcpkgs/gamemode/template
 create mode 120000 srcpkgs/libgamemode
 create mode 120000 srcpkgs/libgamemode-devel

diff --git a/common/shlibs b/common/shlibs
index 848b488bb2d0..673c62085f5b 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3597,6 +3597,8 @@ libgnuradio-nrsc5-1.0.0git.so.0.0.0 gnuradio-nrsc5-1.0.0_1
 libvkd3d-utils.so.1 vkd3d-1.1_1
 libvkd3d-shader.so.1 vkd3d-1.3_1
 libvkd3d.so.1 vkd3d-1.1_1
+libgamemode.so.0 libgamemode-1.6.1_1
+libgamemodeauto.so.0 libgamemode-1.6.1_1
 libgaminggear.so.0 libgaminggear-0.15.1_1
 libgaminggearfx.so.0 libgaminggear-0.15.1_1
 libgaminggearwidget.so.0 libgaminggear-0.15.1_1
diff --git a/srcpkgs/gamemode/patches/001-fix-musl.patch b/srcpkgs/gamemode/patches/001-fix-musl.patch
new file mode 100644
index 000000000000..c54c0bad41fe
--- /dev/null
+++ b/srcpkgs/gamemode/patches/001-fix-musl.patch
@@ -0,0 +1,10 @@
+--- a/daemon/gamemode-context.c
++++ b/daemon/gamemode-context.c
+@@ -50,6 +50,7 @@ POSSIBILITY OF SUCH DAMAGE.
+ #include <sys/time.h>
+ #include <systemd/sd-daemon.h> /* TODO: Move usage to gamemode-dbus.c */
+ #include <unistd.h>
++#include <signal.h>
+ 
+ /**
+  * The GameModeClient encapsulates the remote connection, providing a list
diff --git a/srcpkgs/gamemode/template b/srcpkgs/gamemode/template
new file mode 100644
index 000000000000..0bf9bea530ec
--- /dev/null
+++ b/srcpkgs/gamemode/template
@@ -0,0 +1,39 @@
+# Template file for 'gamemode'
+pkgname=gamemode
+version=1.6.1
+revision=1
+build_style=meson
+configure_args="-Dwith-sd-bus-provider=elogind"
+hostmakedepends="pkg-config"
+makedepends="inih-devel dbus-devel elogind-devel"
+depends="lib${pkgname}>=${version}_${revision}"
+short_desc="Optimise Linux system performance on demand"
+maintainer="Kenneth Dodrill <hello@kennydodrill.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/FeralInteractive/gamemode"
+distfiles="https://github.com/FeralInteractive/gamemode/archive/${version}.tar.gz"
+checksum=4377b88b5147ebf8d3f9a7a1f94c6d00f1e9624cd171d5af942ce9766be3747f
+
+post_install() {
+	vsconf example/gamemode.ini
+	vlicense LICENSE.txt
+	vdoc README.md
+}
+
+libgamemode_package() {
+	short_desc+=" - shared libraries"
+	pkg_install() {
+		# For compatibility reasons, all shlibs should go in libgamemode
+		vmove "usr/lib/*.so*"
+	}
+}
+
+libgamemode-devel_package() {
+	short_desc+=" - development files"
+	depends="lib${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove usr/include
+	}
+}
diff --git a/srcpkgs/libgamemode b/srcpkgs/libgamemode
new file mode 120000
index 000000000000..d1810c733eb8
--- /dev/null
+++ b/srcpkgs/libgamemode
@@ -0,0 +1 @@
+gamemode
\ No newline at end of file
diff --git a/srcpkgs/libgamemode-devel b/srcpkgs/libgamemode-devel
new file mode 120000
index 000000000000..d1810c733eb8
--- /dev/null
+++ b/srcpkgs/libgamemode-devel
@@ -0,0 +1 @@
+gamemode
\ No newline at end of file

  parent reply	other threads:[~2022-04-07 22:08 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-07 21:15 [PR PATCH] New package: gamemode-1.6 kedodrill
2022-04-07 21:20 ` RicArch97
2022-04-07 21:28 ` [PR PATCH] [Updated] " kedodrill
2022-04-07 21:37 ` [PR REVIEW] New package: gamemode-1.6.1 RicArch97
2022-04-07 22:06 ` kedodrill
2022-04-07 22:08 ` kedodrill [this message]
2022-04-08 14:59 ` frankfutlg
2022-04-08 15:19 ` RicArch97
2022-04-08 16:20 ` frankfutlg
2022-04-08 18:30 ` kedodrill
2022-04-08 18:33 ` kedodrill
2022-04-08 19:42 ` RicArch97
2022-04-09 10:15 ` [PR PATCH] [Merged]: " paper42
2022-04-10  1:46 ` frankfutlg
2022-04-10  1:46 ` frankfutlg
2022-04-10  2:41 ` RicArch97
2022-04-10  3:31 ` frankfutlg
2022-04-10  3:32 ` frankfutlg
2022-04-10  5:53 ` MCPEngu
2022-04-10 10:07 ` MCPEngu
2022-04-10 10:08 ` MCPEngu
2022-04-11  1:14 ` frankfutlg
2022-04-11  1:19 ` frankfutlg
2022-04-11  8:59 ` MCPEngu

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=20220407220804.H80Y5wvFqOFjLsv20Atv3Km79Rmfw4zDoDgUWI58y1I@z \
    --to=kedodrill@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).