Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: gamemode-1.6
@ 2022-04-07 21:15 kedodrill
  2022-04-07 21:20 ` RicArch97
                   ` (22 more replies)
  0 siblings, 23 replies; 24+ messages in thread
From: kedodrill @ 2022-04-07 21:15 UTC (permalink / raw)
  To: ml

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

There is a new 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
<!-- 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: 3529 bytes --]

From 0367d114adefc4b28912401614a393fa7b29874b 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

---
 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..fbb1d7f48a6a 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
+libgamemodeauto.so.0 libgamemode-1.6_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..736870541ef5
--- /dev/null
+++ b/srcpkgs/gamemode/template
@@ -0,0 +1,39 @@
+# Template file for 'gamemode'
+pkgname=gamemode
+version=1.6
+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=fda4abbae12639e0f326b2116d19302f83aad6139996c3823882e7f238e9852b
+
+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

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

end of thread, other threads:[~2022-04-11  9:00 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [PR PATCH] [Updated] " kedodrill
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

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