summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2023-04-10 09:57:55 -0400
committerMatt Turner <mattst88@gentoo.org>2023-04-10 10:11:26 -0400
commit089218976cd46592373de0f9fd6ec617a992a1c6 (patch)
tree24540add9d9892d43e1f98c6b520958f78b0da89 /x11-libs
parentx11-apps/xwininfo: Version bump to 1.1.6 (diff)
downloadgentoo-089218976cd46592373de0f9fd6ec617a992a1c6.tar.gz
gentoo-089218976cd46592373de0f9fd6ec617a992a1c6.tar.bz2
gentoo-089218976cd46592373de0f9fd6ec617a992a1c6.zip
x11-libs/xcb-util-errors: Add new package, version 1.0.1
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/xcb-util-errors/Manifest1
-rw-r--r--x11-libs/xcb-util-errors/metadata.xml11
-rw-r--r--x11-libs/xcb-util-errors/xcb-util-errors-1.0.1.ebuild31
3 files changed, 43 insertions, 0 deletions
diff --git a/x11-libs/xcb-util-errors/Manifest b/x11-libs/xcb-util-errors/Manifest
new file mode 100644
index 000000000000..ebc06fda3d0e
--- /dev/null
+++ b/x11-libs/xcb-util-errors/Manifest
@@ -0,0 +1 @@
+DIST xcb-util-errors-1.0.1.tar.xz 268052 BLAKE2B cdcac4234110441e4a115e339fcf3462cb0aa75297c8eb1bdf5c6bf9305996dd2021321e40a274c369191dc68de9f0fa8f42a919c80307c2aa10e856e073cf01 SHA512 e883e178921a6f783e0100acae66eaf0ed13fc169fd21b0c313d7a70c9358c129b01b117675eda50e258e8b3b27ff7b21aa4d15c4da69249ffc6bbc7dcf87d4a
diff --git a/x11-libs/xcb-util-errors/metadata.xml b/x11-libs/xcb-util-errors/metadata.xml
new file mode 100644
index 000000000000..3f17fbc10883
--- /dev/null
+++ b/x11-libs/xcb-util-errors/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="freedesktop-gitlab">xorg/lib/libxcb-errors</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-libs/xcb-util-errors/xcb-util-errors-1.0.1.ebuild b/x11-libs/xcb-util-errors/xcb-util-errors-1.0.1.ebuild
new file mode 100644
index 000000000000..042df044f2f6
--- /dev/null
+++ b/x11-libs/xcb-util-errors/xcb-util-errors-1.0.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+XORG_TARBALL_SUFFIX="xz"
+inherit python-any-r1 xorg-3
+
+DESCRIPTION="Library that gives human readable names to XCB error, event, & request codes"
+HOMEPAGE="https://xcb.freedesktop.org/ https://gitlab.freedesktop.org/xorg/lib/libxcb-errors"
+
+KEYWORDS="~amd64"
+
+RDEPEND=">=x11-libs/libxcb-1.9.1:="
+DEPEND="${RDEPEND}
+ x11-base/xcb-proto"
+BDEPEND="
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep 'x11-base/xcb-proto[${PYTHON_USEDEP}]')
+"
+
+python_check_deps() {
+ python_has_version "x11-base/xcb-proto[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+ python-any-r1_pkg_setup
+ xorg-3_pkg_setup
+}