From 4f7acd221bc49b8a4dd411568429e8a51cda5ea0 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 4 Oct 2026 15:51:48 -0400 Subject: [PATCH] x11-base/xorg-proto: Version bump to 2026.1 Signed-off-by: Matt Turner --- x11-base/xorg-proto/Manifest | 1 + x11-base/xorg-proto/xorg-proto-2026.1.ebuild | 51 ++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 x11-base/xorg-proto/xorg-proto-2026.1.ebuild diff --git a/x11-base/xorg-proto/Manifest b/x11-base/xorg-proto/Manifest index b7f431c621f7f..54a04fdc45f39 100644 --- a/x11-base/xorg-proto/Manifest +++ b/x11-base/xorg-proto/Manifest @@ -1 +1,2 @@ DIST xorgproto-2025.1.tar.xz 766932 BLAKE2B 4202efbfe560afccb5a742f3c64973a4936878ed7ec4259bc31b7317e5cde505666fee2855dd0b6ff169a8da87d0f980dfa65ff58d2ead0aad39f3a94e053903 SHA512 dbbee3aa1bc62721d64309e1d98807d403609d8129944b2e23e48f95d30c6448718c2842362994d67647908645bafc757c710070c5dcdca96d191fd2689d023a +DIST xorgproto-2026.1.tar.xz 771720 BLAKE2B b436684539f013236b9c304d69cd7fb0db23530c6f6fe1897b490921cabbc56347682143ebb7c711d3b55dbedcd424e9661095c74cb9b445cdc79f3302025924 SHA512 5d89ffd23edb3c57cbc33d3572b20b356f83ca0cef5c82e66c9073734fb1962c9a28b3169c9517a4d960256883dfd553078a47fd1149e91e86189d58c5079aea diff --git a/x11-base/xorg-proto/xorg-proto-2026.1.ebuild b/x11-base/xorg-proto/xorg-proto-2026.1.ebuild new file mode 100644 index 0000000000000..508f34f69e0a6 --- /dev/null +++ b/x11-base/xorg-proto/xorg-proto-2026.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{11..15} ) + +MY_PN="${PN/xorg-/xorg}" +MY_P="${MY_PN}-${PV}" + +EGIT_REPO_URI="https://gitlab.freedesktop.org/xorg/proto/${MY_PN}.git" + +if [[ ${PV} = 9999* ]]; then + GIT_ECLASS="git-r3" +fi + +inherit ${GIT_ECLASS} meson python-any-r1 + +DESCRIPTION="X.Org combined protocol headers" +HOMEPAGE="https://gitlab.freedesktop.org/xorg/proto/xorgproto" +if [[ ${PV} != 9999* ]]; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris" + SRC_URI="https://xorg.freedesktop.org/archive/individual/proto/${MY_P}.tar.xz" + S="${WORKDIR}/${MY_P}" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + $(python_gen_any_dep ' + dev-python/libevdev[${PYTHON_USEDEP}] + ') + ) +" + +python_check_deps() { + python_has_version "dev-python/libevdev[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_install() { + meson_src_install + + mv "${ED}"/usr/share/doc/{xorgproto,${P}} || die +}