diff options
Diffstat (limited to 'gnome-extra/gnome-software/gnome-software-3.22.4.ebuild')
-rw-r--r-- | gnome-extra/gnome-software/gnome-software-3.22.4.ebuild | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/gnome-extra/gnome-software/gnome-software-3.22.4.ebuild b/gnome-extra/gnome-software/gnome-software-3.22.4.ebuild new file mode 100644 index 00000000000..10a2e6a12f0 --- /dev/null +++ b/gnome-extra/gnome-software/gnome-software-3.22.4.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit gnome2 python-any-r1 virtualx + +DESCRIPTION="Gnome install & update software" +HOMEPAGE="http://wiki.gnome.org/Apps/Software" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gnome spell test udev" + +RDEPEND=" + >=app-admin/packagekit-base-1.1.0 + app-crypt/libsecret + dev-db/sqlite:3 + >=dev-libs/appstream-glib-0.6.5:0 + >=dev-libs/glib-2.46:2 + >=dev-libs/json-glib-1.1.1 + >=gnome-base/gsettings-desktop-schemas-3.11.5 + >=net-libs/libsoup-2.51.92:2.4 + sys-auth/polkit + >=x11-libs/gdk-pixbuf-2.31.5 + >=x11-libs/gtk+-3.20:3 + gnome? ( >=gnome-base/gnome-desktop-3.17.92:3= ) + spell? ( app-text/gtkspell:3 ) + udev? ( virtual/libgudev ) +" +DEPEND="${RDEPEND} + app-text/docbook-xml-dtd:4.2 + dev-libs/libxslt + >=dev-util/intltool-0.35 + virtual/pkgconfig + test? ( + ${PYTHON_DEPS} + $(python_gen_any_dep 'dev-util/dogtail[${PYTHON_USEDEP}]') ) +" +# test? ( dev-util/valgrind ) + +python_check_deps() { + use test && has_version "dev-util/dogtail[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + # valgrind fails with SIGTRAP + sed -e 's/TESTS = .*/TESTS =/' \ + -i "${S}"/src/Makefile.{am,in} || die + + gnome2_src_prepare +} + +src_configure() { + # FIXME: investigate limba and firmware update support + gnome2_src_configure \ + --enable-man \ + --enable-packagekit \ + --enable-polkit \ + --disable-firmware \ + --disable-limba \ + --disable-ostree \ + --disable-rpm \ + --disable-steam \ + --disable-xdg-app \ + $(use_enable spell gtkspell) \ + $(use_enable test dogtail) \ + $(use_enable test tests) \ + $(use_enable udev gudev) +} + +src_test() { + virtx emake check TESTS_ENVIRONMENT="dbus-run-session" +} |