evdi-9999 added.

This commit is contained in:
Шашкин Николай 2024-01-20 01:25:45 +03:00
parent 1ae56929f2
commit 1c2856707f
2 changed files with 54 additions and 3 deletions

View File

@ -1,3 +1 @@
DIST evdi-1.14.1.tar.gz 80554 BLAKE2B 4e574b9722050221603007b730efd31dc5c93e4a4fabaf369e47444d59b8a8a031004561c53daa25a239666da6f8e499ebf8d949b39ac8eecea5e610ffb26945 SHA512 a4eee90a395856b524b596989c24637cb328ddabc841d3f5a0d14fc0481f1c288a164d97cf9bb448c8dbae64a6b264425d793185625a5503726d396d91975c3f DIST evdi-1.14.1.tar.gz 80554 SHA256 a5f1c10602a6219ac4b13d4f590c16e6fb65bed94f28562260c9b481b48c3828 SHA512 a4eee90a395856b524b596989c24637cb328ddabc841d3f5a0d14fc0481f1c288a164d97cf9bb448c8dbae64a6b264425d793185625a5503726d396d91975c3f WHIRLPOOL 400a78f894cd4167a0193371ef1351ac1e156d865b8cc8576c5c739ac913ad47545311cbe10227bd87deba4c78870cc66e9ba03f7e40048c8ad30e3a9c16feec
EBUILD evdi-1.14.1.ebuild 926 BLAKE2B 032849d7f8f7da457287b6311d5a5282925d93198f9af280c5493178872c22ddc3bdfe7bc87c5045ec70fa1a127f016d0f3fefb3c3b50680422ae3346c7698cc SHA512 fc5b03be9811e7af85e3fe4b14633ed87db3fb8df75c8dd9102af82a52758cfe107c8f1c5b02d18dd732d88ddb8be7fa0517f42d631962499a6ea1d8a323e7d9
MISC metadata.xml 334 BLAKE2B 14e6e341ca6811e61ff7fdb34ed128b51b80a8516f817b24598173d6ef723ca77ac990c68a01a3ffdf6a5d2e4cf8b8e766eaabad5ffc3b1fd68f5aef5cbc827a SHA512 ae847ea569d82e9b8c4f9df494f4e26f19a9e5090abe51a6ca9cf7271c0931ec34818a64f15f32d405962659e9933af9ed3a5add2cb730b2c2a1de95b4e1b686

View File

@ -0,0 +1,53 @@
# 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"
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI=${EGIT_REPO_URI:-"https://github.com/DisplayLink/evdi.git"}
EGIT_BRANCH="devel"
inherit git-r3
KEYWORDS=""
else
SRC_URI="https://github.com/DisplayLink/evdi/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~x86"
fi
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"
}