diff options
author | Christophe Lermytte <gentoo@lermytte.be> | 2016-12-21 22:51:55 +0100 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2017-01-04 23:37:19 +0100 |
commit | fb8eeff12d0158a52f7853cd3e96c94bd4f2406d (patch) | |
tree | 2ee90f3b042f6e0c7f6911370631353cfbe510c8 /gnome-extra/gnome-software/gnome-software-3.22.4.ebuild | |
parent | 32188d81ecc7cacc69f5cfe6921ca212612a054e (diff) | |
download | gentoo-fb8eeff12d0158a52f7853cd3e96c94bd4f2406d.tar.gz gentoo-fb8eeff12d0158a52f7853cd3e96c94bd4f2406d.tar.xz |
gnome-extra/gnome-software: bump to 3.22.4
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3208
Signed-off-by: Gilles Dartiguelongue <eva@gentoo.org>
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" +} |