From: xolophreny <xolophreny@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: xone-0.3
Date: Wed, 12 Oct 2022 10:01:59 +0200 [thread overview]
Message-ID: <20221012080159.LxviQx9An-gbIzF8XL3s8dmUc7c6-4pbtYJuCnZ9kPE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39907@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 812 bytes --]
There is an updated 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: 1798 bytes --]
From c8da8e24317863e3e5a3fe3870109f1e4a6132ba 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/files/README.voidlinux | 2 ++
srcpkgs/xone/template | 23 +++++++++++++++++++++++
2 files changed, 25 insertions(+)
create mode 100644 srcpkgs/xone/files/README.voidlinux
create mode 100644 srcpkgs/xone/template
diff --git a/srcpkgs/xone/files/README.voidlinux b/srcpkgs/xone/files/README.voidlinux
new file mode 100644
index 000000000000..24c2f6a6cd5a
--- /dev/null
+++ b/srcpkgs/xone/files/README.voidlinux
@@ -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..3454eecf72de
--- /dev/null
+++ b/srcpkgs/xone/template
@@ -0,0 +1,23 @@
+# Template file for 'xone'
+pkgname=xone
+version=0.3
+revision=1
+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="https://github.com/medusalix/xone/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}
+ vdoc "${FILESDIR}/README.voidlinux"
+}
next prev parent reply other threads:[~2022-10-12 8:01 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-12 6:54 [PR PATCH] " 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 [this message]
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
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=20221012080159.LxviQx9An-gbIzF8XL3s8dmUc7c6-4pbtYJuCnZ9kPE@z \
--to=xolophreny@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).