Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: xpadneo-dkms-0.8.3
@ 2020-10-23 20:28 CRKatri
  2020-10-23 21:59 ` [PR PATCH] [Updated] " CRKatri
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: CRKatri @ 2020-10-23 20:28 UTC (permalink / raw)
  To: ml

[-- 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}
+}

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

end of thread, other threads:[~2022-08-21  2:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-23 20:28 [PR PATCH] New package: xpadneo-dkms-0.8.3 CRKatri
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

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