diff options
author | Nirbheek Chauhan <nirbheek@gentoo.org> | 2011-10-01 14:23:21 +0000 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@gentoo.org> | 2011-10-01 14:23:21 +0000 |
commit | 2f8db0baef6a34d32625ec54219a0ddd998197b6 (patch) | |
tree | 180d5edca9a396112fdfeab43e94c4256c8ffc42 /gnome-extra/gnome-packagekit | |
parent | Add gnome-packagekit to the GNOME 3 mask (diff) | |
download | gentoo-2-2f8db0baef6a34d32625ec54219a0ddd998197b6.tar.gz gentoo-2-2f8db0baef6a34d32625ec54219a0ddd998197b6.tar.bz2 gentoo-2-2f8db0baef6a34d32625ec54219a0ddd998197b6.zip |
Move from gnome overlay for GNOME 3
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'gnome-extra/gnome-packagekit')
-rw-r--r-- | gnome-extra/gnome-packagekit/ChangeLog | 10 | ||||
-rw-r--r-- | gnome-extra/gnome-packagekit/gnome-packagekit-3.0.3.ebuild | 104 | ||||
-rw-r--r-- | gnome-extra/gnome-packagekit/metadata.xml | 5 |
3 files changed, 119 insertions, 0 deletions
diff --git a/gnome-extra/gnome-packagekit/ChangeLog b/gnome-extra/gnome-packagekit/ChangeLog new file mode 100644 index 000000000000..eb49688cac82 --- /dev/null +++ b/gnome-extra/gnome-packagekit/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for gnome-extra/gnome-packagekit +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-packagekit/ChangeLog,v 1.1 2011/10/01 14:23:21 nirbheek Exp $ + +*gnome-packagekit-3.0.3 (01 Oct 2011) + + 01 Oct 2011; Nirbheek Chauhan <nirbheek@gentoo.org> + +gnome-packagekit-3.0.3.ebuild, +metadata.xml: + Move from gnome overlay for GNOME 3 + diff --git a/gnome-extra/gnome-packagekit/gnome-packagekit-3.0.3.ebuild b/gnome-extra/gnome-packagekit/gnome-packagekit-3.0.3.ebuild new file mode 100644 index 000000000000..5f1c6f14c3c4 --- /dev/null +++ b/gnome-extra/gnome-packagekit/gnome-packagekit-3.0.3.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-packagekit/gnome-packagekit-3.0.3.ebuild,v 1.1 2011/10/01 14:23:21 nirbheek Exp $ + +EAPI="3" +GCONF_DEBUG="no" +PYTHON_DEPEND="2" + +inherit eutils gnome2 python virtualx + +DESCRIPTION="PackageKit client for the GNOME desktop" +HOMEPAGE="http://www.packagekit.org/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc nls test udev" + +RDEPEND=" + >=dev-libs/glib-2.25.9:2 + >=x11-libs/gtk+-2.91.0:3 + >=x11-libs/libnotify-0.7.0 + >=dev-libs/dbus-glib-0.73 + + >=app-admin/packagekit-base-0.6.5[udev] + >=app-admin/packagekit-gtk-0.6.5 + >=gnome-base/gnome-menus-2.24.1 + >=media-libs/libcanberra-0.10[gtk3] + >=sys-apps/dbus-1.1.2 + >=sys-power/upower-0.9.0 + + media-libs/fontconfig + x11-libs/libX11 + + udev? ( >=sys-fs/udev-145[extras] )" +DEPEND="${RDEPEND} + app-text/docbook-sgml-utils + >=app-text/gnome-doc-utils-0.3.2 + dev-libs/libxslt + >=dev-util/intltool-0.35 + dev-util/pkgconfig + sys-devel/gettext + doc? ( >=dev-util/gtk-doc-1.9 )" + +# Fails, recheck for next release +# (gpk-self-test:9412): GnomePackageKit-WARNING **: Unknown error +# FAILED [failed to get cannot-fetch-sources] +# FAIL: gpk-self-test +RESTRICT="test" + +# 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 + +pkg_setup() { + DOCS="AUTHORS MAINTAINERS NEWS README TODO" + # localstatedir: /var for upstream /var/lib for gentoo + # scrollkeeper and schemas-install: managed by gnome2 eclass + # tests: not working (need DISPLAY) + # gtk-doc: not needed (builded file is useless) +# --enable-libtool-lock +# --disable-dependency-tracking +# --enable-option-checking + G2CONF="${G2CONF} + --localstatedir=/var + --enable-compile-warnings=yes + --enable-iso-c + --disable-scrollkeeper + --disable-schemas-compile + --disable-strict + $(use_enable nls) + $(use_enable test tests) + $(use_enable udev gudev)" + python_set_active_version 2 +} + +src_prepare() { + gnome2_src_prepare + + # fix pyc/pyo generation + ln -sfn $(type -P true) py-compile +} + +src_test() { + unset DISPLAY + Xemake check || die "make check failed" +} + +pkg_postinst() { + gnome2_pkg_postinst + python_need_rebuild + python_mod_optimize packagekit +} + +pkg_postrm() { + gnome2_pkg_postrm + python_mod_cleanup packagekit +} diff --git a/gnome-extra/gnome-packagekit/metadata.xml b/gnome-extra/gnome-packagekit/metadata.xml new file mode 100644 index 000000000000..dad9001338dc --- /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> |