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 94EA3158043 for ; Mon, 15 Apr 2024 15:32:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D2156E29E6; Mon, 15 Apr 2024 15:32:53 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B26FFE29E6 for ; Mon, 15 Apr 2024 15:32:53 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A4F273430EC for ; Mon, 15 Apr 2024 15:32:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0D86416E5 for ; Mon, 15 Apr 2024 15:32:51 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1713195166.24ba76702f85e062cf98a67174ff2bc2e3d187c2.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-base/xcb-proto/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-base/xcb-proto/Manifest x11-base/xcb-proto/xcb-proto-1.17.0.ebuild X-VCS-Directories: x11-base/xcb-proto/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 24ba76702f85e062cf98a67174ff2bc2e3d187c2 X-VCS-Branch: master Date: Mon, 15 Apr 2024 15:32:51 +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: 023309bf-2b8e-4e2f-92b4-493a51d4efb7 X-Archives-Hash: 772a113542593689e81a9dddf059a2bf commit: 24ba76702f85e062cf98a67174ff2bc2e3d187c2 Author: Matt Turner gentoo org> AuthorDate: Mon Apr 15 15:01:31 2024 +0000 Commit: Matt Turner gentoo org> CommitDate: Mon Apr 15 15:32:46 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24ba7670 x11-base/xcb-proto: Version bump to 1.17.0 Signed-off-by: Matt Turner gentoo.org> x11-base/xcb-proto/Manifest | 1 + x11-base/xcb-proto/xcb-proto-1.17.0.ebuild | 49 ++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/x11-base/xcb-proto/Manifest b/x11-base/xcb-proto/Manifest index 747414d33e52..a85212c9bc77 100644 --- a/x11-base/xcb-proto/Manifest +++ b/x11-base/xcb-proto/Manifest @@ -1 +1,2 @@ DIST xcb-proto-1.16.0.tar.xz 151612 BLAKE2B 1c59ae4c71e697bd4f0298f6e0ea5235fc47baa9cf584e079258f1da8be538d1b67dc45f1325d82495247d0f8020d0244ca334de3794b410a1feaceabd6b285e SHA512 54906f379a7aa2cbbfbbe54764c02dbf522ca8f6c54e07d4faae471aac3aee25d0359be38c808c8da887de228aed745582a78b2f56714b023bca8f3513b24972 +DIST xcb-proto-1.17.0.tar.xz 151748 BLAKE2B 0f46d040062fca4f6b598bdb7ab7a254b9aefce198812af82fd2112e06e88277e3c9e0a3bab161930b56688e71e1848bb859d4f33588f9496fe7399f9758b9a7 SHA512 34c3795e5a48a66d89b72ee1777fb0bede489d5ec07018e6c9ef3c13bdd60b0358fc2c04a1f0ed0acb5b681aeeb92033db579036e4f5edd967fe56714c03acdf diff --git a/x11-base/xcb-proto/xcb-proto-1.17.0.ebuild b/x11-base/xcb-proto/xcb-proto-1.17.0.ebuild new file mode 100644 index 000000000000..a7af99861180 --- /dev/null +++ b/x11-base/xcb-proto/xcb-proto-1.17.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +XORG_TARBALL_SUFFIX="xz" +XORG_MODULE=proto/ + +inherit python-r1 xorg-3 + +DESCRIPTION="X C-language Bindings protocol headers" +HOMEPAGE="https://xcb.freedesktop.org/ https://gitlab.freedesktop.org/xorg/proto/xcbproto" +EGIT_REPO_URI="https://gitlab.freedesktop.org/xorg/proto/xcbproto.git" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# DEPEND="" +RDEPEND=" + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + dev-libs/libxml2 +" + +ECONF_SOURCE="${S}" + +src_configure() { + # Don't use Python to find sitedir here. + PYTHON=true default +} + +src_compile() { + : +} + +xcbgen_install() { + # Use eclass to find sitedir instead. + emake -C xcbgen install DESTDIR="${D}" pythondir="$(python_get_sitedir)" + python_optimize +} + +src_install() { + # Restrict SUBDIRS to prevent xcbgen with empty sitedir. + emake install DESTDIR="${D}" SUBDIRS=src + python_foreach_impl xcbgen_install +}