public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Gilles Dartiguelongue" <eva@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: app-admin/packagekit-base/
Date: Sat, 25 Oct 2014 21:07:02 +0000 (UTC)	[thread overview]
Message-ID: <1414271060.2890bedc202c779ea3c91a8d0f84299e29ec6936.eva@gentoo> (raw)

commit:     2890bedc202c779ea3c91a8d0f84299e29ec6936
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 25 20:56:40 2014 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer>
+		<email>lxnay@gentoo.org</email>
+		<name>Fabio Erculiani</name>
+	</maintainer>
+	<use>
+		<flag name="command-not-found">Enable packagekit support on shell "command not found"</flag>
+		<flag name="cron">Install cron script for auto-update</flag>
+		<flag name="entropy">
+			Enable Entropy backend
+		</flag>
+		<flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg>
+			Enable introspection
+		</flag>
+	</use>
+</pkgmetadata>
+

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
+}


             reply	other threads:[~2014-10-25 21:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-25 21:07 Gilles Dartiguelongue [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-01-03 13:35 [gentoo-commits] proj/gnome:master commit in: app-admin/packagekit-base/ Gilles Dartiguelongue
2015-05-14 22:50 Gilles Dartiguelongue
2011-08-05  4:46 Alexandre Restovtsev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1414271060.2890bedc202c779ea3c91a8d0f84299e29ec6936.eva@gentoo \
    --to=eva@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox