commit: 01fc041d581c19ae3dcd102742724d9579eb82fc
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 14 17:01:29 2025 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Dec 14 17:03:52 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01fc041d
dev-libs/gom: add 0.5.5
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
dev-libs/gom/Manifest | 1 +
dev-libs/gom/gom-0.5.5.ebuild | 63 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 64 insertions(+)
diff --git a/dev-libs/gom/Manifest b/dev-libs/gom/Manifest
index 38b726274ac6..94157e4c4d26 100644
--- a/dev-libs/gom/Manifest
+++ b/dev-libs/gom/Manifest
@@ -1,2 +1,3 @@
DIST gom-0.5.3.tar.xz 106204 BLAKE2B
2b8ce1c099e01a18f6b9c74197e395c685ea228d42a7df3b18afdb5af7c351936d50f592d40a072b851cdf8455be1fc9a23fec474e7c8563b48c5ddf22992747
SHA512
b955149847927deeb11ad81c90b7c810d3f4471f8b3b1ed3520447c0293a263d7a758ef8922d84bd1aef48904b8e791259be57c31b546b4ca961039a22a69730
DIST gom-0.5.4.tar.xz 106308 BLAKE2B
f32e9131b45a03a16b145f0f1af651256eacbbe81970bde0838589f385110d824278609976328d8546da2d69e20abf4b35ce9d9e158228b9cda883b49d4aa7ee
SHA512
48822943f072abf97fdff2fe2f36537ad7a6bcfa128a9019023f8a676859acc10316a809ed2f9706753eb431f239a2713337e0034067009a621c51fc205d99c6
+DIST gom-0.5.5.tar.xz 106520 BLAKE2B
6d8b23a52d2114904a990990e5273c1bc4675e8cc2831555e0bb0b2d9770fe9ceb803264abe3337a9f5cfee481458173d49f52dc7f9320bd1ef74eabe50ac850
SHA512
36759debb46509e0f6ce1a33e6f8be06e772df3813b22ce3408240bc0b617aa824fe0f4001da58eceab402cf423e5e58ac111b2d8e9b22db9e3778ae0903a3f5
diff --git a/dev-libs/gom/gom-0.5.5.ebuild b/dev-libs/gom/gom-0.5.5.ebuild
new file mode 100644
index 000000000000..a300f2162b77
--- /dev/null
+++ b/dev-libs/gom/gom-0.5.5.ebuild
@@ -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.82.0-r2:= )
+ 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
+}