net-print/cups-pk-helper: update EAPI 5 -> 8

Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2022-01-29 13:16:01 +01:00
parent ffeb86f842
commit d88defe1c0

View File

@@ -1,8 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
GCONF_DEBUG="no"
EAPI=8
inherit gnome2
@@ -13,28 +12,27 @@ SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.xz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ppc64 ~riscv ~sparc x86"
IUSE=""
# Require {glib,gdbus-codegen}-2.30.0 due to GDBus changes between 2.29.92
# and 2.30.0
COMMON_DEPEND="
DEPEND="
>=dev-libs/glib-2.30.0:2
net-print/cups
>=sys-auth/polkit-0.97
"
RDEPEND="${COMMON_DEPEND}
RDEPEND="${DEPEND}
sys-apps/dbus
"
DEPEND="${COMMON_DEPEND}
BDEPEND="
>=dev-util/gdbus-codegen-2.30.0
>=dev-util/intltool-0.40.6
virtual/pkgconfig
sys-devel/gettext
"
src_prepare() {
DOCS="AUTHORS HACKING NEWS README"
DOCS=( AUTHORS HACKING NEWS README )
src_prepare() {
# Regenerate dbus-codegen files to fix build with glib-2.30.x; bug #410773
rm -v src/cph-iface-mechanism.{c,h} || die