commit: 9b91db87d5503448f53567ad2e0e462307485d25 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> AuthorDate: Mon Nov 24 22:48:44 2014 +0000 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> CommitDate: Mon Nov 24 23:31:46 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=9b91db87
app-admin/packagekit-base: 1.0.1 → 1.0.3 --- .../files/packagekit-base-1.0.3-configure.patch | 11 +++++++++++ ...kagekit-base-1.0.1.ebuild => packagekit-base-1.0.3.ebuild} | 9 ++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/app-admin/packagekit-base/files/packagekit-base-1.0.3-configure.patch b/app-admin/packagekit-base/files/packagekit-base-1.0.3-configure.patch new file mode 100644 index 0000000..0c5c833 --- /dev/null +++ b/app-admin/packagekit-base/files/packagekit-base-1.0.3-configure.patch @@ -0,0 +1,11 @@ +--- configure.ac.old 2014-11-25 00:04:23.689888170 +0100 ++++ configure.ac 2014-11-25 00:03:08.041580672 +0100 +@@ -464,7 +464,7 @@ + fi + + have_python_backend="no" +-if test x$enable_entropy = xyes -o x$enable_pisi = xyes -o $enable_portage = xyes; then ++if test x$enable_entropy = xyes -o x$enable_pisi = xyes -o x$enable_portage = xyes; then + have_python_backend="yes" + fi + if test x$enable_apt = xyes; then diff --git a/app-admin/packagekit-base/packagekit-base-1.0.1.ebuild b/app-admin/packagekit-base/packagekit-base-1.0.3.ebuild similarity index 92% rename from app-admin/packagekit-base/packagekit-base-1.0.1.ebuild rename to app-admin/packagekit-base/packagekit-base-1.0.3.ebuild index 07aa28f..ed33317 100644 --- a/app-admin/packagekit-base/packagekit-base-1.0.1.ebuild +++ b/app-admin/packagekit-base/packagekit-base-1.0.3.ebuild @@ -8,7 +8,7 @@ EAPI="5" # Future note: use --enable-python3 PYTHON_COMPAT=( python2_7 ) -inherit bash-completion-r1 eutils multilib nsplugins python-single-r1 systemd +inherit autotools bash-completion-r1 eutils multilib nsplugins python-single-r1 systemd MY_PN="PackageKit" MY_P=${MY_PN}-${PV} @@ -60,6 +60,13 @@ S="${WORKDIR}/${MY_P}" RESTRICT="test" +src_prepare() { + # Fix python backend detection + epatch "${FILESDIR}"/${PN}-1.0.3-configure.patch + + eautoreconf +} + src_configure() { econf \ --disable-gstreamer-plugin \