From: "Petrus Zhao" <petrus.zy.07@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-kernel/xow/
Date: Wed, 27 May 2020 08:20:43 +0000 (UTC) [thread overview]
Message-ID: <1590567632.9a289e25a8c559cbec947a87b3d13c1c5117738d.PetrusZhao@gentoo> (raw)
commit: 9a289e25a8c559cbec947a87b3d13c1c5117738d
Author: Petrus Zhao <petrus.zy.07 <AT> gmail <DOT> com>
AuthorDate: Wed May 27 08:20:32 2020 +0000
Commit: Petrus Zhao <petrus.zy.07 <AT> gmail <DOT> com>
CommitDate: Wed May 27 08:20:32 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9a289e25
sys-kernel/xow: fix broken ebuild
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Petrus Zhao <petrus.zy.07 <AT> gmail.com>
sys-kernel/xow/Manifest | 3 ++-
sys-kernel/xow/xow-0.4.ebuild | 14 ++++++++++++--
2 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/sys-kernel/xow/Manifest b/sys-kernel/xow/Manifest
index 85a80b0..09ea85e 100644
--- a/sys-kernel/xow/Manifest
+++ b/sys-kernel/xow/Manifest
@@ -1 +1,2 @@
-DIST xow-0.4.tar.gz 902531 BLAKE2B 6f4e0b77241021c8d38a6f52be3d2bb681e17f5e4e642df2fffec189e955c73fc45a2b8dfb1d66af125aa69781cd9770403b3552aa66d8d63befd4f3b34827b4 SHA512 bb601a09f9b33561ba9e9bbf6bbf867a19c0023d696c75301cee115a8548edc697ad61fea5f608927024a38e0f3573116f8350104d70bf488c06bec62c75fce9
+DIST xow-0.4.tar.gz 862021 BLAKE2B 129999689e014ebeaa1f1eabc1a83743d7513d02b356d0a274202e104b0ac12621d06cb628043eac2ea779e7140166297030278d400d1b0090e953324634cb46 SHA512 2878a837de80b857b5b8be0f86804d9d7274277ea643d8f5327b90b24177815245bc283311c43b013c69afadb0892b75eb8730bf73e26e7b7d5c77d51ca3725c
+DIST xow-firmware.cab 199891 BLAKE2B f531a9f4b8220ee4501431b308ee6e29a8dea26467020df25b7fa22228543cc560e1170d13b1cb3490c64c48bf610e3fb7ddfb743e4a2028f5980e02d0c36790 SHA512 0906debd6c1f4706348ec1b1cbf233ea2c45bbc0b8882593740964036808722f5bb701f43da803320609e02072cd16dada572d337fd4c05cc1cf6dde6fd38908
diff --git a/sys-kernel/xow/xow-0.4.ebuild b/sys-kernel/xow/xow-0.4.ebuild
index a4797ad..dc95570 100644
--- a/sys-kernel/xow/xow-0.4.ebuild
+++ b/sys-kernel/xow/xow-0.4.ebuild
@@ -5,7 +5,8 @@ EAPI=7
DESCRIPTION="Linux driver for the Xbox One wireless dongle"
HOMEPAGE="https://github.com/medusalix/xow"
-SRC_URI="https://github.com/medusalix/xow/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/medusalix/xow/archive/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 -> xow-firmware.cab"
LICENSE="GPL-2"
SLOT="0"
@@ -14,7 +15,16 @@ IUSE=""
DEPEND="virtual/libusb:1"
RDEPEND="${DEPEND}"
-BDEPEND=""
+BDEPEND="app-arch/cabextract"
+
+QA_EXECSTACK="bin/xow"
+
+src_prepare() {
+ cp "${DISTDIR}"/xow-firmware.cab "${S}"/driver.cab
+ sed -i '/curl/d' "${S}"/Makefile || die
+
+ default
+}
src_compile() {
emake BUILD=RELEASE
next reply other threads:[~2020-05-27 8:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-27 8:20 Petrus Zhao [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-06-05 3:44 [gentoo-commits] repo/proj/guru:dev commit in: sys-kernel/xow/ Petrus Zhao
2020-05-25 15:48 Petrus Zhao
2020-05-25 15:41 Petrus Zhao
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=1590567632.9a289e25a8c559cbec947a87b3d13c1c5117738d.PetrusZhao@gentoo \
--to=petrus.zy.07@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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