commit:     0d86ef675f3c1c6426c348dd45fa887403f0eb03
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 16 05:01:55 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun 16 05:01:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d86ef67

dev-libs/gom: add 0.5.3

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/gom/Manifest         |  1 +
 dev-libs/gom/gom-0.5.3.ebuild | 62 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/dev-libs/gom/Manifest b/dev-libs/gom/Manifest
index 394ee5dc8317..6915f5985ead 100644
--- a/dev-libs/gom/Manifest
+++ b/dev-libs/gom/Manifest
@@ -1,3 +1,4 @@
 DIST gom-0.4.tar.xz 102744 BLAKE2B 
8116ac388a56e85effbb37c3d5ea5036f6de2f4ad7ee8fe119bd058e1ac3e293eab612a739cdba7467202bc9e258f7cd65b1f116e146577d3a103fc03afba37f
 SHA512 
d847928ce09c53a3f64777c313cb843052e5e001873f29d3f7acf02772cadf0e4b133fb0137aa0463b4ff95dd54810bde87062d8e396ff4fc6d142ba59c8e9c8
 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

diff --git a/dev-libs/gom/gom-0.5.3.ebuild b/dev-libs/gom/gom-0.5.3.ebuild
new file mode 100644
index 000000000000..5a063d53f243
--- /dev/null
+++ b/dev-libs/gom/gom-0.5.3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+GCONF_DEBUG="yes"
+PYTHON_COMPAT=( python3_{10..13} )
+
+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
+}

Reply via email to