From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6FC00158046 for ; Wed, 9 Oct 2024 15:39:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B079E2A3F; Wed, 9 Oct 2024 15:39:06 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4FB80E2A3F for ; Wed, 9 Oct 2024 15:39:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 082A2343136 for ; Wed, 9 Oct 2024 15:39:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 523D32532 for ; Wed, 9 Oct 2024 15:39:02 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1728484146.c08ed090eef55f00c30038f500b6391362350029.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: x11-drivers/evdi/ X-VCS-Repository: repo/proj/guru X-VCS-Files: x11-drivers/evdi/Manifest x11-drivers/evdi/evdi-1.14.7.ebuild X-VCS-Directories: x11-drivers/evdi/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: c08ed090eef55f00c30038f500b6391362350029 X-VCS-Branch: master Date: Wed, 9 Oct 2024 15:39:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3902e7d3-5ff5-465e-9edc-c5e28611fbbf X-Archives-Hash: f099c07d39418e1daab8d073387d5093 commit: c08ed090eef55f00c30038f500b6391362350029 Author: Paul Zander gmail com> AuthorDate: Wed Oct 9 14:29:06 2024 +0000 Commit: David Roman gmail com> CommitDate: Wed Oct 9 14:29:06 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c08ed090 x11-drivers/evdi: add 1.14.7 Signed-off-by: Paul Zander gmail.com> x11-drivers/evdi/Manifest | 1 + x11-drivers/evdi/evdi-1.14.7.ebuild | 81 +++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) diff --git a/x11-drivers/evdi/Manifest b/x11-drivers/evdi/Manifest index f57567b2b..e56ee5207 100644 --- a/x11-drivers/evdi/Manifest +++ b/x11-drivers/evdi/Manifest @@ -1 +1,2 @@ DIST evdi-1.14.6.tar.gz 91220 BLAKE2B 7b500096d45f0ac8329059d6ba092b3536039fa2647e39c40a863efd01756cae03dbc06076513e9ba68344e3997838727512003fb75c69c70a277a9276ee945c SHA512 8fc77d1b4a78395f05541ac3f9babb69c3fa59d89383d95b5a429a61d8941cddbc5087348f02125296eeec1c656135580f5a34d61430f4bce4b25c4ca685f735 +DIST evdi-1.14.7.tar.gz 95158 BLAKE2B ca640c49473b85f59fc5f510a9e59db2579878285ea9bc45ec65d6f464b5937f60cdc96ef3d25bf4e7b06e7478d3cf06b541eda986388418cd077b784db8c0da SHA512 75af080dfb110db1e98a980bba3c7edb892ec1849e368206f8841fc79f947220d8ec5f9ae74c7e3f9164ed2be9cae713270da4bdec10e8af5295d264e55af0d7 diff --git a/x11-drivers/evdi/evdi-1.14.7.ebuild b/x11-drivers/evdi/evdi-1.14.7.ebuild new file mode 100644 index 000000000..f6edbd98f --- /dev/null +++ b/x11-drivers/evdi/evdi-1.14.7.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit linux-mod-r1 python-single-r1 flag-o-matic + +DESCRIPTION="Extensible Virtual Display Interface" +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/$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +IUSE="python test" + +RDEPEND="${PYTHON_DEPS} + x11-libs/libdrm + python? ( + $(python_gen_cond_dep ' + dev-python/pybind11[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) + ') + ) +" + +DEPEND="${RDEPEND} + sys-kernel/linux-headers +" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RESTRICT="!test? ( test )" + +# module/Kconfig +CONFIG_CHECK="~FB_VIRTUAL ~I2C ~DRM ~USB_SUPPORT ~USB_ARCH_HAS_HCD MODULES" + +PATCHES=( + "${FILESDIR}/${PN}-1.14.4-format-truncation.patch" +) + +pkg_setup() { + linux-mod-r1_pkg_setup + use python && python-single-r1_pkg_setup +} + +src_compile() { + filter-lto + + local modlist=( + "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 -C library + + use python && emake -C pyevdi +} + +src_test() { + use python && emake -C pyevdi tests +} + +src_install() { + linux-mod-r1_src_install + + local -x DESTDIR="${ED}" PREFIX="${EPREFIX}" + + LIBDIR="/usr/$(get_libdir)" emake -C library install + + use python && emake -C pyevdi install +}