1
0
Fork 0

x11-drivers/evdi: add 1.14.2

This commit is contained in:
Ryan Fox 2024-03-28 00:27:39 -07:00
parent bdf8a05bff
commit 6f6255170b
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
2 changed files with 39 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST evdi-1.14.1.tar.gz 80554 BLAKE2B 4e574b9722050221603007b730efd31dc5c93e4a4fabaf369e47444d59b8a8a031004561c53daa25a239666da6f8e499ebf8d949b39ac8eecea5e610ffb26945 SHA512 a4eee90a395856b524b596989c24637cb328ddabc841d3f5a0d14fc0481f1c288a164d97cf9bb448c8dbae64a6b264425d793185625a5503726d396d91975c3f
DIST evdi-1.14.2.tar.gz 87688 BLAKE2B 6bef81459e5c2c6e74261e01deeb71e461159c766bc43be82af22c89b0a7a616125ee1943659df3fbc8b38723e2de81d58488fd5a9e9ea1de5b6e165062540e0 SHA512 27c516c14b9503528da5c04d8f318fc1c21a1692e72da860feb96957b13f437da9ed000b045b3e4ef1109cba7ca0fd7813c32f00c74f71419ecf50a58ca957eb

View File

@ -0,0 +1,38 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit linux-mod-r1
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/DisplayLink/evdi.git"
else
SRC_URI="https://github.com/DisplayLink/evdi/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
S="${S}/module"
DESCRIPTION="Kernel module for managing screens"
HOMEPAGE="https://github.com/DisplayLink/evdi"
LICENSE="GPL-2"
SLOT="0"
DEPEND="x11-libs/libdrm"
RDEPEND="${DEPEND}"
BDEPEND="sys-kernel/linux-headers"
CONFIG_CHECK="~FB_VIRTUAL ~I2C"
src_prepare() {
default
local KVER=$(cat "${KERNEL_DIR}/include/config/kernel.release")
sed -i "1i KVER := ${KVER}" "${S}/Makefile"
}
src_compile() {
local modlist=( evdi=video )
linux-mod-r1_src_compile
}