Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: xone-0.3
@ 2022-10-12  6:54 xolophreny
  2022-10-12  7:02 ` [PR REVIEW] " classabbyamp
                   ` (28 more replies)
  0 siblings, 29 replies; 30+ messages in thread
From: xolophreny @ 2022-10-12  6:54 UTC (permalink / raw)
  To: ml

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

There is a new pull request by xolophreny against master on the void-packages repository

https://github.com/xolophreny/void-packages xone
https://github.com/void-linux/void-packages/pull/39907

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

#### 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


`curl` and `cabextract` depends are used by `xone-update-firmware`

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

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

From f880575aa8a8759a17d9e5f7d2e10a7f5cb61646 Mon Sep 17 00:00:00 2001
From: xolophreny <xolophreny@protonmail.ch>
Date: Wed, 12 Oct 2022 11:33:54 +0500
Subject: [PATCH] New package: xone-0.3

---
 srcpkgs/xone/INSTALL.msg |  2 ++
 srcpkgs/xone/template    | 23 +++++++++++++++++++++++
 2 files changed, 25 insertions(+)
 create mode 100644 srcpkgs/xone/INSTALL.msg
 create mode 100644 srcpkgs/xone/template

diff --git a/srcpkgs/xone/INSTALL.msg b/srcpkgs/xone/INSTALL.msg
new file mode 100644
index 000000000000..24c2f6a6cd5a
--- /dev/null
+++ b/srcpkgs/xone/INSTALL.msg
@@ -0,0 +1,2 @@
+Use the included 'xone-update-firmware' script
+to update wireless dongle firmware
diff --git a/srcpkgs/xone/template b/srcpkgs/xone/template
new file mode 100644
index 000000000000..52c4c381e1a0
--- /dev/null
+++ b/srcpkgs/xone/template
@@ -0,0 +1,23 @@
+# Template file for 'xone'
+pkgname=xone
+version=0.3
+revision=1
+hostmakedepends="tar"
+depends="curl cabextract"
+short_desc="Modern Linux driver for Xbox One and Xbox Series X|S controllers"
+maintainer="xolophreny <xolophreny@protonmail.ch>"
+license="GPL-2.0-only"
+homepage="https://github.com/medusalix/xone"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=993f6b2b07c3236ce283d5de4da47dbfc16a86e056af504a4958d87f718ece20
+
+dkms_modules="${pkgname} ${version}"
+
+do_install() {
+	vinstall install/modprobe.conf 644 /usr/lib/modprobe.d xone.conf
+	vbin install/firmware.sh xone-update-firmware
+	find . -type f \( -name dkms.conf -o -name '*.c' \) -exec sed -i "s/#VERSION#/$version/" {} +
+	echo 'ccflags-y += -DDEBUG' >> ./Kbuild
+	vmkdir /usr/src/${pkgname}-${version}
+	vcopy . /usr/src/${pkgname}-${version}
+}

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

end of thread, other threads:[~2023-06-24 13:38 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-12  6:54 [PR PATCH] New package: xone-0.3 xolophreny
2022-10-12  7:02 ` [PR REVIEW] " classabbyamp
2022-10-12  7:02 ` classabbyamp
2022-10-12  7:02 ` classabbyamp
2022-10-12  7:33 ` xolophreny
2022-10-12  7:35 ` xolophreny
2022-10-12  7:36 ` xolophreny
2022-10-12  7:42 ` classabbyamp
2022-10-12  7:43 ` classabbyamp
2022-10-12  7:44 ` classabbyamp
2022-10-12  7:49 ` [PR PATCH] [Updated] " xolophreny
2022-10-12  8:01 ` xolophreny
2022-10-12 11:25 ` xolophreny
2022-10-12 17:20 ` [PR REVIEW] " classabbyamp
2022-10-13  3:27 ` [PR PATCH] [Updated] " xolophreny
2022-10-13  3:28 ` [PR REVIEW] " xolophreny
2022-10-13  3:29 ` xolophreny
2022-10-13  3:29 ` classabbyamp
2022-10-18 10:16 ` [PR PATCH] [Updated] " xolophreny
2022-10-18 10:23 ` xolophreny
2022-10-20 10:19 ` [PR REVIEW] " sgn
2022-10-20 10:20 ` sgn
2022-10-20 14:23 ` xolophreny
2022-10-21  8:02 ` [PR PATCH] [Updated] " xolophreny
2023-01-20  2:01 ` github-actions
2023-01-20  5:37 ` xolophreny
2023-01-20  7:07 ` [PR PATCH] [Updated] " xolophreny
2023-04-22  1:53 ` github-actions
2023-04-22 17:11 ` xolophreny
2023-06-24 13:38 ` [PR PATCH] [Merged]: " 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).