diff options
author | Matt Turner <mattst88@gentoo.org> | 2023-06-05 09:25:21 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2023-06-05 09:30:50 -0400 |
commit | efc8207f6426266026cb8e09ec60323b5d2452f0 (patch) | |
tree | d72ee9f13c78ba780d25c33ece5091dc99576ee2 /x11-base/xorg-proto | |
parent | sys-kernel/gentoo-sources: add 6.3.6, io_uring patch (diff) | |
download | gentoo-efc8207f6426266026cb8e09ec60323b5d2452f0.tar.gz gentoo-efc8207f6426266026cb8e09ec60323b5d2452f0.tar.bz2 gentoo-efc8207f6426266026cb8e09ec60323b5d2452f0.zip |
x11-base/xorg-proto: Version bump to 2023.1
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-base/xorg-proto')
-rw-r--r-- | x11-base/xorg-proto/Manifest | 1 | ||||
-rw-r--r-- | x11-base/xorg-proto/xorg-proto-2023.1.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/x11-base/xorg-proto/Manifest b/x11-base/xorg-proto/Manifest index 703d6c5f2bc9..6f7afb747bc8 100644 --- a/x11-base/xorg-proto/Manifest +++ b/x11-base/xorg-proto/Manifest @@ -1 +1,2 @@ DIST xorgproto-2022.2.tar.xz 757080 BLAKE2B 0fee7910fced83548780fd1c7bfd214c932c7c5064c6ebd40ac9285d071837056b9eca24dadb53a572a05768f8762c4dd81ac58fcf6b43028f557ed56a98f7f9 SHA512 8e6108110600d076a94cc6d0e465b2e9adfbbe8d7e6b75fae9c5262d99dc6074ab1ed561a74d6d451f00f5b7af9f507a6317be9c0770efeed9e60b64beb7a1c9 +DIST xorgproto-2023.1.tar.xz 759168 BLAKE2B e794f8acb2b01f97cee80b01b3b67aa0691517d4eb17c5304768932785b087d86bc610e9e448c623e31b665e72c4b4c0432766767e01e8d835d88a3bf45adce6 SHA512 342128ca2e9a6806a7ff33f426434bee29626a13a592b9544654a010cb7be208b0862e3cd063773a0003ca0ec7d48361cfcc384fe207efe9ecb6ec3f2b8e7d56 diff --git a/x11-base/xorg-proto/xorg-proto-2023.1.ebuild b/x11-base/xorg-proto/xorg-proto-2023.1.ebuild new file mode 100644 index 000000000000..5e165a925d02 --- /dev/null +++ b/x11-base/xorg-proto/xorg-proto-2023.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{9..11} ) + +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 ~amd64-linux ~x86-linux ~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/python-libevdev[${PYTHON_USEDEP}] + ') + ) +" + +python_check_deps() { + python_has_version "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 +} |