/[gentoo-x86]/gnome-extra/gnome-packagekit/gnome-packagekit-3.2.1.ebuild
Gentoo

Contents of /gnome-extra/gnome-packagekit/gnome-packagekit-3.2.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat May 5 06:25:16 2012 UTC (2 years, 2 months ago) by jdhore
Branch: MAIN
Changes since 1.3: +2 -2 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-packagekit/gnome-packagekit-3.2.1.ebuild,v 1.3 2012/01/15 14:06:33 ssuominen Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="no"
7 PYTHON_DEPEND="2"
8
9 inherit eutils gnome2 python virtualx
10
11 DESCRIPTION="PackageKit client for the GNOME desktop"
12 HOMEPAGE="http://www.packagekit.org/"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE="doc nls test udev"
18
19 # gdk-pixbuf ised in gpk-animated-icon
20 # pango used on gpk-common
21 RDEPEND="
22 >=dev-libs/glib-2.25.9:2
23 x11-libs/gdk-pixbuf:2
24 >=x11-libs/gtk+-2.91.0:3
25 >=x11-libs/libnotify-0.7.0
26 x11-libs/pango
27 >=dev-libs/dbus-glib-0.73
28
29 >=app-admin/packagekit-base-0.6.5[udev]
30 >=app-admin/packagekit-gtk-0.6.5
31 >=media-libs/libcanberra-0.10[gtk3]
32 >=sys-apps/dbus-1.1.2
33 >=sys-power/upower-0.9.0
34
35 media-libs/fontconfig
36 x11-libs/libX11
37
38 udev? ( || ( >=sys-fs/udev-171[gudev] >=sys-fs/udev-145[extras] ) )"
39 DEPEND="${RDEPEND}
40 app-text/docbook-sgml-utils
41 >=app-text/gnome-doc-utils-0.3.2
42 dev-libs/libxslt
43 >=dev-util/intltool-0.35
44 virtual/pkgconfig
45 sys-devel/gettext
46 doc? ( >=dev-util/gtk-doc-1.9 )"
47
48 # NOTES:
49 # app-text/docbook-sgml-utils required for man pages
50 # app-text/gnome-doc-utils and dev-libs/libxslt required for gnome help files
51 # gtk-doc is generating a useless file, don't need it
52
53 # UPSTREAM:
54 # misuse of CPPFLAGS/CXXFLAGS ?
55 # see if tests can forget about display (use eclass for that ?)
56 # intltool and gettext only with +nls
57
58 pkg_setup() {
59 DOCS="AUTHORS MAINTAINERS NEWS README TODO"
60 # localstatedir: /var for upstream /var/lib for gentoo
61 # scrollkeeper and schemas-install: managed by gnome2 eclass
62 # tests: not working (need DISPLAY)
63 # gtk-doc: not needed (builded file is useless)
64 # --enable-libtool-lock
65 # --disable-dependency-tracking
66 # --enable-option-checking
67 G2CONF="${G2CONF}
68 --localstatedir=/var
69 --enable-compile-warnings=yes
70 --enable-iso-c
71 --disable-scrollkeeper
72 --disable-schemas-compile
73 --disable-strict
74 $(use_enable nls)
75 $(use_enable test tests)
76 $(use_enable udev gudev)"
77 python_set_active_version 2
78 python_pkg_setup
79 }
80
81 src_prepare() {
82 gnome2_src_prepare
83
84 # fix pyc/pyo generation
85 >py-compile
86
87 # disable tests with graphical dialogs and that require packagekitd to be
88 # run with the dummy backend
89 epatch "${FILESDIR}/${PN}-3.1.90-tests.patch"
90 }
91
92 src_test() {
93 unset DISPLAY
94 Xemake check
95 }
96
97 pkg_postinst() {
98 gnome2_pkg_postinst
99 python_need_rebuild
100 python_mod_optimize packagekit
101 }
102
103 pkg_postrm() {
104 gnome2_pkg_postrm
105 python_mod_cleanup packagekit
106 }

  ViewVC Help
Powered by ViewVC 1.1.20