summaryrefslogtreecommitdiff
path: root/dev-util/glib-utils
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-11 18:08:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-11 18:08:11 +0000
commit23650861e24563ddcf10919ab5b1912676c3ff0c (patch)
tree0853606be5f409f8f1859eb33652d0c8c1e62623 /dev-util/glib-utils
parent44a6f923079d51164af67c7bc3f3e0db24658088 (diff)
gentoo auto-resync : 11:03:2023 - 18:08:11
Diffstat (limited to 'dev-util/glib-utils')
-rw-r--r--dev-util/glib-utils/Manifest2
-rw-r--r--dev-util/glib-utils/glib-utils-2.76.0.ebuild62
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-util/glib-utils/Manifest b/dev-util/glib-utils/Manifest
index 42d118323370..6ef85859ea8f 100644
--- a/dev-util/glib-utils/Manifest
+++ b/dev-util/glib-utils/Manifest
@@ -1,5 +1,7 @@
DIST glib-2.74.5.tar.xz 5211852 BLAKE2B 5bf0069cbf949a946357127682e4f687c7e7b8565037024a232b3e905e65bebb86d016832b6274f743005ec8fe5fcd31eaf99ccece82d9d7c3f924d17502c409 SHA512 2716e0fe984cc5d0714e91fe0de47ee71a8bd0b4c85caee337ddb7e02ac2fb3c8c007ccc1207b29cf901c30a7ec8e3bcca75d69c6fab2a32a8cf14bff974e614
DIST glib-2.74.6.tar.xz 5217312 BLAKE2B 07b0a5cb74c1451ba863d5f9a781a122d3d20af1f1227177025de114279277cacada3dd6ab5eb5ad5c0bff5ac7abab6fdfbe0551f44d07b2ddc9141a0640a8c8 SHA512 6b6d113012ec90f6cf77513ec0132668c49aa7224c806181ad662388701004667cdf6d263050d6f896b8688c085abf461aa3e659eb288e6ba93ba4970a2f181b
+DIST glib-2.76.0.tar.xz 5268620 BLAKE2B 74bfba6254787b6b386161c329899fe6a53c87290261866f8aceb6e23ebf0bcacd085b04f480a7297d6fc11d37a676fb2fad5661e9f2668ae81f872ff5e2054f SHA512 812834ca6d840dd9c15c0689685d8bd96f4acd69a89213f807a75732d1aa5efadbed0e0073f05a56a09beb2d4f0be1b83a4642259682aac84302632da2d62370
EBUILD glib-utils-2.74.5.ebuild 2332 BLAKE2B 0732180201fd68ab2775d231ba1eddf10ee8cc5092cecd1a50b2161417fb27c8d299c1908b933711013fc5b8b881d15a298b7ad60f743f39fb82fbcb2f5aa093 SHA512 fe9cac3eaca77c746a09d5ff451e308b8274c986a8dd8dedf974b1536a44235dadb963843b6ad4067b477e5269b668008289b5e8405ede4b03269080926b3d48
EBUILD glib-utils-2.74.6.ebuild 2340 BLAKE2B 9a64c220aa19f3ac6d111cb1b825c926d673d0537331e9d69d5e42693d2e800358be6b83e649af01d3537f5eead7db010f67d9509c3593f6e117ac6a467a0784 SHA512 ecca302d5990aaa0d345b1aba5bdc31fd214243c5df875a1c147d401b0121aa0eb1d76c0bfc3018916078b7b91bd0ca53ad11b67f405611f5004e8e50653540b
+EBUILD glib-utils-2.76.0.ebuild 2340 BLAKE2B 9a64c220aa19f3ac6d111cb1b825c926d673d0537331e9d69d5e42693d2e800358be6b83e649af01d3537f5eead7db010f67d9509c3593f6e117ac6a467a0784 SHA512 ecca302d5990aaa0d345b1aba5bdc31fd214243c5df875a1c147d401b0121aa0eb1d76c0bfc3018916078b7b91bd0ca53ad11b67f405611f5004e8e50653540b
MISC metadata.xml 401 BLAKE2B bdf1884a4dcf8ab8362a86ed6559bb887c026bc315bd8cbfca0b5d8def8102636965da5af0f1871096704309a4a0919028d02f168a91830aa4ed911c6583d103 SHA512 2eaaccd9c6bd6e059b3acf34c964857a9e541f2eedd191c0fa35eca3499242349184ab01becca40791ac1dcdf02ba4a75369ea9c69fa5c21f15d878b1c28c453
diff --git a/dev-util/glib-utils/glib-utils-2.76.0.ebuild b/dev-util/glib-utils/glib-utils-2.76.0.ebuild
new file mode 100644
index 000000000000..33bfee268b48
--- /dev/null
+++ b/dev-util/glib-utils/glib-utils-2.76.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..11} )
+GNOME_ORG_MODULE="glib"
+
+inherit gnome.org python-single-r1
+
+DESCRIPTION="Build utilities for GLib using projects"
+HOMEPAGE="https://www.gtk.org/"
+
+LICENSE="LGPL-2.1+"
+SLOT="0" # /usr/bin utilities that can't be parallel installed by their nature
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-libs/libxslt
+ app-text/docbook-xsl-stylesheets
+"
+
+src_configure() { :; }
+
+do_xsltproc_command() {
+ # Taken from meson.build for manual manpage building - keep in sync (also copied to dev-util/gdbus-codegen)
+ 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() {
+ sed -e "s:@VERSION@:${PV}:g;s:@PYTHON@:python:g" gobject/glib-genmarshal.in > gobject/glib-genmarshal || die
+ sed -e "s:@VERSION@:${PV}:g;s:@PYTHON@:python:g" gobject/glib-mkenums.in > gobject/glib-mkenums || die
+ sed -e "s:@GLIB_VERSION@:${PV}:g;s:@PYTHON@:python:g" glib/gtester-report.in > glib/gtester-report || die
+ do_xsltproc_command docs/reference/gobject/glib-genmarshal.xml docs/reference/gobject/glib-genmarshal.1
+ do_xsltproc_command docs/reference/gobject/glib-mkenums.xml docs/reference/gobject/glib-mkenums.1
+ do_xsltproc_command docs/reference/glib/gtester-report.xml docs/reference/glib/gtester-report.1
+}
+
+src_install() {
+ python_fix_shebang gobject/glib-genmarshal
+ python_fix_shebang gobject/glib-mkenums
+ python_fix_shebang glib/gtester-report
+ exeinto /usr/bin
+ doexe gobject/glib-genmarshal
+ doexe gobject/glib-mkenums
+ doexe glib/gtester-report
+ doman docs/reference/gobject/glib-genmarshal.1
+ doman docs/reference/gobject/glib-mkenums.1
+ doman docs/reference/glib/gtester-report.1
+}