diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-21 22:50:10 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-21 22:50:10 +0000 |
commit | b6e823198d27bc8b1abf6ad0956f3b33ff1d35a0 (patch) | |
tree | 372d772f8bb2aa14c207514eca339cd413ca076f /dev-util/glib-utils | |
parent | a20d6a70837f7859762be1d1c9d13e1a20212320 (diff) |
gentoo auto-resync : 21:01:2024 - 22:50:10
Diffstat (limited to 'dev-util/glib-utils')
-rw-r--r-- | dev-util/glib-utils/Manifest | 2 | ||||
-rw-r--r-- | dev-util/glib-utils/glib-utils-2.78.4.ebuild | 62 |
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-util/glib-utils/Manifest b/dev-util/glib-utils/Manifest index 722a8c788c2e..8c7ade78e9ae 100644 --- a/dev-util/glib-utils/Manifest +++ b/dev-util/glib-utils/Manifest @@ -1,5 +1,7 @@ DIST glib-2.76.4.tar.xz 5274356 BLAKE2B c9ceb514ea81e1e6ab2d0efc82c48c0d8ae6c997fd0e3c56d47a5174b027f785b58266fff73b1d1132e272305126fbff22e3c65d47de46224cd12fa49796d5bc SHA512 f76932dc5090a44880373228e2b162f338415d06f7c90f2950eab1a43bb191c56a1797da4d377594f6a999197fef4defb848039259cfa4105bb68288a928f5b7 DIST glib-2.78.3.tar.xz 5321388 BLAKE2B 6ef754b15e1ce4377eafdfc317025ac65c3d8010a8816a0cef786cec9da2af9f7d7d1da735c971ab8c848b2dcec050330e5b0fdceb156a36d739848e6160cd19 SHA512 9c1af75fb973d23ce0286d5b7836eea45f9628c148ced5ac10e10abceda05024ae4c57f01439824d3287d986527500b7b959828b630b6e4a3314b5224f4d7246 +DIST glib-2.78.4.tar.xz 5331892 BLAKE2B ada7134597d7d863e581a2bb1097ac07a63b27b53309aadab5b1d3686327ee718ad8c5c07af3fce5cc12328e728fc2c4df5fd9e69f431fa00dc634062ef7f926 SHA512 6f3a06e10e7373a2dbf0688512de4126472fb73cbec488b7983b5ffecff09c64d7e1ca462f892e8f215d3d277d103ca802bad7ef0bd0f91edf26fc6ce67187b6 EBUILD glib-utils-2.76.4.ebuild 2277 BLAKE2B 6ea8ae1bde6cb702d3b9cbc868839f7fd1a4bd917cc34dcfac5d5f17dfdf5fe82e29349da92479a69000a1c65b5a305aab7ae1f8325e9380b4f647f5c6a3fb0f SHA512 376ae52d0362bd3ae698ea96e02bd7046be2fa6052af5a9e156cf266b720896b46f0983e6fb34520ff894a6b6558498cd4819291df0f9494d549f896a8d0e59d EBUILD glib-utils-2.78.3.ebuild 2280 BLAKE2B c2b16af0828ffdf746b31efc51bff065ad1eef44671df3533802047ed5ab6414a450bf918260d427510192a3b4b37a8116116bdaed125bea6ded6c7a5fc0b77d SHA512 be89fda914f0aac02b5344f0a0aa66c06231f381f1d9b2c4367608962d04df8efa3e8886ec3ea76f1845ba9b48b8107b8c405e3de790702e95d06c718db684a3 +EBUILD glib-utils-2.78.4.ebuild 2286 BLAKE2B aab86e1937e4854da6a85c21618757567abbf95b83290ee8b92fa4aea88f24f01a2c532d929c967ef8014881485c5b996e5513f3ec908677d065da813ea4b4ad SHA512 1fcac613e3187b84235b8ae0fe20f9b73aaf68f9d9ada62d720e67a8989a2cfed3c375e7483dc78c32379a372179c9618c1d46e11c8cb3f22c8ded3c346f6f5c MISC metadata.xml 401 BLAKE2B bdf1884a4dcf8ab8362a86ed6559bb887c026bc315bd8cbfca0b5d8def8102636965da5af0f1871096704309a4a0919028d02f168a91830aa4ed911c6583d103 SHA512 2eaaccd9c6bd6e059b3acf34c964857a9e541f2eedd191c0fa35eca3499242349184ab01becca40791ac1dcdf02ba4a75369ea9c69fa5c21f15d878b1c28c453 diff --git a/dev-util/glib-utils/glib-utils-2.78.4.ebuild b/dev-util/glib-utils/glib-utils-2.78.4.ebuild new file mode 100644 index 000000000000..57dd67799dfe --- /dev/null +++ b/dev-util/glib-utils/glib-utils-2.78.4.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{10..12} ) +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 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +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 +} |