diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-17 00:09:46 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-17 00:09:46 +0100 |
commit | 74e526c590f52d24a213e25f77858ae0b34ec2c8 (patch) | |
tree | 0f6f22133ae9cc04958f6df6d39a02d90ffb1aaf /dev-libs/gom | |
parent | 0a3feeaba4dbc58966dccdbbfcd7fb14deef0831 (diff) |
gentoo auto-resync : 17:06:2024 - 00:09:46
Diffstat (limited to 'dev-libs/gom')
-rw-r--r-- | dev-libs/gom/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/gom/gom-0.4.ebuild | 4 | ||||
-rw-r--r-- | dev-libs/gom/gom-0.5.1.ebuild | 62 |
3 files changed, 67 insertions, 3 deletions
diff --git a/dev-libs/gom/Manifest b/dev-libs/gom/Manifest index 3aa3cab3af04..2f0e14ca02f8 100644 --- a/dev-libs/gom/Manifest +++ b/dev-libs/gom/Manifest @@ -1,3 +1,5 @@ DIST gom-0.4.tar.xz 102744 BLAKE2B 8116ac388a56e85effbb37c3d5ea5036f6de2f4ad7ee8fe119bd058e1ac3e293eab612a739cdba7467202bc9e258f7cd65b1f116e146577d3a103fc03afba37f SHA512 d847928ce09c53a3f64777c313cb843052e5e001873f29d3f7acf02772cadf0e4b133fb0137aa0463b4ff95dd54810bde87062d8e396ff4fc6d142ba59c8e9c8 -EBUILD gom-0.4.ebuild 1452 BLAKE2B 264e331bc39773ee066a879c7c88343a3019924002e76267d2719a03fbe3174b1041c21c093104e4d1da06ed33aec974cab4f11d53371d0c3f575a8bbad9baa6 SHA512 78e5e1d1239270df02a71a477dcf85da1fa376b8bb63495181eca4e1a337ad1e79b2d0721dcbec3c0af97b58e1457a08fa984c7c0daac5804c16b98ba383ca92 +DIST gom-0.5.1.tar.xz 106004 BLAKE2B 60cb744a77b4f7069430d27a88c6dce87cb5229758c637a49aa0ed05ff659099ba33923e5f576d797776b5af576beb57b0790633a1866f048279d5ae04e74f54 SHA512 6757a664f21cd8c1fb78b6446ed833e7290c9b91a39029363984049af840cd2685f43ebb184f7c966d9e395a1080454c182637fd64a1ff8b63272f4649db6a8a +EBUILD gom-0.4.ebuild 1453 BLAKE2B 6beefcd48a01062886ec1207a70f5c3e2b14792bc003f319a0794b01796c6370602cfbbb34a505fbd9681b527a3ae25fcf753ab3e9c346897f5eff38902e86c9 SHA512 33d0bc52523e334047418cda15f85900ca59d27d3f0dc2bc662d141a4732571e9ca098d783986ae06b6a359782ecc2a6a7dc4986fc9624aaa67e46f16a84e4c3 +EBUILD gom-0.5.1.ebuild 1465 BLAKE2B f740c18926350dbf0a4b2ea82b232308ac7cdedacece6d80e538f3a95d859925100fee9caf1112245e6707137685dc7dd0ac743cbe94c4cc006c92c8ef9da023 SHA512 f6231ae78c206578e0c663eaaf054e0999c13cc49c3e507b770b2b73866446f5c704cb496305f5a71fc9fb6a21902ce286b397ec213db9e443a729a85238ed17 MISC metadata.xml 344 BLAKE2B 773bd02395869023734519494abc83b069dc9909f5a26dba1e6eebe95e10b02b52813aa77437faf67cd580d7192948afd1200e9b3c5f1d5f2908392b4f3199f3 SHA512 831e318fb427b09863c6554405105b3db50bd0986510d80d46b35221d3d3362e708c2b606c888fca263601bc70d60ef92096169bbdae53b6597bdc0bb224edce diff --git a/dev-libs/gom/gom-0.4.ebuild b/dev-libs/gom/gom-0.4.ebuild index 586b7eb92c0f..f4bdfe376d17 100644 --- a/dev-libs/gom/gom-0.4.ebuild +++ b/dev-libs/gom/gom-0.4.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 GCONF_DEBUG="yes" -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit gnome.org meson python-r1 diff --git a/dev-libs/gom/gom-0.5.1.ebuild b/dev-libs/gom/gom-0.5.1.ebuild new file mode 100644 index 000000000000..57602b494bae --- /dev/null +++ b/dev-libs/gom/gom-0.5.1.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..12} ) + +inherit gnome.org meson python-r1 + +DESCRIPTION="GObject to SQLite object mapper library" +HOMEPAGE="https://wiki.gnome.org/Projects/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} )" + +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/gtk-doc + app-text/docbook-xml-dtd:4.3 ) + 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 +} |