summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-06-25 19:57:42 +0200
committerPacho Ramos <pacho@gentoo.org>2016-06-25 20:42:42 +0200
commit9188091b92f59750efaab6667f25155a115894bc (patch)
treeb13f7af0185865d5e4ed67e63c96bdcc589aeada /gnome-extra/gnome-packagekit
parentgnome-extra/gnome-logs: Version bump (diff)
downloadgentoo-9188091b92f59750efaab6667f25155a115894bc.tar.gz
gentoo-9188091b92f59750efaab6667f25155a115894bc.tar.bz2
gentoo-9188091b92f59750efaab6667f25155a115894bc.zip
gnome-extra/gnome-packagekit: Version bump
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'gnome-extra/gnome-packagekit')
-rw-r--r--gnome-extra/gnome-packagekit/Manifest1
-rw-r--r--gnome-extra/gnome-packagekit/gnome-packagekit-3.20.0.ebuild85
2 files changed, 86 insertions, 0 deletions
diff --git a/gnome-extra/gnome-packagekit/Manifest b/gnome-extra/gnome-packagekit/Manifest
index 23efd49dc93..f51f846b41d 100644
--- a/gnome-extra/gnome-packagekit/Manifest
+++ b/gnome-extra/gnome-packagekit/Manifest
@@ -1 +1,2 @@
DIST gnome-packagekit-3.18.0.tar.xz 1789556 SHA256 a0a862f0fd0adec9e4110277c599f57404d4fb655e68448d93fe9c7500e2fc28 SHA512 500c6dfe20a127eab35ccf7447ae18f81ad5c1b34e604b56fc6e4ae0f2b5ad24a7f009da32ffeb010a596d18b8680f8d93f774dc7fe2455546f09b30bda589e8 WHIRLPOOL 39d63d616e63579ac26df40683895e150d3bfb6e12852d59d67984f2fc246364304a295bb8f7a458c96c84c5d03d480d41c2e0ab56b788f63148e86d92bf882a
+DIST gnome-packagekit-3.20.0.tar.xz 1801324 SHA256 b84a5db6294ef5252a275b3fcfed509eee60f055ca5d374e5e54d19631c8c571 SHA512 3d356203c9dd3226df1a6a59db39671a85722be550154cf2246233ce74398e608eac97d6f99e9b0d7839620e6e9e72bac64a8efb7388422842b0bcba9d78d8fe WHIRLPOOL 9947ee969bb55cb6078bc42bbcc815ca817ee38350dee912118b6e2fd2444c20ddb12810fd00dbfea8bf95d2fd046c4210e9887148a86127f8b749a91b1101b6
diff --git a/gnome-extra/gnome-packagekit/gnome-packagekit-3.20.0.ebuild b/gnome-extra/gnome-packagekit/gnome-packagekit-3.20.0.ebuild
new file mode 100644
index 00000000000..3779c13113e
--- /dev/null
+++ b/gnome-extra/gnome-packagekit/gnome-packagekit-3.20.0.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit gnome2 virtualx
+
+DESCRIPTION="PackageKit client for the GNOME desktop"
+HOMEPAGE="https://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
+ GSETTINGS_SCHEMA_DIR="${S}/data" virtx emake check
+}