diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2016-01-03 14:18:08 +0100 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2016-01-03 14:23:57 +0100 |
commit | f624f22e1a2869b17230b5da952f974a0a7cc79c (patch) | |
tree | 39f158f35282668106e4646e0835e59e388ffb11 /gnome-extra | |
parent | app-admin/packagekit-qt4: version bump to 0.9.5 (diff) | |
download | gentoo-f624f22e1a2869b17230b5da952f974a0a7cc79c.tar.gz gentoo-f624f22e1a2869b17230b5da952f974a0a7cc79c.tar.bz2 gentoo-f624f22e1a2869b17230b5da952f974a0a7cc79c.zip |
gnome-extra/gnome-packagekit: version bump to 3.18.0, bug #569770
Package-Manager: portage-2.2.26
Diffstat (limited to 'gnome-extra')
-rw-r--r-- | gnome-extra/gnome-packagekit/Manifest | 1 | ||||
-rw-r--r-- | gnome-extra/gnome-packagekit/gnome-packagekit-3.18.0.ebuild | 89 |
2 files changed, 90 insertions, 0 deletions
diff --git a/gnome-extra/gnome-packagekit/Manifest b/gnome-extra/gnome-packagekit/Manifest index 37eb36aee31d..6b5f889ca2cc 100644 --- a/gnome-extra/gnome-packagekit/Manifest +++ b/gnome-extra/gnome-packagekit/Manifest @@ -1 +1,2 @@ DIST gnome-packagekit-3.12.2.tar.xz 4596908 SHA256 a4d5fca6f9481b48202f996c8a3835051c98b6e6df0929394704c3c41e28afb2 SHA512 e1e5cd296e4bc99c13d71805de530be644b4ac3a9bd5580d36ebd880a22292ec91ce9ad28a8ff66f0cb2285a5bc0c80f1b47421c9bbf7b2c9e2c1c17131bc21d WHIRLPOOL 66f23046d3fd262b5a5fbc470d762baaafbb75fb1c9e832f408672b8c399580a1ad2a9e7b03acd81c00c6a486074b224eed4b15d1377354f557823f6282013de +DIST gnome-packagekit-3.18.0.tar.xz 1789556 SHA256 a0a862f0fd0adec9e4110277c599f57404d4fb655e68448d93fe9c7500e2fc28 SHA512 500c6dfe20a127eab35ccf7447ae18f81ad5c1b34e604b56fc6e4ae0f2b5ad24a7f009da32ffeb010a596d18b8680f8d93f774dc7fe2455546f09b30bda589e8 WHIRLPOOL 39d63d616e63579ac26df40683895e150d3bfb6e12852d59d67984f2fc246364304a295bb8f7a458c96c84c5d03d480d41c2e0ab56b788f63148e86d92bf882a diff --git a/gnome-extra/gnome-packagekit/gnome-packagekit-3.18.0.ebuild b/gnome-extra/gnome-packagekit/gnome-packagekit-3.18.0.ebuild new file mode 100644 index 000000000000..7013d51a7354 --- /dev/null +++ b/gnome-extra/gnome-packagekit/gnome-packagekit-3.18.0.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="no" + +inherit gnome2 virtualx + +DESCRIPTION="PackageKit client for the GNOME desktop" +HOMEPAGE="http://www.freedesktop.org/software/PackageKit/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="systemd test udev" + +# gdk-pixbuf used in gpk-animated-icon +# pango used on gpk-common +RDEPEND=" + >=dev-libs/glib-2.32:2 + x11-libs/gdk-pixbuf:2 + >=x11-libs/gtk+-3.15.3:3 + >=x11-libs/libnotify-0.7.0:= + x11-libs/pango + + >=app-admin/packagekit-base-0.8 + >=app-admin/packagekit-gtk-0.7.2 + >=media-libs/libcanberra-0.10[gtk3] + >=sys-apps/dbus-1.1.2 + + media-libs/fontconfig + x11-libs/libX11 + + systemd? ( >=sys-apps/systemd-42 ) + !systemd? ( sys-auth/consolekit ) + udev? ( virtual/libgudev:= ) +" +DEPEND="${RDEPEND} + app-text/docbook-sgml-utils + dev-libs/appstream-glib + >=dev-util/gtk-doc-am-1.9 + >=dev-util/intltool-0.35 + dev-libs/libxslt + sys-devel/gettext + virtual/pkgconfig +" + +# NOTES: +# app-text/docbook-sgml-utils required for man pages + +# UPSTREAM: +# misuse of CPPFLAGS/CXXFLAGS ? +# see if tests can forget about display (use eclass for that ?) + +src_prepare() { + # * disable tests with graphical dialogs and that require packagekitd + # to be run with the dummy backend and installed .ui files + # * disable tests that fails every time packagekit developers make a + # tiny change to headers + sed -e '/g_test_add_func.*gpk_test_enum_func/d' \ + -e '/g_test_add_func.*gpk_test_dbus_task_func/d' \ + -e '/g_test_add_func.*gpk_test_error_func/d' \ + -e '/g_test_add_func.*gpk_test_modal_dialog/d' \ + -e '/g_test_add_func.*gpk_test_task_func/d' \ + -i src/gpk-self-test.c || die + + # Disable stupid flags + # FIXME: touching configure.ac triggers maintainer-mode + sed -e '/CPPFLAGS="$CPPFLAGS -g"/d' -i configure || die + + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --localstatedir=/var \ + --enable-iso-c \ + $(use_enable systemd) \ + $(use_enable test tests) \ + $(use_enable udev gudev) +} + +src_test() { + "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die + + unset DISPLAY + GSETTINGS_SCHEMA_DIR="${S}/data" Xemake check +} |