From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EBAED1387D3 for ; Sat, 25 Oct 2014 21:07:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93A1BE0D91; Sat, 25 Oct 2014 21:07:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CBCDAE0D8E for ; Sat, 25 Oct 2014 21:07:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9A16B34039E for ; Sat, 25 Oct 2014 21:07:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F1C308BC4 for ; Sat, 25 Oct 2014 21:07:02 +0000 (UTC) From: "Gilles Dartiguelongue" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Gilles Dartiguelongue" Message-ID: <1414271060.2890bedc202c779ea3c91a8d0f84299e29ec6936.eva@gentoo> Subject: [gentoo-commits] proj/gnome:master commit in: app-admin/packagekit-base/ X-VCS-Repository: proj/gnome X-VCS-Files: app-admin/packagekit-base/metadata.xml app-admin/packagekit-base/packagekit-base-1.0.1.ebuild X-VCS-Directories: app-admin/packagekit-base/ X-VCS-Committer: eva X-VCS-Committer-Name: Gilles Dartiguelongue X-VCS-Revision: 2890bedc202c779ea3c91a8d0f84299e29ec6936 X-VCS-Branch: master Date: Sat, 25 Oct 2014 21:07:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 88371a97-305e-40a2-8e79-a32753505814 X-Archives-Hash: 7b95f541017ebd441292d492fad53c37 commit: 2890bedc202c779ea3c91a8d0f84299e29ec6936 Author: Gilles Dartiguelongue gentoo org> AuthorDate: Sat Oct 25 20:56:40 2014 +0000 Commit: Gilles Dartiguelongue gentoo org> CommitDate: Sat Oct 25 21:04:20 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=2890bedc app-admin/packagekit-base: 0.8.15-r1 → 1.0.1 gnome-software needs this. * Remove duplicates option passing due to EAPI=5. * Apply gnome rule wrt gtk-doc option and installation. * Drop crazy LINGUAS handling and rely on normal gettext behavior. * Do not support static-libs, who uses that ? * TODO: unittests not working well, maybe needs two builds. --- app-admin/packagekit-base/metadata.xml | 19 ++++ .../packagekit-base/packagekit-base-1.0.1.ebuild | 100 +++++++++++++++++++++ 2 files changed, 119 insertions(+) diff --git a/app-admin/packagekit-base/metadata.xml b/app-admin/packagekit-base/metadata.xml new file mode 100644 index 0000000..4d74954 --- /dev/null +++ b/app-admin/packagekit-base/metadata.xml @@ -0,0 +1,19 @@ + + + + + lxnay@gentoo.org + Fabio Erculiani + + + Enable packagekit support on shell "command not found" + Install cron script for auto-update + + Enable Entropy backend + + Use dev-libs/gobject-introspection + Enable introspection + + + + diff --git a/app-admin/packagekit-base/packagekit-base-1.0.1.ebuild b/app-admin/packagekit-base/packagekit-base-1.0.1.ebuild new file mode 100644 index 0000000..07aa28f --- /dev/null +++ b/app-admin/packagekit-base/packagekit-base-1.0.1.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +# PackageKit supports 3.2+, but entropy and portage backends are untested +# Future note: use --enable-python3 +PYTHON_COMPAT=( python2_7 ) + +inherit bash-completion-r1 eutils multilib nsplugins python-single-r1 systemd + +MY_PN="PackageKit" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Manage packages in a secure way using a cross-distro and cross-architecture API" +HOMEPAGE="http://www.packagekit.org/" +SRC_URI="http://www.freedesktop.org/software/${MY_PN}/releases/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" +IUSE="bash-completion connman cron command-not-found +introspection networkmanager nsplugin entropy systemd test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +CDEPEND=" + bash-completion? ( >=app-shells/bash-completion-2.0 ) + connman? ( net-misc/connman ) + introspection? ( >=dev-libs/gobject-introspection-0.9.9[${PYTHON_USEDEP}] ) + networkmanager? ( >=net-misc/networkmanager-0.6.4 ) + nsplugin? ( + >=dev-libs/nspr-4.8 + x11-libs/cairo + >=x11-libs/gtk+-2.14.0:2 + x11-libs/pango + ) + dev-db/sqlite:3 + >=dev-libs/dbus-glib-0.74 + >=dev-libs/glib-2.32.0:2[${PYTHON_USEDEP}] + >=sys-auth/polkit-0.98 + >=sys-apps/dbus-1.3.0 + ${PYTHON_DEPS} +" +DEPEND="${CDEPEND} + dev-util/gtk-doc-am + nsplugin? ( >=net-misc/npapi-sdk-0.27 ) + systemd? ( >=sys-apps/systemd-204 ) + dev-libs/libxslt[${PYTHON_USEDEP}] + >=dev-util/intltool-0.35.0 + virtual/pkgconfig + sys-devel/gettext +" +RDEPEND="${CDEPEND} + entropy? ( >=sys-apps/entropy-234[${PYTHON_USEDEP}] ) + >=app-portage/layman-1.2.3[${PYTHON_USEDEP}] + >=sys-apps/portage-2.2[${PYTHON_USEDEP}] +" + +S="${WORKDIR}/${MY_P}" + +RESTRICT="test" + +src_configure() { + econf \ + --disable-gstreamer-plugin \ + --disable-gtk-doc \ + --disable-gtk-module \ + --disable-schemas-compile \ + --disable-static \ + --enable-man-pages \ + --enable-nls \ + --enable-portage \ + --localstatedir=/var \ + $(use_enable bash-completion) \ + $(use_enable command-not-found) \ + $(use_enable connman) \ + $(use_enable cron) \ + $(use_enable entropy) \ + $(use_enable introspection) \ + $(use_enable networkmanager) \ + $(use_enable nsplugin browser-plugin) \ + $(use_enable systemd) \ + $(use_enable test local) \ + $(use_enable test daemon-tests) \ + $(systemd_with_unitdir) +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + prune_libtool_files --all + + dodoc AUTHORS MAINTAINERS NEWS README || die "dodoc failed" + dodoc ChangeLog || die "dodoc failed" + + if use nsplugin; then + dodir "/usr/$(get_libdir)/${PLUGINS_DIR}" + mv "${D}/usr/$(get_libdir)/mozilla/plugins"/* \ + "${D}/usr/$(get_libdir)/${PLUGINS_DIR}/" || die + fi +}