dev-libs/gom: add 0.5.4

Signed-off-by: Lukas Schmelting <lschmelting@posteo.com>
Part-of: https://github.com/gentoo/gentoo/pull/43869
Closes: https://github.com/gentoo/gentoo/pull/43869
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
Lukas Schmelting
2025-09-20 15:52:18 +02:00
committed by Pacho Ramos
parent 9791fd69db
commit 5bc51e2128
2 changed files with 64 additions and 0 deletions

View File

@@ -2,3 +2,4 @@ DIST gom-0.4.tar.xz 102744 BLAKE2B 8116ac388a56e85effbb37c3d5ea5036f6de2f4ad7ee8
DIST gom-0.5.1.tar.xz 106004 BLAKE2B 60cb744a77b4f7069430d27a88c6dce87cb5229758c637a49aa0ed05ff659099ba33923e5f576d797776b5af576beb57b0790633a1866f048279d5ae04e74f54 SHA512 6757a664f21cd8c1fb78b6446ed833e7290c9b91a39029363984049af840cd2685f43ebb184f7c966d9e395a1080454c182637fd64a1ff8b63272f4649db6a8a
DIST gom-0.5.2.tar.xz 106068 BLAKE2B 4510f4e5c7cb85c2e05f43978d9995192a05d1270af9bb2ac16d44a57a76d4b31b2ffff8f8548cbd59f564ab59b903000090edc53d05ea0999a29250ec87e978 SHA512 e82e628a62da2a93282f75ebfd2ec158c54b734a107418972085520536f8aebf50701253afb3a2fa3927c637d75403881aed96c175fcf9ae9f71a735f16f6f19
DIST gom-0.5.3.tar.xz 106204 BLAKE2B 2b8ce1c099e01a18f6b9c74197e395c685ea228d42a7df3b18afdb5af7c351936d50f592d40a072b851cdf8455be1fc9a23fec474e7c8563b48c5ddf22992747 SHA512 b955149847927deeb11ad81c90b7c810d3f4471f8b3b1ed3520447c0293a263d7a758ef8922d84bd1aef48904b8e791259be57c31b546b4ca961039a22a69730
DIST gom-0.5.4.tar.xz 106308 BLAKE2B f32e9131b45a03a16b145f0f1af651256eacbbe81970bde0838589f385110d824278609976328d8546da2d69e20abf4b35ce9d9e158228b9cda883b49d4aa7ee SHA512 48822943f072abf97fdff2fe2f36537ad7a6bcfa128a9019023f8a676859acc10316a809ed2f9706753eb431f239a2713337e0034067009a621c51fc205d99c6

View File

@@ -0,0 +1,63 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
GCONF_DEBUG="yes"
PYTHON_COMPAT=( python3_{11..14} )
inherit gnome.org meson python-r1
DESCRIPTION="GObject to SQLite object mapper library"
HOMEPAGE="https://gitlab.gnome.org/GNOME/gom"
LICENSE="LGPL-2+ FDL-1.1+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="gtk-doc +introspection python test"
RESTRICT="!test? ( test )"
REQUIRED_USE="python? ( introspection ${PYTHON_REQUIRED_USE} )"
BDEPEND=""
RDEPEND="
>=dev-db/sqlite-3.7:3
>=dev-libs/glib-2.38:2
introspection? ( >=dev-libs/gobject-introspection-1.30.0:= )
python? ( ${PYTHON_DEPS}
>=dev-python/pygobject-3.16:3[${PYTHON_USEDEP}] )
"
DEPEND="${RDEPEND}
gtk-doc? ( dev-util/gi-docgen )
virtual/pkgconfig
test? ( x11-libs/gdk-pixbuf:2 )
"
src_prepare() {
default
sed -i -e '/subdir.*python/d' bindings/meson.build || die
# drop test building and deps if not enabled
if ! use test; then
sed -i -e '/gdkpixbuf_dep/d' meson.build || die
sed -i -e '/subdir(.*tests.*)/d' meson.build || die
fi
}
src_configure() {
local emesonargs=(
$(meson_use introspection enable-introspection)
$(meson_use gtk-doc enable-gtk-doc)
)
meson_src_configure
}
src_install() {
docinto examples
dodoc examples/*.py
meson_src_install
if use python; then
python_foreach_impl python_domodule bindings/python/gi
fi
}