diff options
author | dakkar <dakkar@thenautilus.net> | 2019-07-05 12:17:54 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2019-07-05 12:17:54 +0100 |
commit | ab53910278f76fd9e3e3127708360a42c59fc512 (patch) | |
tree | 32c92d4cf9e5a9a87c02b33804ee6c7a7fafd203 /x11-drivers/evdi/evdi-1.6.1.ebuild | |
parent | litehtml is not ready in released versions (diff) | |
download | gentoo-overlay-ab53910278f76fd9e3e3127708360a42c59fc512.tar.gz gentoo-overlay-ab53910278f76fd9e3e3127708360a42c59fc512.tar.bz2 gentoo-overlay-ab53910278f76fd9e3e3127708360a42c59fc512.zip |
probably-working displaylink driver
upgraded from
https://git.hossie.de/projects/GEN/repos/gentoo-overlay/browse/x11-drivers/
which was inspired by
https://aur.archlinux.org/cgit/aur.git/tree/?h=displaylink
Diffstat (limited to 'x11-drivers/evdi/evdi-1.6.1.ebuild')
-rw-r--r-- | x11-drivers/evdi/evdi-1.6.1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/x11-drivers/evdi/evdi-1.6.1.ebuild b/x11-drivers/evdi/evdi-1.6.1.ebuild new file mode 100644 index 0000000..fec9b01 --- /dev/null +++ b/x11-drivers/evdi/evdi-1.6.1.ebuild @@ -0,0 +1,39 @@ +# from https://git.hossie.de/projects/GEN/repos/gentoo-overlay/browse/x11-drivers/evdi +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit linux-mod + +DESCRIPTION="Extensible Virtual Display Interface" +HOMEPAGE="https://github.com/DisplayLink/evdi" +SRC_URI="https://github.com/DisplayLink/evdi/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~x86 ~amd64" + +RDEPEND="x11-libs/libdrm" +DEPEND="${RDEPEND} + sys-kernel/linux-headers" + +MODULE_NAMES="evdi(video:${S}/module)" + +CONFIG_CHECK="~FB_VIRTUAL ~!INTEL_IOMMU" + +pkg_setup() { + linux-mod_pkg_setup +} + +src_compile() { + linux-mod_src_compile + cd "${S}/library" + default + mv libevdi.so libevdi.so.0 +} + +src_install() { + linux-mod_src_install + dolib.so library/libevdi.so.0 + dosym libevdi.so.0 "/usr/$(get_libdir)/libevdi.so" +} |