mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user