Compare commits

...

2 Commits

Author SHA1 Message Date
Parona
a6964fb043 Merge branch 'xone' into 'master'
games-util/xone: add 0.3, drop 0.2

See merge request src_prepare/src_prepare-overlay!280
2022-06-20 21:17:04 +00:00
Max Luebke
1c09b81f0c games-util/xone: add 0.3, drop 0.2
Signed-off-by: Max Luebke <mluebke@gfz-potsdam.de>
2022-06-20 22:29:31 +02:00
2 changed files with 9 additions and 6 deletions

View File

@ -1,2 +1,2 @@
DIST xone-0.2-driver.cab 199891 BLAKE2B f531a9f4b8220ee4501431b308ee6e29a8dea26467020df25b7fa22228543cc560e1170d13b1cb3490c64c48bf610e3fb7ddfb743e4a2028f5980e02d0c36790 SHA512 0906debd6c1f4706348ec1b1cbf233ea2c45bbc0b8882593740964036808722f5bb701f43da803320609e02072cd16dada572d337fd4c05cc1cf6dde6fd38908 DIST xone-0.3.tar.gz 50561 BLAKE2B d5ca9849923e1b0532417a8983c429c2d8314c1122a4d89d6ab613b2d14b6cf9ce6d22879b83f41df1c34d4f87f3a4c74e610b54060d52a8e57db4c9b65b0edc SHA512 14177661de9b7530298773c230d178d444f51fe15c8a5329855cabdf88e11f205ef8dd4d7e49a201950c4db27d84ae32919fc8c35820aefe16e5c6f3d84533d3
DIST xone-0.2.tar.gz 49684 BLAKE2B 9b197d3867d66331d619ee705a286f3374fe3314800ea6df060ee4458e4c1d71e37bd14ffa36ff7083702c3b6093ec928725c26d23b8713a4f213e80ae3f73db SHA512 63b31063e4a5b74f37e0ac09e5aed0d292d9d433b56e90e0449cd2e0371ae60206e87aeacb57e1c033302296c9989876cc2e66cdbe90a8bd80ff2780397b1520 DIST xone-driver-201707-1cd6a87c-623f-4407-a52d-c31be49e925c_e19f60808bdcbfbd3c3df6be3e71ffc52e43261e.cab 199891 BLAKE2B f531a9f4b8220ee4501431b308ee6e29a8dea26467020df25b7fa22228543cc560e1170d13b1cb3490c64c48bf610e3fb7ddfb743e4a2028f5980e02d0c36790 SHA512 0906debd6c1f4706348ec1b1cbf233ea2c45bbc0b8882593740964036808722f5bb701f43da803320609e02072cd16dada572d337fd4c05cc1cf6dde6fd38908

View File

@ -9,8 +9,9 @@ DESCRIPTION="Linux kernel driver for Xbox One and Xbox Series X|S accessories"
HOMEPAGE="https://github.com/medusalix/xone" HOMEPAGE="https://github.com/medusalix/xone"
XONE_DRIVER_VERSION="201707-1cd6a87c-623f-4407-a52d-c31be49e925c_e19f60808bdcbfbd3c3df6be3e71ffc52e43261e"
SRC_URI="https://github.com/medusalix/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz SRC_URI="https://github.com/medusalix/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
http://download.windowsupdate.com/c/msdownload/update/driver/drvs/2017/07/1cd6a87c-623f-4407-a52d-c31be49e925c_e19f60808bdcbfbd3c3df6be3e71ffc52e43261e.cab -> ${P}-driver.cab" http://download.windowsupdate.com/c/msdownload/update/driver/drvs/${XONE_DRIVER_VERSION:0:4}/${XONE_DRIVER_VERSION:4:2}/${XONE_DRIVER_VERSION:7}.cab -> ${PN}-driver-${XONE_DRIVER_VERSION}.cab"
LICENSE="GPL-2 MS-TOU" LICENSE="GPL-2 MS-TOU"
@ -23,21 +24,23 @@ KEYWORDS="~amd64"
MODULE_NAMES=" MODULE_NAMES="
xone-wired(kernel/drivers/input/joystick) xone-wired(kernel/drivers/input/joystick)
xone-dongle(kernel/drivers/input/joystick) xone-dongle(kernel/drivers/input/joystick)
xone-gip-bus(kernel/drivers/input/joystick) xone-gip(kernel/drivers/input/joystick)
xone-gip-common(kernel/drivers/input/joystick)
xone-gip-gamepad(kernel/drivers/input/joystick) xone-gip-gamepad(kernel/drivers/input/joystick)
xone-gip-headset(kernel/drivers/input/joystick) xone-gip-headset(kernel/drivers/input/joystick)
xone-gip-chatpad(kernel/drivers/input/joystick) xone-gip-chatpad(kernel/drivers/input/joystick)
xone-gip-guitar(kernel/drivers/input/joystick)
" "
BUILD_TARGETS="module" BUILD_TARGETS="module"
BUILD_PARAMS="KERNEL_DIR=${KERNEL_DIR}" BUILD_PARAMS="KERNEL_DIR=${KERNEL_DIR}"
BDEPEND="app-arch/cabextract" BDEPEND="app-arch/cabextract"
CONFIG_CHECK="SND CFG80211 INPUT_FF_MEMLESS USB POWER_SUPPLY LEDS_CLASS HID"
src_unpack() { src_unpack() {
unpack ${P}.tar.gz unpack ${P}.tar.gz
cabextract -F FW_ACC_00U.bin -d "${S}" "${DISTDIR}/${P}-driver.cab" > /dev/null \ cabextract -F FW_ACC_00U.bin -d "${S}" "${DISTDIR}/${PN}-driver-${XONE_DRIVER_VERSION}.cab" > /dev/null \
|| die "Failed to unpack driver" || die "Failed to unpack driver"
} }