summaryrefslogtreecommitdiff
path: root/dev-libs/gom
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-16 12:27:58 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-16 12:27:58 +0100
commitb6fa31c964a602f8461a77d5b83355e8750c12eb (patch)
tree323fa7af31640b3ea8bb57fa7a927713f3d64769 /dev-libs/gom
parent868fd5dc8aab84930cfaa5252b8be06b35552765 (diff)
gentoo auto-resync : 16:07:2024 - 12:27:58
Diffstat (limited to 'dev-libs/gom')
-rw-r--r--dev-libs/gom/Manifest2
-rw-r--r--dev-libs/gom/gom-0.5.2.ebuild62
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-libs/gom/Manifest b/dev-libs/gom/Manifest
index 1705e93cc4ce..48b8be3b215b 100644
--- a/dev-libs/gom/Manifest
+++ b/dev-libs/gom/Manifest
@@ -1,5 +1,7 @@
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
EBUILD gom-0.4.ebuild 1453 BLAKE2B 6beefcd48a01062886ec1207a70f5c3e2b14792bc003f319a0794b01796c6370602cfbbb34a505fbd9681b527a3ae25fcf753ab3e9c346897f5eff38902e86c9 SHA512 33d0bc52523e334047418cda15f85900ca59d27d3f0dc2bc662d141a4732571e9ca098d783986ae06b6a359782ecc2a6a7dc4986fc9624aaa67e46f16a84e4c3
EBUILD gom-0.5.1.ebuild 1436 BLAKE2B 584fc1317533d4eae433672469491d007a24d5d93d8f35f60f1d7fb7eff5f62dc5158c998400da86c6d9d2e88e0382d0696e4e558e1689758b6b47c69a9d7e5d SHA512 5ed71f8708e7e48ec69ebb3a8cb847c5e9ef6a5c82cbac03e7d68a9cf4da9150288e081acc0c63d1104f0a128606bfc087cf25a039ca54494b77e2490fcd0999
+EBUILD gom-0.5.2.ebuild 1466 BLAKE2B ba68819f97ce624cb66514dc140b3d588cf3412e3b88290aac08509352d14ab6ac7dfa619b007cf928f9c40f719d67fcfbf5f926df4af79f3f0b33dd238e0563 SHA512 cb58830d8bfefb640d9d7c46abaa5dfc114181eccbfcdc4df6747167cfe022108edbc6ed9cc27e99ad2c2bcd1c79fed0a0dfe506d5bc8880937489be0810c51e
MISC metadata.xml 344 BLAKE2B 773bd02395869023734519494abc83b069dc9909f5a26dba1e6eebe95e10b02b52813aa77437faf67cd580d7192948afd1200e9b3c5f1d5f2908392b4f3199f3 SHA512 831e318fb427b09863c6554405105b3db50bd0986510d80d46b35221d3d3362e708c2b606c888fca263601bc70d60ef92096169bbdae53b6597bdc0bb224edce
diff --git a/dev-libs/gom/gom-0.5.2.ebuild b/dev-libs/gom/gom-0.5.2.ebuild
new file mode 100644
index 000000000000..7f4067709254
--- /dev/null
+++ b/dev-libs/gom/gom-0.5.2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2024 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 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="gtk-doc +introspection python test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="python? ( introspection ${PYTHON_REQUIRED_USE} )"
+
+BDEPEND="dev-build/gtk-doc-am"
+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
+}