net-print/hplip: Adjust driver requirements with USE minimal

Closes: https://bugs.gentoo.org/973434
Signed-off-by: Daniel Pielmeier <billie@gentoo.org>
This commit is contained in:
Daniel Pielmeier
2026-05-03 10:36:23 +02:00
parent 91018a4472
commit 014209f2a0
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -72,7 +72,8 @@ RDEPEND="
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
|| ( hpcups hpijs )
!minimal? ( || ( hpcups hpijs ) )
minimal? ( ^^ ( hpcups hpijs ) )
"
PATCHES=(
@@ -99,8 +100,7 @@ pkg_setup() {
if use minimal ; then
ewarn "Installing driver portions only, make sure you know what you are doing."
ewarn "Depending on the USE flags set for hpcups or hpijs the appropriate driver"
ewarn "is installed. If both USE flags are set hpijs overrides hpcups."
ewarn "This also disables fax, network and scanner support!"
ewarn "is installed. This also disables fax, network and scanner support!"
fi
if has_version "<=net-print/hplip-3.25.8[qt5]" ; then
+3 -3
View File
@@ -76,7 +76,8 @@ RDEPEND="
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
|| ( hpcups hpijs )
!minimal? ( || ( hpcups hpijs ) )
minimal? ( ^^ ( hpcups hpijs ) )
"
PATCHES=(
@@ -103,8 +104,7 @@ pkg_setup() {
if use minimal ; then
ewarn "Installing driver portions only, make sure you know what you are doing."
ewarn "Depending on the USE flags set for hpcups or hpijs the appropriate driver"
ewarn "is installed. If both USE flags are set hpijs overrides hpcups."
ewarn "This also disables fax, network, scanner and gui support!"
ewarn "is installed. This also disables fax, network, scanner and gui support!"
fi
}