commit:     1bc7785e1e832a21d742a5a62c0085f42cc04822
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Sun May 24 16:23:04 2015 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Sun May 24 16:30:54 2015 +0000
URL:        https://gitweb.gentoo.org/proj/gnome.git/commit/?id=1bc7785e

gnome-extra/gnome-builder: QAed

* Add missing introspection dependency.
* Add missing handling of python interpreter.
* Add missing uncrustify dependency, via Fedora .spec and checked in
  source code.
* Add unittest handling even though some fail for me.
* Add other missing build dependencies.

 .../gnome-builder/gnome-builder-3.16.3.ebuild      | 35 +++++++++++++++++-----
 gnome-extra/gnome-builder/metadata.xml             |  5 ++++
 2 files changed, 33 insertions(+), 7 deletions(-)

diff --git a/gnome-extra/gnome-builder/gnome-builder-3.16.3.ebuild 
b/gnome-extra/gnome-builder/gnome-builder-3.16.3.ebuild
index 6afadc2..3d5161d 100644
--- a/gnome-extra/gnome-builder/gnome-builder-3.16.3.ebuild
+++ b/gnome-extra/gnome-builder/gnome-builder-3.16.3.ebuild
@@ -4,34 +4,55 @@
 
 EAPI="5"
 GCONF_DEBUG="no"
+PYTHON_COMPAT=( python{3_3,3_4} )
 
-inherit gnome2
+inherit gnome2 python-single-r1 virtualx
 
 DESCRIPTION="Builder attempts to be an IDE for writing software for GNOME"
 HOMEPAGE="https://wiki.gnome.org/Apps/Builder";
 
-LICENSE="GPL-3+ GPL-2+ LGPL-3+ LGPL-2+ MIT CC-BY-SA CC0"
+LICENSE="GPL-3+ GPL-2+ LGPL-3+ LGPL-2+ MIT CC-BY-SA-3.0 CC0-1.0"
 SLOT="0"
 KEYWORDS="~amd64"
 IUSE="+introspection"
 
+# FIXME: some unittests seem to hang forever
 RDEPEND="
+       ${PYTHON_DEPS}
        >=dev-libs/gjs-1.42
        >=dev-libs/glib-2.44:2
        >=dev-libs/libgit2-glib-0.22.6
-       >=dev-libs/libxml2-2.9.0
+       >=dev-libs/libxml2-2.9
        dev-python/pygobject:3
-       >=dev-util/devhelp-3.16.0
+       >=dev-util/devhelp-3.16
+       dev-util/uncrustify
        sys-devel/clang
        >=x11-libs/gtk+-3.16.1:3[introspection?]
-       >=x11-libs/gtksourceview-3.16.1:3.0/3[introspection?]
+       >=x11-libs/gtksourceview-3.16.1:3.0[introspection?]
+       introspection? ( >=dev-libs/gobject-introspection-1.42 )
 "
 DEPEND="${RDEPEND}
+       dev-libs/appstream-glib
+       >=dev-util/gtk-doc-am-1.11
        >=dev-util/intltool-0.50.1
-       >=sys-devel/gettext
+       >=sys-devel/gettext-0.18
        virtual/pkgconfig
 "
+
+pkg_setup() {
+       python-single-r1_pkg_setup
+}
+
 src_configure() {
        gnome2_src_configure \
-               $(use_enable introspection)
+               --disable-static \
+               $(use_enable introspection) \
+               PYTHON3_CONFIG=${PYTHON}-config
+}
+
+src_test() {
+       # FIXME: this should be handled at eclass level
+       "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name 
"${S}/data/gsettings" || die
+
+       GSETTINGS_SCHEMA_DIR="${S}/data/gsettings" Xemake check
 }

diff --git a/gnome-extra/gnome-builder/metadata.xml 
b/gnome-extra/gnome-builder/metadata.xml
new file mode 100644
index 0000000..6e0e2ec
--- /dev/null
+++ b/gnome-extra/gnome-builder/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <herd>gnome</herd>
+</pkgmetadata>

Reply via email to