From 4a9caaceefbb3b52264ca37b88f7a1e89ee5c462 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A8=D0=B0=D1=88=D0=BA=D0=B8=D0=BD=20=D0=9D=D0=B8=D0=BA?= =?UTF-8?q?=D0=BE=D0=BB=D0=B0=D0=B9?= Date: Wed, 7 Feb 2024 21:35:12 +0300 Subject: [PATCH] evdi-1.14.2 added --- x11-drivers/evdi/evdi-1.14.2.ebuild | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 x11-drivers/evdi/evdi-1.14.2.ebuild diff --git a/x11-drivers/evdi/evdi-1.14.2.ebuild b/x11-drivers/evdi/evdi-1.14.2.ebuild new file mode 100644 index 00000000..b2ce7a1f --- /dev/null +++ b/x11-drivers/evdi/evdi-1.14.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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="~amd64 ~arm ~x86" + +RDEPEND="x11-libs/libdrm" +DEPEND="${RDEPEND} + sys-kernel/linux-headers" + +MODULE_NAMES="evdi(video:${S}/module)" + +#CONFIG_CHECK="~FB_VIRTUAL ~!INTEL_IOMMU" +CONFIG_CHECK="~FB_VIRTUAL ~I2C DRM ~USB_SUPPORT USB_ARCH_HAS_HCD" + +pkg_setup() { + linux-mod_pkg_setup +} + +src_compile() { + linux-mod_src_compile + cd "${S}/library" + default + #mv libevdi.so libevdi.so.${PV} +} + +src_install() { + linux-mod_src_install + dolib.so library/libevdi.so.${PV} + dosym libevdi.so.${PV} "/usr/$(get_libdir)/libevdi.so.1" + dosym libevdi.so.1 "/usr/$(get_libdir)/libevdi.so" +}