mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
dev-libs/json-glib: drop 1.8.0, EAPI=7--
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
parent
661c684015
commit
a0d95666ee
@ -1,4 +1,3 @@
|
||||
DIST json-glib-1.10.0.tar.xz 252652 BLAKE2B 83f0707c18806c90640fa36208d8aeb46c9902660484c24e4c736b72d35bb0997ab7b0c62fe3f8f4cd5001abb31ca979d75fd0eff54afa57116d360d1ac9e118 SHA512 cafe813c465e69bc002965483359354be0c0af1af8302e93416e25f835103cb9cd2c07ae51783dc28b69512562b3fdd6f62fdcc4c5952d59e667b3fc7740df06
|
||||
DIST json-glib-1.10.6.tar.xz 253324 BLAKE2B 125ba305d5d33ecb1a1fbe46322c5035c7f97bd49e8eeef26e3c9c5d829693978fdc10bbe3d926cd4d07f8fd80c9df282d5ff7fe80ab4a6ab8e17c93e9d362d4 SHA512 e1c0e33b17333cf94beb381f505c1819090a11b616dcc23a883f231029dff277c2482823278cbf7b8a07e237d45cbfc7b05f132e1234beff609a739fd5704c6e
|
||||
DIST json-glib-1.10.8.tar.xz 1294096 BLAKE2B c24cf2b5c4a24bc8eaa31a52aff23522b1fb98724bff445fd766d6def8138535ba24ba52d7dd9a348891c604ca747df4affb86170af486f6987c8810ccfe2f44 SHA512 f4ba8660b586a4e738803e4dbfdfcd34fa7ceba9189e7bf3f2b50e21f4d4886f99535ceb3453c89b1d1ae8d96bf4168a135b73b7e1a2dbc46b19e9b710ad56a1
|
||||
DIST json-glib-1.8.0.tar.xz 157300 BLAKE2B eef0344c353bb9288efb700a6041342379627b924a042263e011f21140166b57b108f6816e80ac692159b49943f9c1afeb722efafa34e8c60f2fcdf53a0dc034 SHA512 e4fe16bb7c5b72fcf9c0966ac1903ff0cd74ec8eab891db4b94e92353bdcb57b24613b6c2cce7bfa1996603c367d1b4939c12209369dfb915aac0f3804a3a900
|
||||
|
||||
@ -1,69 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit gnome.org meson-multilib xdg-utils
|
||||
|
||||
DESCRIPTION="Library providing GLib serialization and deserialization for the JSON format"
|
||||
HOMEPAGE="https://wiki.gnome.org/Projects/JsonGlib"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
|
||||
IUSE="gtk-doc +introspection nls test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.54.0:2[${MULTILIB_USEDEP}]
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
# TODO: Can we use a newer docbook-xml-dtd, or is one needed at all?
|
||||
BDEPEND="
|
||||
~app-text/docbook-xml-dtd-4.1.2
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
dev-util/glib-utils
|
||||
gtk-doc? ( >=dev-util/gi-docgen-2021.6 )
|
||||
>=sys-devel/gettext-0.18
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-werror.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
xdg_environment_reset
|
||||
default
|
||||
|
||||
# Disable installed-tests; this also indirectly removes
|
||||
# build_aux/gen-installed-test.py calls, thus not needing
|
||||
# python-any-r1.eclass
|
||||
sed -e 's/install: true/install: false/g' -i json-glib/tests/meson.build || die
|
||||
sed -e '/install_data/d' -i json-glib/tests/meson.build || die
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local emesonargs=(
|
||||
# Never use gi-docgen subproject
|
||||
--wrap-mode nofallback
|
||||
|
||||
$(meson_native_use_feature introspection)
|
||||
$(meson_native_use_feature gtk-doc gtk_doc)
|
||||
$(meson_native_true man)
|
||||
|
||||
$(meson_feature nls)
|
||||
$(meson_use test tests)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
if use gtk-doc ; then
|
||||
# Move to location that <devhelp-41 will see, reconsider once devhelp-41 is stable
|
||||
mkdir -p "${ED}"/usr/share/gtk-doc/html || die
|
||||
mv "${ED}"/usr/share/doc/json-glib-1.0 "${ED}"/usr/share/gtk-doc/html/ || die
|
||||
fi
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user