From: CRKatri <CRKatri@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: xpadneo-dkms-0.8.3
Date: Fri, 23 Oct 2020 22:28:07 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25830@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 316 bytes --]
There is a new pull request by CRKatri against master on the void-packages repository
https://github.com/CRKatri/void-packages xpadneo
https://github.com/void-linux/void-packages/pull/25830
New package: xpadneo-dkms-0.8.3
A patch file from https://github.com/void-linux/void-packages/pull/25830.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-xpadneo-25830.patch --]
[-- Type: text/x-diff, Size: 1596 bytes --]
From 19ba1d83fec3943756c72442f8f4ca8249140a42 Mon Sep 17 00:00:00 2001
From: Cameron Katri <katri.cameron@gmail.com>
Date: Fri, 23 Oct 2020 16:23:19 -0400
Subject: [PATCH] New package: xpadneo-dkms-0.8.3
---
srcpkgs/xpadneo-dkms/template | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 srcpkgs/xpadneo-dkms/template
diff --git a/srcpkgs/xpadneo-dkms/template b/srcpkgs/xpadneo-dkms/template
new file mode 100644
index 00000000000..980d3ec07a2
--- /dev/null
+++ b/srcpkgs/xpadneo-dkms/template
@@ -0,0 +1,30 @@
+# Template file for 'xpadneo-dkms'
+pkgname=xpadneo-dkms
+version=0.8.3
+revision=1
+_commit=8d0de8129654e3110aff139f342e15d70ffdad2f
+wrksrc=xpadneo-dkms-${version}
+makedepends="git"
+depends="dkms bluez"
+short_desc="Advanced Linux Driver for Xbox One Wireless Gamepad"
+maintainer="Cameron Katri <katri.cameron@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/atar-axis/xpadneo"
+dkms_modules="hid-xpadneo ${version}"
+
+do_fetch() {
+ git clone https://github.com/atar-axis/xpadneo.git ${wrksrc}
+ cd ${wrksrc}
+ git reset --hard ${_commit}
+}
+
+pre_configure() {
+ sed -i 's/PACKAGE_VERSION="@DO_NOT_CHANGE@"/PACKAGE_VERSION="'"${version}"'"/g' hid-xpadneo/dkms.conf
+ sed -i 's/#define DRV_VER "@DO_NOT_CHANGE@"/#define DRV_VER "'"${version}"'"/g' hid-xpadneo/src/hid-xpadneo.c
+ sed -i 's@/etc/udev/rules.d@/usr/lib/udev/rules.d@g' hid-xpadneo/dkms.post_install hid-xpadneo/dkms.post_remove
+}
+
+do_install() {
+ vmkdir usr/src/hid-xpadneo-${version}
+ vcopy "hid-xpadneo/*" usr/src/hid-xpadneo-${version}
+}
next reply other threads:[~2020-10-23 20:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-23 20:28 CRKatri [this message]
2020-10-23 21:59 ` [PR PATCH] [Updated] " CRKatri
2020-10-23 22:00 ` CRKatri
2020-10-23 22:09 ` CRKatri
2020-10-24 0:13 ` CRKatri
2021-02-10 1:35 ` karl-nilsson
2022-04-21 2:12 ` github-actions
2022-05-03 14:00 ` karl-nilsson
2022-05-03 14:01 ` CRKatri
2022-08-07 2:13 ` github-actions
2022-08-21 2:16 ` [PR PATCH] [Closed]: " github-actions
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25830@inbox.vuxu.org \
--to=crkatri@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).