summaryrefslogtreecommitdiff
path: root/dev-util/gdbus-codegen
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-15 02:02:03 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-15 02:02:03 +0000
commit16a4365c3b854e62b50726456ddb29bb78fd5038 (patch)
tree6de11adc70daeb6424485bb16be162d2cb277018 /dev-util/gdbus-codegen
parent59d772d9463f8cf6a145a677bedbf377a0625aff (diff)
gentoo auto-resync : 15:12:2024 - 02:02:03
Diffstat (limited to 'dev-util/gdbus-codegen')
-rw-r--r--dev-util/gdbus-codegen/Manifest2
-rw-r--r--dev-util/gdbus-codegen/gdbus-codegen-2.82.4.ebuild77
2 files changed, 79 insertions, 0 deletions
diff --git a/dev-util/gdbus-codegen/Manifest b/dev-util/gdbus-codegen/Manifest
index 6c1915f054ea..11750ce9242b 100644
--- a/dev-util/gdbus-codegen/Manifest
+++ b/dev-util/gdbus-codegen/Manifest
@@ -8,6 +8,7 @@ DIST glib-2.78.6.tar.xz 5344808 BLAKE2B d16173794c4aa019459cf8c8c84d4107fb839382
DIST glib-2.80.4.tar.xz 5535760 BLAKE2B 1d2b301703b27a5c2def370e1d44b4f7b08a940969563ce9d8d7c38e5f0a32163b95523e09cedc4a57b2af84a57d63dc545abcb31b61a8066ef62ba396fb4f3c SHA512 efdc7dd1e0609b0f2d988a8cc8fd4a3fda96e8450832f905f7686f9063b727cb996e0e4e638aca62f60b76f9f04be62e089a615413e64cf298c7eef26e074570
DIST glib-2.80.5.tar.xz 5538308 BLAKE2B 3f17ff85a85d20858b69c2dccc1e5d6ffd92661a8cfda8b8770dd391861999ff3381008f4fe382e90f0a7798fe218debda7f559f6e3ac8f9305e3be98b879969 SHA512 c9cc9f99e217fd950810fcfbfa7300c7850cae4dbfbabc03cdcadb6dcca2e51ea7979ceb68c09d8e9776fd1c04db73b89b81f748c8bd911e1f7ad9f704dff172
DIST glib-2.82.2.tar.xz 5555528 BLAKE2B 930fa7816082e6ba4b7f394985840bb6abf4fe9a4451286cddd3cfc8a4f3d4e3b4f06f09fbb34486f6fd47d0b72363b06a280ccae62d061724a7a2e00734bc4c SHA512 d5b761ec0c088496f2f9e5767568076a30ff492c272f21133560689f4e6a177d403c78d71ef85da63de331152c4d1f27b65d3e927ebfaf0fb63592f66e564ea1
+DIST glib-2.82.4.tar.xz 5556896 BLAKE2B 62caecc7570b1639f6ddf1deb9debb6d3d6180b74f497f2fcace5ce65d6e28996555d51e5b4980f500bdc3f811b5b6214521b1170f553f2fa1fd240fd0eec835 SHA512 5df0b3c56fe6cf6c94019e29afb408174a5864cdb97cf58d5a12a0f83990b5c2004a49c8e3b0e195f5808874b5911a4a7b3d6aea8718aada1b40561e623cd08d
EBUILD gdbus-codegen-2.76.4.ebuild 2199 BLAKE2B f6dfe234b7e848d93e31ead1edee8f23eba5f5ed95284e5c3f2c2b9c67cd04a89737588cd66ec4b781ef5b8fbd50dab9ff2a06273130b222d9dffc07bcb1bcb7 SHA512 ea9cd4be38cd66f8ba90ce9a4745bfedc802e1dfe786213a82fff4ca6cee922ea78239beb128983cfb8b793092b9dfff697ab75fa9ad9ae76e605b4114e326ec
EBUILD gdbus-codegen-2.78.3.ebuild 2200 BLAKE2B 7fa665d83f2ca80bcce80525f60110c5f3edac6e69c095feb2d7203c3af070eb46f21b702a6941e74553ab44260c5031ce817b718ece7d36e247c314fa64e80c SHA512 805cc19d25bc5502524147f420568d5ae15effab84b64867010c8f8f88f416b4bd8962dcdb4a8bf682535503c9e09383a0274a679f08a392ba9a00c8329e503f
EBUILD gdbus-codegen-2.78.4-r1.ebuild 2319 BLAKE2B 179bda419a320539012376c75cea5a4b0d9b437591c2c20c62f7790e4d50d2b5a174f84ae5aea5ca54c30250f13ea8b5109ff54b8d823ffb9ec20057dfe64d33 SHA512 7884764456e514de73b81d2f7dd2d5f726c5a0eb56b860def24122c028029aca773bcc9f5591b29b71d9cc64e44e7b8091fdc9c0d67b98cd00440b97c678ad67
@@ -15,4 +16,5 @@ EBUILD gdbus-codegen-2.78.6.ebuild 2318 BLAKE2B 537e2e7c3c4e39413ebeaef33885c11b
EBUILD gdbus-codegen-2.80.4.ebuild 2299 BLAKE2B d770fe7b9d3448a20831bbe2e71d8a3acd302f8127c61a08d014b5aaed268d1f0d93cb3fb6fcb5b6c708c6865d3ec0aa1a8dc09077a1962e4dc81096179fd3d1 SHA512 2f2e7668b365d2d0776be59213719b19ec7543758c96bf270e6bf89b184039b9637253e085a4bee44920d5778224278c62ea160510814ec7cb586a7880d76fd8
EBUILD gdbus-codegen-2.80.5.ebuild 2229 BLAKE2B 116f4290f956298c41ed89052c7bcf72bb85b8218f366f62c68a742ad55771459525532f3f9d08a48d38bf7612bae39acfddef821c384e638e19440dd8490eff SHA512 ceaeaf5c7fff1efa4ff9a8e7d4f6069ac28e7f11f40e801f8f332fbfc41e73a9f5b48ee076cf69121e4ea38fd22903dacd208a5d75d502659112057209b5b26f
EBUILD gdbus-codegen-2.82.2.ebuild 2229 BLAKE2B 116f4290f956298c41ed89052c7bcf72bb85b8218f366f62c68a742ad55771459525532f3f9d08a48d38bf7612bae39acfddef821c384e638e19440dd8490eff SHA512 ceaeaf5c7fff1efa4ff9a8e7d4f6069ac28e7f11f40e801f8f332fbfc41e73a9f5b48ee076cf69121e4ea38fd22903dacd208a5d75d502659112057209b5b26f
+EBUILD gdbus-codegen-2.82.4.ebuild 2229 BLAKE2B 116f4290f956298c41ed89052c7bcf72bb85b8218f366f62c68a742ad55771459525532f3f9d08a48d38bf7612bae39acfddef821c384e638e19440dd8490eff SHA512 ceaeaf5c7fff1efa4ff9a8e7d4f6069ac28e7f11f40e801f8f332fbfc41e73a9f5b48ee076cf69121e4ea38fd22903dacd208a5d75d502659112057209b5b26f
MISC metadata.xml 345 BLAKE2B 91a0526be5ce32d4aa4ea0827c78b2d2d45beae9a8d467916448a0a6b5459fd457e44ac900182654826328b34d37999bedb3ade42e80db92312e50f34d940014 SHA512 b11e427345fab56c77cb1f4f96473645b69054012e86840e2ca7dab221cf55041a1add1dfabce155274acf18488ac79de8149d405213daf39b807f679d4ac752
diff --git a/dev-util/gdbus-codegen/gdbus-codegen-2.82.4.ebuild b/dev-util/gdbus-codegen/gdbus-codegen-2.82.4.ebuild
new file mode 100644
index 000000000000..ffae06b4c948
--- /dev/null
+++ b/dev-util/gdbus-codegen/gdbus-codegen-2.82.4.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+GNOME_ORG_MODULE="glib"
+PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_REQ_USE="xml(+)"
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_SINGLE_IMPL=1
+
+inherit gnome.org distutils-r1
+
+DESCRIPTION="GDBus code and documentation generator"
+HOMEPAGE="https://www.gtk.org/"
+
+S="${WORKDIR}/glib-${PV}/gio/gdbus-2.0/codegen"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-libs/libxslt
+ app-text/docbook-xsl-stylesheets
+ >=dev-python/docutils-0.21.1
+"
+
+python_prepare_all() {
+ PATCHES=(
+ "${FILESDIR}/${PN}-2.56.1-sitedir.patch"
+ )
+ distutils-r1_python_prepare_all
+
+ local MAJOR_VERSION=$(ver_cut 1)
+ local MINOR_VERSION=$(ver_cut 2)
+ sed -e 's:@PYTHON@:python:' gdbus-codegen.in > gdbus-codegen || die
+ sed -e "s:@VERSION@:${PV}:" \
+ -e "s:@MAJOR_VERSION@:${MAJOR_VERSION}:" \
+ -e "s:@MINOR_VERSION@:${MINOR_VERSION}:" config.py.in > config.py || die
+ cp "${FILESDIR}/setup.py-2.32.4" setup.py || die "cp failed"
+ sed -e "s/@PV@/${PV}/" -i setup.py || die "sed setup.py failed"
+}
+
+do_xsltproc_command() {
+ # Taken from meson.build for manual manpage building - keep in sync (also copied to dev-util/glib-utils)
+ xsltproc \
+ --nonet \
+ --stringparam man.output.quietly 1 \
+ --stringparam funcsynopsis.style ansi \
+ --stringparam man.th.extra1.suppress 1 \
+ --stringparam man.authors.section.enabled 0 \
+ --stringparam man.copyright.section.enabled 0 \
+ -o "${2}" \
+ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl \
+ "${1}" || die "manpage generation failed"
+}
+
+src_compile() {
+ distutils-r1_src_compile
+ rst2man \
+ "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.rst" \
+ "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.1"
+}
+
+src_test() {
+ einfo "Skipping tests. This package is tested by dev-libs/glib"
+ einfo "when merged with FEATURES=test"
+}
+
+python_install_all() {
+ distutils-r1_python_install_all # no-op, but prevents QA warning
+ doman "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.1"
+}