mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
games-util/hid-nintendo: prepare for non-live ebuild
Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
This commit is contained in:
1 parent
2671cd0d43
commit
48fe001000
1 file changed
+11
-1
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit git-r3 linux-mod-r1
|
||||
inherit linux-mod-r1
|
||||
|
||||
DESCRIPTION="A Nintendo HID kernel module"
|
||||
HOMEPAGE="https://github.com/nicman23/dkms-hid-nintendo https://github.com/DanielOgorchock/linux"
|
||||
@@ -12,6 +12,16 @@ EGIT_REPO_URI="https://github.com/nicman23/dkms-hid-nintendo"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/nicman23/dkms-hid-nintendo"
|
||||
else
|
||||
MY_COMMIT=""
|
||||
SRC_URI="https://github.com/nicman23/dkms-hid-nintendo/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/dkms-hid-nintendo-${MY_COMMIT}"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
CONFIG_CHECK="~HID ~HID_GENERIC ~USB_HID ~HIDRAW ~UHID"
|
||||
|
||||
src_prepare() {
|
||||
|
||||
Reference in new issue
Block a user