Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/packagekit-base/
Date: Sun, 03 Jan 2016 13:32:24
Message-Id: 1451827391.d5c1189616f7a985ea9727ebc0dc386ec35fe3ca.eva@gentoo
1 commit: d5c1189616f7a985ea9727ebc0dc386ec35fe3ca
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 3 12:44:19 2016 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 3 13:23:11 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5c11896
7
8 app-admin/packagekit-base: version bump to 1.0.11, bug #565214
9
10 Also fixes bug #511934.
11
12 Package-Manager: portage-2.2.26
13
14 app-admin/packagekit-base/Manifest | 1 +
15 .../packagekit-base/packagekit-base-1.0.11.ebuild | 112 +++++++++++++++++++++
16 2 files changed, 113 insertions(+)
17
18 diff --git a/app-admin/packagekit-base/Manifest b/app-admin/packagekit-base/Manifest
19 index d5a10a1..57f03a2 100644
20 --- a/app-admin/packagekit-base/Manifest
21 +++ b/app-admin/packagekit-base/Manifest
22 @@ -1,2 +1,3 @@
23 DIST PackageKit-0.7.4.tar.xz 1493656 SHA256 4112c86d67afbbb9be5d3a706c63c537babbbe1f96e398ae306f5e5e02563a98 SHA512 a2cee60f499ec6c5359f3dc2eddda02cfb9c287f80a6b38aa1d9d87558ce5938ade87ab34f6cb1f9640749a0f19625b44c89f72dea5fbb0cbd5f34aec8dbb9f6 WHIRLPOOL 2827cb038c86164ae58021fafe9f2bbf21e69b5c63c4ef5e0f613806f5725f910af3d5aa51646fd258da9c91b81b086cf9560f66bf042e1cb6d1c25128f984b3
24 DIST PackageKit-0.8.15.tar.xz 1506084 SHA256 76aa44994d63b403b1f1154406539951502f5ab92624a8a7dedbeb5437ed0af5 SHA512 d6a1a4582212b02350b8a5ab8413346b0b33a49d329d3c5c4314e3db0c7c40b891d64d275c3acd8eafc45a59462b537cd031919027db2176502861271ce34a02 WHIRLPOOL bcc75e8a05b5616fbec1a2772af53ae51cf8c44a9feda4ca9cff4567f274aed62d3cf01751ab89834f423b77a74dcc1445c32390c323a46bb4340cde568760ce
25 +DIST PackageKit-1.0.11.tar.xz 1427404 SHA256 bbd27bbc77795394f25ab009fe1b3420e365541c99248b18bbaa2fa7f029eaf7 SHA512 9529037685f76e883a71ae502eabd83c3e1e8905f76cfe5e938760677f0224f8758bca59e139588aa06589bcca7a20f13dea0fe419022cb950c7a4c631237bce WHIRLPOOL 8d9bebf55acdff2096bb750bc1f3028cdbbb8e0fd09926de69c7e3dcbd7fe56a2908709be01633dd5a61df80afab05b28d8f424b1bbb79454f503cd03301e56a
26
27 diff --git a/app-admin/packagekit-base/packagekit-base-1.0.11.ebuild b/app-admin/packagekit-base/packagekit-base-1.0.11.ebuild
28 new file mode 100644
29 index 0000000..ff02f78
30 --- /dev/null
31 +++ b/app-admin/packagekit-base/packagekit-base-1.0.11.ebuild
32 @@ -0,0 +1,112 @@
33 +# Copyright 1999-2016 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI="5"
38 +
39 +# PackageKit supports 3.2+, but entropy and portage backends are untested
40 +# Future note: use --enable-python3
41 +PYTHON_COMPAT=( python2_7 )
42 +VALA_USE_DEPEND="vapigen"
43 +
44 +inherit bash-completion-r1 multilib nsplugins python-single-r1 systemd vala
45 +
46 +MY_PN="PackageKit"
47 +MY_P=${MY_PN}-${PV}
48 +
49 +DESCRIPTION="Manage packages in a secure way using a cross-distro and cross-architecture API"
50 +HOMEPAGE="http://www.packagekit.org/"
51 +SRC_URI="http://www.freedesktop.org/software/${MY_PN}/releases/${MY_P}.tar.xz"
52 +
53 +LICENSE="GPL-2"
54 +SLOT="0/18"
55 +KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
56 +IUSE="connman cron command-not-found +introspection networkmanager nsplugin entropy systemd test vala"
57 +REQUIRED_USE="
58 + ${PYTHON_REQUIRED_USE}
59 + vala? ( introspection )
60 +"
61 +
62 +# While not strictly needed, consolekit is the alternative to systemd-login
63 +# to get current session's user.
64 +CDEPEND="
65 + >=app-shells/bash-completion-2
66 + dev-db/sqlite:3
67 + >=dev-libs/dbus-glib-0.74
68 + >=dev-libs/glib-2.32.0:2[${PYTHON_USEDEP}]
69 + >=sys-auth/polkit-0.98
70 + >=sys-apps/dbus-1.3.0
71 + ${PYTHON_DEPS}
72 + connman? ( net-misc/connman )
73 + introspection? ( >=dev-libs/gobject-introspection-0.9.9[${PYTHON_USEDEP}] )
74 + networkmanager? ( >=net-misc/networkmanager-0.6.4 )
75 + nsplugin? (
76 + >=dev-libs/nspr-4.8
77 + x11-libs/cairo
78 + >=x11-libs/gtk+-2.14.0:2
79 + x11-libs/pango
80 + )
81 + systemd? ( >=sys-apps/systemd-204 )
82 +"
83 +DEPEND="${CDEPEND}
84 + dev-libs/libxslt[${PYTHON_USEDEP}]
85 + >=dev-util/gtk-doc-am-1.11
86 + >=dev-util/intltool-0.35.0
87 + sys-devel/gettext
88 + virtual/pkgconfig
89 + nsplugin? ( >=net-misc/npapi-sdk-0.27 )
90 + vala? ( $(vala_depend) )
91 +"
92 +RDEPEND="${CDEPEND}
93 + >=app-portage/layman-2[${PYTHON_USEDEP}]
94 + >=sys-apps/portage-2.2[${PYTHON_USEDEP}]
95 + entropy? ( >=sys-apps/entropy-234[${PYTHON_USEDEP}] )
96 + !systemd? ( sys-auth/consolekit )
97 +"
98 +
99 +S="${WORKDIR}/${MY_P}"
100 +
101 +RESTRICT="test"
102 +
103 +src_prepare() {
104 + use vala && vala_src_prepare
105 +}
106 +
107 +src_configure() {
108 + econf \
109 + --disable-gstreamer-plugin \
110 + --disable-gtk-doc \
111 + --disable-gtk-module \
112 + --disable-schemas-compile \
113 + --disable-static \
114 + --enable-bash-completion \
115 + --enable-man-pages \
116 + --enable-nls \
117 + --enable-portage \
118 + --localstatedir=/var \
119 + $(use_enable command-not-found) \
120 + $(use_enable connman) \
121 + $(use_enable cron) \
122 + $(use_enable entropy) \
123 + $(use_enable introspection) \
124 + $(use_enable networkmanager) \
125 + $(use_enable nsplugin browser-plugin) \
126 + $(use_enable systemd) \
127 + $(use_enable test daemon-tests) \
128 + $(use_enable vala) \
129 + $(systemd_with_unitdir)
130 + #$(use_enable test local)
131 +}
132 +
133 +src_install() {
134 + emake DESTDIR="${D}" install
135 + prune_libtool_files --all
136 +
137 + dodoc AUTHORS ChangeLog MAINTAINERS NEWS README
138 +
139 + if use nsplugin; then
140 + dodir "/usr/$(get_libdir)/${PLUGINS_DIR}"
141 + mv "${D}/usr/$(get_libdir)/mozilla/plugins"/* \
142 + "${D}/usr/$(get_libdir)/${PLUGINS_DIR}/" || die
143 + fi
144 +}