From c5283d322accc6097afec74eab24550829788bab Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 23 Mar 2018 04:19:44 +0000 Subject: gentoo resync : 23.03.2018 --- app-admin/packagekit-base/Manifest | 2 +- .../packagekit-base-1.1.7-r1.ebuild | 130 +++++++++++++++++++++ .../packagekit-base/packagekit-base-1.1.7.ebuild | 127 -------------------- 3 files changed, 131 insertions(+), 128 deletions(-) create mode 100644 app-admin/packagekit-base/packagekit-base-1.1.7-r1.ebuild delete mode 100644 app-admin/packagekit-base/packagekit-base-1.1.7.ebuild (limited to 'app-admin/packagekit-base') diff --git a/app-admin/packagekit-base/Manifest b/app-admin/packagekit-base/Manifest index 80fdbae8a371..89c5057d1ade 100644 --- a/app-admin/packagekit-base/Manifest +++ b/app-admin/packagekit-base/Manifest @@ -10,5 +10,5 @@ EBUILD packagekit-base-1.0.11.ebuild 2897 BLAKE2B 273c57376ea2e7a4ac18b78e1b3a22 EBUILD packagekit-base-1.1.1.ebuild 3338 BLAKE2B 82a68620c4e6e9ff616dfce5b579eb3742e609e169b2cd3a133a8079f791e55efb85391a2b3e7af43ca12200d0a963fb3ef1701a3c6dc25f00ae064559172606 SHA512 95e673821d137a33e1622e1cad241bf9649ad1368ac4c27178643d40f39f3bc8408546f5f545dc325ca72be0586ee5dadc7f33af0c1d98acc7ec748eb305fc22 EBUILD packagekit-base-1.1.4.ebuild 3372 BLAKE2B bac2e0a5ff37132fbf315e0958fec7237f0059191f0074169e1eaa53cda2338f408dff543325e859e6f20e0d8d900cf470e563196506fbc99af7cbcb2e4dcb36 SHA512 44ccfdf2114a4d2d0d90ce39e7b18ce8adebac5f423fda4661c0e848d39efd7a9dba12a54022e77e6171aa44037cb65b6a6c584346d1181c0ddfe18212354046 EBUILD packagekit-base-1.1.5-r2.ebuild 3769 BLAKE2B 0f492fd80c02c3e057d862061f39b058ea403d56c6f453f4d824b5df7b884a3c4996113419fee66c2fcaffd1403e4d86dc05e4bdafdf4ac7ea9483344daad4c9 SHA512 a750ec8210a7b052452b5f8cae6f5a21fd2123225a92ad610b757368123235c048f8022f0609971b092b038493538a078db0f00655dd159e830383a49bad7c90 -EBUILD packagekit-base-1.1.7.ebuild 3600 BLAKE2B 4972be8607c5f37249007eaef0dbc37cc5063604fdc5ba7ef056ce3bf90b2518ea1011799365ced8c2396bdfa9d35d04d9ebe539ca342290b0cda30e83d1ab25 SHA512 6e8900312b7b0b8a5710433d92fad6a31448be49a6f219d4cb326bceaaad292fe2f028d6998e2a730c2f95d776af941592886dc38cfb0f3666e2601007b0aea1 +EBUILD packagekit-base-1.1.7-r1.ebuild 3654 BLAKE2B 8ffc424c55301f0cf5e6bcb8d0f4715541ba0f02c46c05ea3fc7cfda3c63cde076a339ce46bd9f4bfe80cc636826059a62df8e19ae282629d76c3bc3be26b152 SHA512 88ad6091f959e73abf2bad826275463d925bde2fade010077578c6af19c1e026a6c0fe1c80d7280b0c3b7e2f5c91f58c58183e2b542b2a7c801068dfa5dc5dad MISC metadata.xml 664 BLAKE2B 4dcdb79a089d9ec0734d9af4c2b6206ad1add7b17f8c8984b2e7763672fc334000749b4332e92224d11b0382fe22a2ca0f83ced4da218fbd1e85d8b101fd3e1f SHA512 9b80a98e97af44ab81b497b2c71c73db41da7f250734d6b032e80151719a0a82e2c1e295b068a5e3657a509dbd74d1f65f6e49fc211f77d0623eb7bdcd32b323 diff --git a/app-admin/packagekit-base/packagekit-base-1.1.7-r1.ebuild b/app-admin/packagekit-base/packagekit-base-1.1.7-r1.ebuild new file mode 100644 index 000000000000..67e1ed23da45 --- /dev/null +++ b/app-admin/packagekit-base/packagekit-base-1.1.7-r1.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +# PackageKit supports 3.2+, but entropy and portage backends are untested +# Future note: use --enable-python3 +PYTHON_COMPAT=( python2_7 ) +VALA_USE_DEPEND="vapigen" + +inherit autotools bash-completion-r1 multilib python-single-r1 systemd vala xdg + +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="https://www.freedesktop.org/software/${MY_PN}/releases/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0/18" +KEYWORDS="~alpha amd64 ~arm ~mips ~ppc ~ppc64 x86" +IUSE="cron command-not-found elogind +introspection entropy systemd test vala" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + ?? ( elogind systemd ) + vala? ( introspection ) +" + +# While not strictly needed, consolekit is the alternative to systemd-login +# or elogind to get current session's user. +COMMON_DEPEND=" + >=app-shells/bash-completion-2 + dev-db/sqlite:3 + >=dev-libs/dbus-glib-0.74 + >=dev-libs/glib-2.46.0:2[${PYTHON_USEDEP}] + >=sys-auth/polkit-0.98 + >=sys-apps/dbus-1.3.0 + ${PYTHON_DEPS} + elogind? ( >=sys-auth/elogind-229.4 ) + introspection? ( >=dev-libs/gobject-introspection-0.9.9:= ) + systemd? ( >=sys-apps/systemd-204 ) +" +# vala-common needed for eautoreconf +DEPEND="${COMMON_DEPEND} + >=dev-cpp/glibmm-2.4 + dev-libs/libxslt[${PYTHON_USEDEP}] + dev-libs/vala-common + >=dev-util/gtk-doc-am-1.11 + >=dev-util/intltool-0.35.0 + sys-devel/gettext + virtual/pkgconfig + vala? ( $(vala_depend) ) +" +RDEPEND="${COMMON_DEPEND} + >=app-portage/layman-2[${PYTHON_USEDEP}] + || ( + >=sys-apps/portage-2.2[${PYTHON_USEDEP}] + sys-apps/portage-mgorny[${PYTHON_USEDEP}] + ) + entropy? ( >=sys-apps/entropy-234[${PYTHON_USEDEP}] ) + !systemd? ( !elogind? ( sys-auth/consolekit ) ) +" + +PATCHES=( + # Fixes QA Notices: + # - https://github.com/gentoo/gentoo/pull/1760 + # - https://github.com/hughsie/PackageKit/issues/143 + "${FILESDIR}"/${PN}-1.1.1-cache-qafix.patch + + # Adds elogind support: + # - https://bugs.gentoo.org/show_bug.cgi?id=620948 + "${FILESDIR}"/${P}-elogind-support.patch +) + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # Disable unittests not working with portage backend + # console: requires terminal input + sed -e 's:^\(.*/packagekit-glib2/control\)://\1:' \ + -e 's:^\(.*/packagekit-glib2/transaction-list\)://\1:' \ + -e 's:^\(.*/packagekit-glib2/client"\)://\1:' \ + -e 's:^\(.*/packagekit-glib2/package-sack\)://\1:' \ + -e 's:^\(.*/packagekit-glib2/task\)://\1:' \ + -e 's:^\(.*/packagekit-glib2/console\)://\1:' \ + -i lib/packagekit-glib2/pk-test-daemon.c || die + sed -e 's:^\(.*/packagekit/spawn\)://\1:' \ + -e 's:^\(.*/packagekit/transaction-db\)://\1:' \ + -e 's:^\(.*/packagekit/backend\)://\1:' \ + -i src/pk-self-test.c || die + + eapply_user + use vala && vala_src_prepare + xdg_src_prepare + + # Needed by elogind patch: + eautoreconf +} + +src_configure() { + econf \ + --disable-gstreamer-plugin \ + --disable-gtk-doc \ + --disable-gtk-module \ + --disable-schemas-compile \ + --disable-static \ + --enable-bash-completion \ + --enable-man-pages \ + --enable-nls \ + --enable-portage \ + --localstatedir=/var \ + $(use_enable command-not-found) \ + $(use_enable cron) \ + $(use_enable elogind) \ + $(use_enable entropy) \ + $(use_enable introspection) \ + $(use_enable systemd) \ + $(use_enable test daemon-tests) \ + $(use_enable test local) \ + $(use_enable vala) \ + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" +} + +src_install() { + emake DESTDIR="${D}" install + prune_libtool_files --all + + dodoc AUTHORS ChangeLog MAINTAINERS NEWS README +} diff --git a/app-admin/packagekit-base/packagekit-base-1.1.7.ebuild b/app-admin/packagekit-base/packagekit-base-1.1.7.ebuild deleted file mode 100644 index ce330bee7541..000000000000 --- a/app-admin/packagekit-base/packagekit-base-1.1.7.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -# PackageKit supports 3.2+, but entropy and portage backends are untested -# Future note: use --enable-python3 -PYTHON_COMPAT=( python2_7 ) -VALA_USE_DEPEND="vapigen" - -inherit autotools bash-completion-r1 multilib python-single-r1 systemd vala xdg - -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="https://www.freedesktop.org/software/${MY_PN}/releases/${MY_P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0/18" -KEYWORDS="~alpha amd64 ~arm ~mips ~ppc ~ppc64 x86" -IUSE="cron command-not-found elogind +introspection entropy systemd test vala" -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - ?? ( elogind systemd ) - vala? ( introspection ) -" - -# While not strictly needed, consolekit is the alternative to systemd-login -# or elogind to get current session's user. -COMMON_DEPEND=" - >=app-shells/bash-completion-2 - dev-db/sqlite:3 - >=dev-libs/dbus-glib-0.74 - >=dev-libs/glib-2.46.0:2[${PYTHON_USEDEP}] - >=sys-auth/polkit-0.98 - >=sys-apps/dbus-1.3.0 - ${PYTHON_DEPS} - elogind? ( >=sys-auth/elogind-229.4 ) - introspection? ( >=dev-libs/gobject-introspection-0.9.9:= ) - systemd? ( >=sys-apps/systemd-204 ) -" -# vala-common needed for eautoreconf -DEPEND="${COMMON_DEPEND} - >=dev-cpp/glibmm-2.4 - dev-libs/libxslt[${PYTHON_USEDEP}] - dev-libs/vala-common - >=dev-util/gtk-doc-am-1.11 - >=dev-util/intltool-0.35.0 - sys-devel/gettext - virtual/pkgconfig - vala? ( $(vala_depend) ) -" -RDEPEND="${COMMON_DEPEND} - >=app-portage/layman-2[${PYTHON_USEDEP}] - >=sys-apps/portage-2.2[${PYTHON_USEDEP}] - entropy? ( >=sys-apps/entropy-234[${PYTHON_USEDEP}] ) - !systemd? ( !elogind? ( sys-auth/consolekit ) ) -" - -PATCHES=( - # Fixes QA Notices: - # - https://github.com/gentoo/gentoo/pull/1760 - # - https://github.com/hughsie/PackageKit/issues/143 - "${FILESDIR}"/${PN}-1.1.1-cache-qafix.patch - - # Adds elogind support: - # - https://bugs.gentoo.org/show_bug.cgi?id=620948 - "${FILESDIR}"/${P}-elogind-support.patch -) - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - # Disable unittests not working with portage backend - # console: requires terminal input - sed -e 's:^\(.*/packagekit-glib2/control\)://\1:' \ - -e 's:^\(.*/packagekit-glib2/transaction-list\)://\1:' \ - -e 's:^\(.*/packagekit-glib2/client"\)://\1:' \ - -e 's:^\(.*/packagekit-glib2/package-sack\)://\1:' \ - -e 's:^\(.*/packagekit-glib2/task\)://\1:' \ - -e 's:^\(.*/packagekit-glib2/console\)://\1:' \ - -i lib/packagekit-glib2/pk-test-daemon.c || die - sed -e 's:^\(.*/packagekit/spawn\)://\1:' \ - -e 's:^\(.*/packagekit/transaction-db\)://\1:' \ - -e 's:^\(.*/packagekit/backend\)://\1:' \ - -i src/pk-self-test.c || die - - eapply_user - use vala && vala_src_prepare - xdg_src_prepare - - # Needed by elogind patch: - eautoreconf -} - -src_configure() { - econf \ - --disable-gstreamer-plugin \ - --disable-gtk-doc \ - --disable-gtk-module \ - --disable-schemas-compile \ - --disable-static \ - --enable-bash-completion \ - --enable-man-pages \ - --enable-nls \ - --enable-portage \ - --localstatedir=/var \ - $(use_enable command-not-found) \ - $(use_enable cron) \ - $(use_enable elogind) \ - $(use_enable entropy) \ - $(use_enable introspection) \ - $(use_enable systemd) \ - $(use_enable test daemon-tests) \ - $(use_enable test local) \ - $(use_enable vala) \ - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" -} - -src_install() { - emake DESTDIR="${D}" install - prune_libtool_files --all - - dodoc AUTHORS ChangeLog MAINTAINERS NEWS README -} -- cgit v1.2.3