mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-10 06:57:08 -08:00
net-print/cups: re-enable tests
They appear to work at the moment. There's a fun oddity, in that if libcupsfilters is installed you need image support of some variety. Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -17,7 +17,7 @@ if [[ ${PV} == *9999 ]] ; then
|
||||
else
|
||||
SRC_URI="https://github.com/OpenPrinting/cups/releases/download/v${MY_PV}/cups-${MY_PV}-source.tar.gz"
|
||||
if [[ ${PV} != *_beta* && ${PV} != *_rc* ]] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -32,14 +32,14 @@ IUSE="acl dbus debug kerberos openssl pam selinux static-libs systemd test usb X
|
||||
|
||||
# As of 2.4.2, they don't actually seem to be interactive (they pass some flags
|
||||
# by default to input for us), but they fail on some greyscale issue w/ poppler?
|
||||
RESTRICT="!test? ( test ) test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
acct-group/lp
|
||||
acct-group/lpadmin
|
||||
virtual/pkgconfig
|
||||
"
|
||||
DEPEND="
|
||||
COMMON_DEPEND="
|
||||
app-text/libpaper:=
|
||||
sys-libs/zlib
|
||||
acl? (
|
||||
@@ -60,8 +60,13 @@ DEPEND="
|
||||
xinetd? ( sys-apps/xinetd )
|
||||
zeroconf? ( >=net-dns/avahi-0.6.31-r2[dbus,${MULTILIB_USEDEP}] )
|
||||
"
|
||||
# if libcupsfilters is installed, more tests are run. They fail without at least one of the two formats enabled.
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
test? ( || ( net-print/libcupsfilters[jpeg] net-print/libcupsfilters[png] ) )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
${COMMON_DEPEND}
|
||||
acct-group/lp
|
||||
acct-group/lpadmin
|
||||
selinux? ( sec-policy/selinux-cups )
|
||||
|
||||
Reference in New Issue
Block a user