summaryrefslogtreecommitdiff
path: root/dev-libs/gom
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/gom')
-rw-r--r--dev-libs/gom/Manifest5
-rw-r--r--dev-libs/gom/gom-0.3.2.ebuild76
-rw-r--r--dev-libs/gom/metadata.xml8
3 files changed, 89 insertions, 0 deletions
diff --git a/dev-libs/gom/Manifest b/dev-libs/gom/Manifest
new file mode 100644
index 000000000000..e789d26b9ade
--- /dev/null
+++ b/dev-libs/gom/Manifest
@@ -0,0 +1,5 @@
+DIST gom-0.3.2.tar.xz 410300 SHA256 bce8f0f94af6ff7847b853580ba6baebbab8ae531cedb0c78a5c473f39c758fd SHA512 a7bfb263e5ff6f89768d8fcbdcc949d4ec9b82ecbb80952becd357a3d5781a60e52a327e865e39e46d542b2a2c5e5c861e5302d7ae3c3a2258d3c3f698263675 WHIRLPOOL b676f4117c66fbe47b4216b3f5e4259e0569bcf355ca2f474498c29218d42093ac66e3afb0eb1cd946837e813f4e7c3ff981e99a726458150c00c89653d06559
+EBUILD gom-0.3.2.ebuild 1545 SHA256 3d886328c11a1bb2b03a15331625eaa70bebc2d7599582aeb1f1fc96dfceac5b SHA512 e4807da82557e088039e8d9b890e9b65086843a08ef55574e4749099fb3937287696ac78c5d664be23e2c0ec5c1e13f6cbac8253874321611d83b7fdf111a284 WHIRLPOOL 47236ba098875642282b684705b54f5e916e90b7686aab58469c7ab5b2a66520baf9eb1100856b06ad0113bd820557dbc0116186e1a7e24b8045769e247afae8
+MISC ChangeLog 3631 SHA256 12a42f4a6c8d65d49f6670df9f057d9ec3d28c932dd72cc6dc33665254c89ec2 SHA512 95f9c3a165dd6be10b81f73a6c1a4ed970738296667f70e1c511201035a5595144939cff7558bd7382baad23b3dd0a55ae257948c8f7ec620b8e2d1974b97660 WHIRLPOOL 06568f6ae38c6893cbcc3110c61860fa34afd64e8e468c0ad172f482767cf9508d627548e37e9957d42134297d966ef756010d3cdd2b90c81e271c8c46fc20a8
+MISC ChangeLog-2015 1613 SHA256 2b1a5ebdc5bb0de219088d9b082b8294967157606a01711d8229298a7b998197 SHA512 d66733abff2471b7dfebe183c188350325cf85868397589b166c81b2a77f67c6b6c9a30bfc32dcbe167e13919a88ebf6b2626b76044cad58caa9d232379c8a0b WHIRLPOOL 7f75f131c75bb8706851c2a00605cd63b8c85897b8643d07e590704ec4853ebf6b6ba404acfc3652664d6ac43279e641a1cad89e23fc20a839761ddb94695815
+MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92
diff --git a/dev-libs/gom/gom-0.3.2.ebuild b/dev-libs/gom/gom-0.3.2.ebuild
new file mode 100644
index 000000000000..f79646f4bcac
--- /dev/null
+++ b/dev-libs/gom/gom-0.3.2.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+GCONF_DEBUG="yes"
+PYTHON_COMPAT=( python{3_4,3_5} )
+
+inherit gnome2 python-r1
+
+DESCRIPTION="GObject to SQLite object mapper library"
+HOMEPAGE="https://wiki.gnome.org/Projects/Gom"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
+IUSE="+introspection python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} introspection )"
+
+RDEPEND="
+ >=dev-db/sqlite-3.7:3
+ >=dev-libs/glib-2.36:2
+ introspection? ( >=dev-libs/gobject-introspection-1.30.0:= )
+ python? (
+ ${PYTHON_DEPS}
+ >=dev-python/pygobject-3.16:3[${PYTHON_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/gtk-doc-am-1.14
+ >=dev-util/intltool-0.40.0
+ sys-devel/gettext
+ virtual/pkgconfig
+ x11-libs/gdk-pixbuf:2
+"
+# TODO: make gdk-pixbuf properly optional with USE=test
+
+pkg_setup() {
+ use python && python_setup
+}
+
+src_prepare() {
+ gnome2_src_prepare
+
+ use python && python_copy_sources
+}
+
+src_configure() {
+ # glibtest is a relic from AM_PATH_GLIB macro
+ local myconf=(
+ --disable-static
+ --disable-glibtest
+ )
+
+ gnome2_src_configure \
+ ${myconf[@]} \
+ --disable-python \
+ $(use_enable introspection)
+
+ if use python ; then
+ python_foreach_impl run_in_build_dir \
+ gnome2_src_configure \
+ ${myconf[@]} \
+ --enable-python
+ fi
+}
+
+src_install() {
+ gnome2_src_install
+
+ if use python ; then
+ docinto examples
+ dodoc examples/*.py
+
+ python_foreach_impl run_in_build_dir \
+ emake DESTDIR="${D}" install-overridesPYTHON
+ fi
+}
diff --git a/dev-libs/gom/metadata.xml b/dev-libs/gom/metadata.xml
new file mode 100644
index 000000000000..39980802b1da
--- /dev/null
+++ b/dev-libs/gom/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+</maintainer>
+</pkgmetadata>