diff options
author | Paul Zander <negril.nx+gentoo@gmail.com> | 2024-08-12 17:04:32 +0200 |
---|---|---|
committer | Paul Zander <negril.nx+gentoo@gmail.com> | 2024-08-12 17:04:32 +0200 |
commit | 13180dc86663d39d3bee05752983dc4be13efd95 (patch) | |
tree | 80d98fb7f3d43b3b41f3685a267e99de61804d76 | |
parent | net-misc/ooni-probe-cli: add 3.23.0 (diff) | |
download | guru-13180dc86663d39d3bee05752983dc4be13efd95.tar.gz guru-13180dc86663d39d3bee05752983dc4be13efd95.tar.bz2 guru-13180dc86663d39d3bee05752983dc4be13efd95.zip |
x11-drivers/evdi: add 1.14.5, drop 1.14.5
Closes: https://bugs.gentoo.org/935034
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
-rw-r--r-- | x11-drivers/evdi/Manifest | 2 | ||||
-rw-r--r-- | x11-drivers/evdi/evdi-1.14.5.ebuild (renamed from x11-drivers/evdi/evdi-1.14.4.ebuild) | 26 |
2 files changed, 16 insertions, 12 deletions
diff --git a/x11-drivers/evdi/Manifest b/x11-drivers/evdi/Manifest index ef25cc00d..35153bb9e 100644 --- a/x11-drivers/evdi/Manifest +++ b/x11-drivers/evdi/Manifest @@ -1 +1 @@ -DIST evdi-1.14.4.tar.gz 88726 BLAKE2B 15aa13c1e6f67f923cf474a7f33bc1b8ce97e87e3ea19d53ae4c4b827581311907c5d98128190c97a530e566595b2ffd46a10450a63a8ecfc5a352d1f3e80f23 SHA512 53354fc9b09870768b54a6ea391dd7c406d372a248623f628334a1fecd433a59a729821b8a8af4ab31d0dca944d330156d88e79af308964c5686798ab20cabf3 +DIST evdi-1.14.5.tar.gz 90775 BLAKE2B ccee5c1fa1644bef98ddbc2d06eff990c56d2f5a58042f5ee1557816f25da850bd5c5cc5bd60ca48cc341fe167359ab513425e5ef5d3b248426c1e81a5e5cd10 SHA512 6374c88a4433da0142fc1e9ae7fa48791253747694deb86b4897a2f503783ba45c46f5e5f53718dc73ce47cb4a03479b989300ca57c4d847a912915b36a72142 diff --git a/x11-drivers/evdi/evdi-1.14.4.ebuild b/x11-drivers/evdi/evdi-1.14.5.ebuild index b88c2a543..00cf76a59 100644 --- a/x11-drivers/evdi/evdi-1.14.4.ebuild +++ b/x11-drivers/evdi/evdi-1.14.5.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit linux-mod-r1 python-single-r1 DESCRIPTION="Extensible Virtual Display Interface" @@ -11,7 +11,7 @@ HOMEPAGE="https://github.com/DisplayLink/evdi" SRC_URI="https://github.com/DisplayLink/evdi/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2 LGPL-2.1" -SLOT="0" +SLOT="0/$(ver_cut 1)" KEYWORDS="~amd64 ~arm ~arm64 ~x86" IUSE="python test" @@ -36,7 +36,8 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RESTRICT="!test? ( test )" -CONFIG_CHECK="~FB_VIRTUAL ~I2C" +# module/Kconfig +CONFIG_CHECK="~FB_VIRTUAL ~I2C ~DRM ~USB_SUPPORT ~USB_ARCH_HAS_HCD MODULES" PATCHES=( "${FILESDIR}/${PN}-1.14.4-format-truncation.patch" @@ -49,14 +50,18 @@ pkg_setup() { src_compile() { local modlist=( - "evdi=video:${S}/module" + "evdi=video:module" + ) + local modargs=( + CONFIG_DRM_EVDI="m" # https://github.com/DisplayLink/evdi/issues/476 + KVER="${KV_FULL}" + KDIR="${KV_OUT_DIR}" ) linux-mod-r1_src_compile - emake library - ln -srf "${S}/library/libevdi.so"{".$(ver_cut 1)",} || die + emake -C library - use python && emake pyevdi + use python && emake -C pyevdi } src_test() { @@ -66,10 +71,9 @@ src_test() { src_install() { linux-mod-r1_src_install - dolib.so "library/libevdi.so.${PV}" + local -x DESTDIR="${ED}" PREFIX="${EPREFIX}" - dosym "libevdi.so.${PV}" "/usr/$(get_libdir)/libevdi.so.$(ver_cut 1)" - dosym "libevdi.so.$(ver_cut 1)" "/usr/$(get_libdir)/libevdi.so" + LIBDIR="/usr/$(get_libdir)" emake -C library install - use python && DESTDIR="${D}" emake -C pyevdi install + use python && emake -C pyevdi install } |