From 71deace00d1a2b091313fe137ab7092418c6f87c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 10 Feb 2020 21:05:55 +0000 Subject: gentoo resync : 10.02.2020 --- app-admin/packagekit-base/Manifest | 2 +- .../packagekit-base-1.1.12-r1.ebuild | 141 +++++++++++++++++++++ .../packagekit-base/packagekit-base-1.1.12.ebuild | 139 -------------------- 3 files changed, 142 insertions(+), 140 deletions(-) create mode 100644 app-admin/packagekit-base/packagekit-base-1.1.12-r1.ebuild delete mode 100644 app-admin/packagekit-base/packagekit-base-1.1.12.ebuild (limited to 'app-admin/packagekit-base') diff --git a/app-admin/packagekit-base/Manifest b/app-admin/packagekit-base/Manifest index ae90e301dec0..77ff58e6f368 100644 --- a/app-admin/packagekit-base/Manifest +++ b/app-admin/packagekit-base/Manifest @@ -3,5 +3,5 @@ AUX 1.1.12-cache-qafix.patch 1103 BLAKE2B ab5fe2d05729dbd449e14aae25332172073554 AUX 1.1.12-elogind-support.patch 6656 BLAKE2B 0bc942015430479fc1ae7c5cac080a8e68c53e4f5c45cea994bd44232f7dfe22e6623d31f9ed9a46bf31a851e888eea462785bc728db16951cf21c657fe1b575 SHA512 2126d57f2c0221cbad9f9796df0bfd817aaf26818f1287bf99c38a2396a7a0a140ff96c6369a18bfa008a91768d531fc4c0c5acd897fab3bbb35d755f39e946f AUX 1.1.12-use-autotool-python.patch 1072 BLAKE2B 8f96a404b3a80d13cb10488bf21a5710d9abf40e1725e47480a7451f7adcb9c4a0d834ac65f35d2013425b3c867d0126c23e999ff6077dd9735571fb9916432d SHA512 33e5d4364e32147de550204809fd86407607f102964986402379c8904f44f64db6ef7ac3a1b967fe6e70c8654f8a271b3f2934a370ec9422e58aaf54352d0320 DIST PackageKit-1.1.12.tar.xz 1439024 BLAKE2B 458cb7a9a47941214ec58846fb840f852851555dbd94ed5113745f9e375cd28edaa8475db30fb889b1722ea01bce5200a5ea7a5f52e45b424703228bff59d689 SHA512 a7428416ae85df0c8e7dbe017396921e9214612c8eb7c91020523457d0feaff86ad50d595f702d255e4091364cb10b8d9506b603b9d0e449c39fced07180840b -EBUILD packagekit-base-1.1.12.ebuild 3958 BLAKE2B 5b4ffe7026a27988f2b721c45d75dcf8f20e4e1b30bac04c9a0787f026f05ae22b5775dff70ddf760c86d1167b99e4e2d82faf04608401a3341f3560a84896eb SHA512 0218990a84e43c49d8f6d5541f35da75a50a4cdb6c050890efaf2c7b79831f92b00c8ce5d1829bfef0af1cbb5f31b47a33de4c9078ace2073256a73b658a6f31 +EBUILD packagekit-base-1.1.12-r1.ebuild 4008 BLAKE2B a66b6c1065c26cfc81018de43294a267ee8cd88a4c64b5cacef6f168e79f56dc4ec6bf303b19422ba8db12497d864a4033e3f446f39c98b46d703d8275d18931 SHA512 bc79cff725162ac2104161bc3fc6c3bedf5c20f54b2d0c3cf29ed09a5875be5027033ca287fac7fcd75bba8ba604aad0a49625abad7b73e6c3e9a1d4ce3dc46e MISC metadata.xml 772 BLAKE2B 88885c4f2b4c7ea16857f8727affd074dfc13a0a407f23a53e1a7dd7801c98adb4dde13baed734cc9b0f2aff1cc560dc45cd17c4c591acc0d9fcb1a95ce7e72e SHA512 14bf2712da5db44c38ebfab0e994a0a874213ce7265fce7a9f40b6b9e61b93a9935dcff532ade1980465b98d07b305c4ebcc69a344b7624c21b57d1b03bdb69a diff --git a/app-admin/packagekit-base/packagekit-base-1.1.12-r1.ebuild b/app-admin/packagekit-base/packagekit-base-1.1.12-r1.ebuild new file mode 100644 index 000000000000..679f84cba2da --- /dev/null +++ b/app-admin/packagekit-base/packagekit-base-1.1.12-r1.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +# PackageKit supports 3.2+, but entropy and portage backends are untested +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="https://www.freedesktop.org/software/PackageKit/" +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="command-not-found consolekit cron elogind entropy +introspection systemd test vala" +RESTRICT="!test? ( test )" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + ^^ ( consolekit elogind systemd ) + vala? ( introspection ) + entropy? ( $(python_gen_useflags 'python2*' ) ) +" + +# 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.54.0:2 + >=sys-auth/polkit-0.114 + >=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-213 ) +" +# vala-common needed for eautoreconf +DEPEND="${COMMON_DEPEND} + app-text/docbook-xsl-stylesheets + >=dev-cpp/glibmm-2.4 + dev-libs/libxml2:2 + dev-libs/libxslt + dev-libs/vala-common + dev-util/glib-utils + >=dev-util/gtk-doc-am-1.11 + >=dev-util/intltool-0.35.0 + sys-devel/autoconf-archive + sys-devel/gettext + virtual/pkgconfig + vala? ( $(vala_depend) ) +" +RDEPEND="${COMMON_DEPEND} + $(python_gen_cond_dep ' + >=app-portage/layman-2[${PYTHON_MULTI_USEDEP}] + >=sys-apps/portage-2.2[${PYTHON_MULTI_USEDEP}] + ') + consolekit? ( sys-auth/consolekit ) + entropy? ( >=sys-apps/entropy-234[${PYTHON_SINGLE_USEDEP}] ) +" + +PATCHES=( + # Fixes QA Notices: + # - https://github.com/gentoo/gentoo/pull/1760 + # - https://github.com/hughsie/PackageKit/issues/143 + "${FILESDIR}"/${PV}-cache-qafix.patch + + # Adds elogind support: + # - https://bugs.gentoo.org/show_bug.cgi?id=620948 + # - https://github.com/hughsie/PackageKit/pull/299 + "${FILESDIR}"/${PV}-elogind-support.patch + + # From master + "${FILESDIR}"/${PV}-use-autotool-python.patch + "${FILESDIR}"/${PV}-add-missing-config.h.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() { + python_fix_shebang backends/portage/portageBackend.py + + emake DESTDIR="${D}" install + find "${D}" -name '*.la' -delete || die + + dodoc AUTHORS ChangeLog MAINTAINERS NEWS README +} diff --git a/app-admin/packagekit-base/packagekit-base-1.1.12.ebuild b/app-admin/packagekit-base/packagekit-base-1.1.12.ebuild deleted file mode 100644 index 41466b8f3d98..000000000000 --- a/app-admin/packagekit-base/packagekit-base-1.1.12.ebuild +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -# PackageKit supports 3.2+, but entropy and portage backends are untested -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="https://www.freedesktop.org/software/PackageKit/" -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="command-not-found consolekit cron elogind entropy +introspection systemd test vala" -RESTRICT="!test? ( test )" -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - ^^ ( consolekit elogind systemd ) - vala? ( introspection ) - entropy? ( $(python_gen_useflags 'python2*' ) ) -" - -# 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.54.0:2 - >=sys-auth/polkit-0.114 - >=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-213 ) -" -# vala-common needed for eautoreconf -DEPEND="${COMMON_DEPEND} - app-text/docbook-xsl-stylesheets - >=dev-cpp/glibmm-2.4 - dev-libs/libxml2:2 - dev-libs/libxslt - dev-libs/vala-common - dev-util/glib-utils - >=dev-util/gtk-doc-am-1.11 - >=dev-util/intltool-0.35.0 - sys-devel/autoconf-archive - sys-devel/gettext - virtual/pkgconfig - vala? ( $(vala_depend) ) -" -RDEPEND="${COMMON_DEPEND} - >=app-portage/layman-2[${PYTHON_USEDEP}] - >=sys-apps/portage-2.2[${PYTHON_USEDEP}] - consolekit? ( sys-auth/consolekit ) - entropy? ( >=sys-apps/entropy-234[${PYTHON_USEDEP}] ) -" - -PATCHES=( - # Fixes QA Notices: - # - https://github.com/gentoo/gentoo/pull/1760 - # - https://github.com/hughsie/PackageKit/issues/143 - "${FILESDIR}"/${PV}-cache-qafix.patch - - # Adds elogind support: - # - https://bugs.gentoo.org/show_bug.cgi?id=620948 - # - https://github.com/hughsie/PackageKit/pull/299 - "${FILESDIR}"/${PV}-elogind-support.patch - - # From master - "${FILESDIR}"/${PV}-use-autotool-python.patch - "${FILESDIR}"/${PV}-add-missing-config.h.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() { - python_fix_shebang backends/portage/portageBackend.py - - emake DESTDIR="${D}" install - find "${D}" -name '*.la' -delete || die - - dodoc AUTHORS ChangeLog MAINTAINERS NEWS README -} -- cgit v1.2.3