diff options
Diffstat (limited to 'gnome-extra/gnome-packagekit')
-rw-r--r-- | gnome-extra/gnome-packagekit/Manifest | 1 | ||||
-rw-r--r-- | gnome-extra/gnome-packagekit/gnome-packagekit-3.12.2.ebuild | 98 | ||||
-rw-r--r-- | gnome-extra/gnome-packagekit/metadata.xml | 5 |
3 files changed, 104 insertions, 0 deletions
diff --git a/gnome-extra/gnome-packagekit/Manifest b/gnome-extra/gnome-packagekit/Manifest new file mode 100644 index 000000000000..37eb36aee31d --- /dev/null +++ b/gnome-extra/gnome-packagekit/Manifest @@ -0,0 +1 @@ +DIST gnome-packagekit-3.12.2.tar.xz 4596908 SHA256 a4d5fca6f9481b48202f996c8a3835051c98b6e6df0929394704c3c41e28afb2 SHA512 e1e5cd296e4bc99c13d71805de530be644b4ac3a9bd5580d36ebd880a22292ec91ce9ad28a8ff66f0cb2285a5bc0c80f1b47421c9bbf7b2c9e2c1c17131bc21d WHIRLPOOL 66f23046d3fd262b5a5fbc470d762baaafbb75fb1c9e832f408672b8c399580a1ad2a9e7b03acd81c00c6a486074b224eed4b15d1377354f557823f6282013de diff --git a/gnome-extra/gnome-packagekit/gnome-packagekit-3.12.2.ebuild b/gnome-extra/gnome-packagekit/gnome-packagekit-3.12.2.ebuild new file mode 100644 index 000000000000..7169668a8bcb --- /dev/null +++ b/gnome-extra/gnome-packagekit/gnome-packagekit-3.12.2.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="no" + +inherit eutils 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="nls 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+-2.91.0:3 + >=x11-libs/libnotify-0.7.0:= + x11-libs/pango + >=dev-libs/dbus-glib-0.73 + + >=app-admin/packagekit-base-0.7.2[udev] + >=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-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 +# app-text/gnome-doc-utils and dev-libs/libxslt required for gnome help files +# gtk-doc is generating a useless file, don't need it + +# UPSTREAM: +# misuse of CPPFLAGS/CXXFLAGS ? +# see if tests can forget about display (use eclass for that ?) +# intltool and gettext only with +nls + +src_prepare() { + # Regenerate marshalers for <glib-2.31 compat + rm -v src/gpk-marshal.{c,h} || die + + # * 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 nls) \ + $(use_enable systemd) \ + $(use_enable test tests) \ + $(use_enable udev gudev) \ + ITSTOOL="$(type -P true)" +} + +src_test() { + # FIXME: this should be handled at eclass level + "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die + + unset DISPLAY + GSETTINGS_SCHEMA_DIR="${S}/data" Xemake check +} diff --git a/gnome-extra/gnome-packagekit/metadata.xml b/gnome-extra/gnome-packagekit/metadata.xml new file mode 100644 index 000000000000..da6fd63d0085 --- /dev/null +++ b/gnome-extra/gnome-packagekit/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> |