From 752d6256e5204b958b0ef7905675a940b5e9172f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 12 May 2022 16:42:50 +0300 Subject: gentoo resync : 12.05.2022 --- x11-base/xorg-proto/Manifest | 4 ++- x11-base/xorg-proto/xorg-proto-2022.1.ebuild | 54 ++++++++++++++++++++++++++++ x11-base/xorg-proto/xorg-proto-9999.ebuild | 2 +- 3 files changed, 58 insertions(+), 2 deletions(-) create mode 100644 x11-base/xorg-proto/xorg-proto-2022.1.ebuild (limited to 'x11-base/xorg-proto') diff --git a/x11-base/xorg-proto/Manifest b/x11-base/xorg-proto/Manifest index 09b44c3f05f1..597fe6a8b625 100644 --- a/x11-base/xorg-proto/Manifest +++ b/x11-base/xorg-proto/Manifest @@ -1,4 +1,6 @@ DIST xorgproto-2021.5.tar.gz 1132811 BLAKE2B 3fe288cf8a848436dacc0ebf437b6a1d2c81878abaf8c542ff45e70389643cb2bc25bdab5ab6ff9d44a4f9bbdbd24757d21617c2c6a0754870afcd9f60ccbb05 SHA512 9c9ec62f0af68fd0dff24010986326a2b201be2b56b8b94abfe7258bf66b3c4c37088596c43a234aae63b1d781f7797caf408e434c98e8805803bc890b8aacb0 +DIST xorgproto-2022.1.tar.gz 1107316 BLAKE2B b7c60d77978f95b62208c5c5974c7310a9b6197c8b14218ba319eb44660f20c5eb33ef106beccae16f79a0530a20bd38b6aa2de81329c4b48a2da285ab903c31 SHA512 e34404eb9f7edfebdecbf38c66491fbca91929c59b5762d3266b2808cdae3f4e65589001d29bf5374effc56173a5467f5a107bf4fe05acae69839b841e83f72c EBUILD xorg-proto-2021.5.ebuild 1184 BLAKE2B 7129e8ed1e437e04359d2d61612f808715f2639f0ae6846343d4f844556b570c9d5fd240597a408d2295ea6c76a88bc582c3d6cd388c12f8e93019cb3e1a3822 SHA512 32a3cef52319fbe9c15aa31fd2378e743b8a1ea8b6c366aed9bb97f3882252e3eeb0d4b340d6f69a45a87cc3587be937b5cf223bc3f60049bb34600f53a03613 -EBUILD xorg-proto-9999.ebuild 1192 BLAKE2B 038ddae65c702a3db68db14a8d7325561ea832a41a32fb6d48377bcfd6c629816a7b18366353c54fc9f0fdcd413af95bcc8f111539e7d6b220bea1913ba4f7ac SHA512 646608b43c5753b25cb1ecdc749853d81e98e6bb766997173445c3d2444b9e60516c07ff5b7aee443b26fc44c045e2f5fee0b38ed44067e815528ce6bf4e0df1 +EBUILD xorg-proto-2022.1.ebuild 1195 BLAKE2B 0d0bf5591ce5efca4b2c455f3cac50ec614dfd8b9694d4f9b24cddaafb339f5a6f82b14fd91237d9dc66428f3d16c290e11517acf41671fabf360aed1c2cacc4 SHA512 cb24388d618a14bede3e82a6d51d9c32928c5afab8d5e3afaa95a50271e808939a2187a8adca813072c807d3f1e1ce9df3c4408eede8524900a9fdcc7a96d33e +EBUILD xorg-proto-9999.ebuild 1192 BLAKE2B db4567f72fd74372e3b7b1e1af421cd18ecc209bba232e9ce9fddbf5a0fa5c3f0a9aeedcc5505dca752f8f227a72444beadd3c35f5c0889eb9f9b449bbc461d8 SHA512 a32f16a207591f291b07be006349486068da9dae00f05c4028a4ffa67a9cf9840c788d37148554ca622d25689cb7108e67aa1bcfa830e8d74fe85291a999750a MISC metadata.xml 231 BLAKE2B 6373a9c04316f777f87754fbb7cbc856493138d32bdb05d1015946ebbb359c4b8adb9372554097833d5c9a20e00e32fa0a1c90995d9299dd2215a2cadcccbb73 SHA512 bf6ad5078a6775cd61d257939d41ec53d006124475da2949c55b4b3ac138ec85a88b9068c5920b1e781fadda963939b8f120f8864d82e10cf50e09cc8052a6dc diff --git a/x11-base/xorg-proto/xorg-proto-2022.1.ebuild b/x11-base/xorg-proto/xorg-proto-2022.1.ebuild new file mode 100644 index 000000000000..f3386fafb33d --- /dev/null +++ b/x11-base/xorg-proto/xorg-proto-2022.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8..10} ) + +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 + SRC_URI="" +else + KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" + SRC_URI="https://xorg.freedesktop.org/archive/individual/proto/${MY_P}.tar.gz" + S="${WORKDIR}/${MY_P}" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( + $(python_gen_any_dep ' + dev-python/python-libevdev[${PYTHON_USEDEP}] + ') + ) +" +RDEPEND="" + +python_check_deps() { + has_version -b "dev-python/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 +} diff --git a/x11-base/xorg-proto/xorg-proto-9999.ebuild b/x11-base/xorg-proto/xorg-proto-9999.ebuild index 865b171e534e..a86a2415e1b6 100644 --- a/x11-base/xorg-proto/xorg-proto-9999.ebuild +++ b/x11-base/xorg-proto/xorg-proto-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -- cgit v1.2.3