This repository has been archived by the owner on Sep 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linux-elan1200-touchpad: add latest 20180220 version (mishurov/linux_…
- Loading branch information
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
EBUILD linux-elan1200-touchpad-20171129.ebuild 1016 SHA256 a5294cd3f80bdcfca72a446d0e99ca8f0358a09943032dec75c3336e240a7590 SHA512 0925a589324aa9797afac8761e97f124149fc3738a99b73ad21b1fba276b71d37cd601539492006b775098d3e681ba9a2732da63bb55e5689324d63b5700d414 WHIRLPOOL 5a40dc0c0fd46d3629897f1c26a3d65de08dc338de89893bfa564b2be044463fd8ebf4b83dcb2c2e91de5005483703d8032cdf24ed1dd618900a8c5acf5076fa | ||
EBUILD linux-elan1200-touchpad-20180220.ebuild 1016 SHA256 16a711e0bc23f8cf3e3e7c3bf4b6c45321cdef1148538466ba9aa9e510240485 SHA512 5b0f3667f9e2d7fda44d58ccd5273f65dd3f5067afef98d8be08022dfc0105e4f36d2039abc7faf1432654d8a52a5e278b4a821138c8b38aadcc14b9c327fe10 WHIRLPOOL e689b97800ac694742b83bb2d1d2bf9afd78be379e8b5fd5c6bd380a7e16a549cf206b2f585fec02de6ea01c68d41b23cb69b459be79c7231b7af9dca8be2ce5 | ||
EBUILD linux-elan1200-touchpad-99999999.ebuild 1016 SHA256 a5294cd3f80bdcfca72a446d0e99ca8f0358a09943032dec75c3336e240a7590 SHA512 0925a589324aa9797afac8761e97f124149fc3738a99b73ad21b1fba276b71d37cd601539492006b775098d3e681ba9a2732da63bb55e5689324d63b5700d414 WHIRLPOOL 5a40dc0c0fd46d3629897f1c26a3d65de08dc338de89893bfa564b2be044463fd8ebf4b83dcb2c2e91de5005483703d8032cdf24ed1dd618900a8c5acf5076fa | ||
MISC metadata.xml 250 SHA256 b13ed79c38b3f407222b65355b1aa005f7646391eb2d2a79a95067ea8821e7d8 SHA512 9fe7eab542aaca9f9ce755836d10e228acafc035e573d58a52365b4e013508a243f292cae31acc0c8421edf907580f3fddb44bde39cba7f2f13f23c845a97e62 WHIRLPOOL a07a9e6d93d5fb3be17049c6df971964e2833cb27a5e8a0538d2b92b6f5d3606e7096469915ea2e84ee91d0295e6516baaf4fd1f9492afbf37fd2f7b18ae9f83 |
47 changes: 47 additions & 0 deletions
47
sys-kernel/linux-elan1200-touchpad/linux-elan1200-touchpad-20180220.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Copyright 1999-2018 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 | ||
|
||
inherit git-r3 linux-mod versionator | ||
|
||
DESCRIPTION="A Linux driver for ELAN1200 touchpad" | ||
HOMEPAGE="https://github.com/mishurov/linux_elan1200_touchpad" | ||
SRC_URI="" | ||
|
||
EGIT_REPO_URI="https://github.com/mishurov/linux_elan1200_touchpad" | ||
if [[ ${PV} != *9999 ]]; then | ||
EGIT_COMMIT="c5345109d508c859fd40eef6614a89788f498666" | ||
KEYWORDS="~amd64 ~x86" | ||
fi | ||
|
||
LICENSE="GPL-2" | ||
SLOT="0" | ||
IUSE="kernel_linux" | ||
|
||
pkg_setup() { | ||
if use kernel_linux; then | ||
MODULE_NAMES="hid-elan(misc:${S}:${S})" | ||
BUILD_TARGETS="all" | ||
BUILD_PARAMS="-j1" | ||
|
||
linux-mod_pkg_setup | ||
else | ||
die "Could not determine proper ${PN} package" | ||
fi | ||
} | ||
|
||
src_install() { | ||
use kernel_linux && linux-mod_src_install | ||
dodoc README.md | ||
} | ||
|
||
pkg_postinst() { | ||
use kernel_linux && linux-mod_pkg_postinst | ||
|
||
if version_is_at_least "${KV_FULL}" "4.11"; then | ||
ewarn | ||
ewarn "Probably this module will not work with the current \"${KV_FULL}\" kernel" | ||
ewarn | ||
fi | ||
} |