dev-util/glib-utils: update to 2.64.3
authorJakov Smolic <jakov.smolic@sartura.hr>
Sat, 23 May 2020 19:44:18 +0000 (21:44 +0200)
committerMatt Turner <mattst88@gentoo.org>
Sun, 24 May 2020 20:32:06 +0000 (13:32 -0700)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
dev-util/glib-utils/Manifest
dev-util/glib-utils/glib-utils-2.64.3.ebuild [new file with mode: 0644]

index ceaf75bf854c0b505820e4e1bc8e9318bae48649..df40c2176a0e91710add801d7fe036ed41fd998e 100644 (file)
@@ -3,3 +3,4 @@ DIST glib-2.62.5.tar.xz 4702492 BLAKE2B 03e04cb149b3301959013c5db20b1f3606951ed8
 DIST glib-2.62.6.tar.xz 4703424 BLAKE2B 0a27245be2575c574dcc730dd051a8c284f421dbc46579aadc5fbbacb8f934af4374b61bb26085e5c9ab78a868c567818f3fb9d67adddce37f5c4fec00e0d276 SHA512 8e3972a371f3c1a50b7d245b30e4f740583ad72ba4ab325e0e15e0732be44dfb69b603fb39dcf4989255a23a181e9ea5dd25982dd94c386cd9f21952243ad6f5
 DIST glib-2.64.1.tar.xz 4758548 BLAKE2B 5585d23fee28d7c32b1bb9e1defbc31ba469aa259e3c328760d1e702d98706cf251bfb50b5e2aed37b2cdfa6ab4319372ddcd0a9937c97a2614741b504af17a5 SHA512 1cefe49a42233f24ac6bd09c134ceea7119f4f74f42204a731be56100a180eec69c8224674f0b08d1538ad0859896ed08260a6af0fed469c7d10b4508116a6bc
 DIST glib-2.64.2.tar.xz 4760436 BLAKE2B 8145684ca9f966f92ed9cdafcbf46c59291dc1215fc9feae482fb33f61bd175a679fe5bc80f031190c9a0eb5eb650fab01e13bdda4bd41e9df3d21c6779681bc SHA512 c65adb76f4a03c19f2df186dde49724135975ec6cd059efca5d753e7459f77925657b1fb6fc4ff0d09b2461b2f6e58c9710fc8cde0a5d648ba0d68ccfef1ec57
+DIST glib-2.64.3.tar.xz 4778964 BLAKE2B 98ec6e15a8ff642fbccd4809d749234d5adae8abcab7a3619caed0aa60370d0409a76a2c64a95998401e8a339dcc264f4f808f3d7be457ff40e38d70b0a8076b SHA512 a3828c37a50e86eb8791be53bd8af848d144e4580841ffab28f3b6eae5144f5cdf4a5d4b43130615b97488e700b274c2468fc7d561b3701a1fc686349501a1db
diff --git a/dev-util/glib-utils/glib-utils-2.64.3.ebuild b/dev-util/glib-utils/glib-utils-2.64.3.ebuild
new file mode 100644 (file)
index 0000000..0dd0c2d
--- /dev/null
@@ -0,0 +1,65 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8} )
+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
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+
+RDEPEND="${PYTHON_DEPS}
+       !<dev-libs/glib-2.56.2:2
+"
+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
+}