Skip to content

Commit

Permalink
app-emulation/spice: ebuild tidying, python3_11
Browse files Browse the repository at this point in the history
Signed-off-by: John Helmert III <[email protected]>
  • Loading branch information
ajakk committed Dec 18, 2022
1 parent 4bdbf83 commit ceb9288
Showing 1 changed file with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=8

PYTHON_COMPAT=( python3_{8,9,10} )
PYTHON_COMPAT=( python3_{8,9,10,11} )
inherit autotools python-any-r1 readme.gentoo-r1 xdg-utils

DESCRIPTION="SPICE server"
Expand All @@ -20,11 +20,11 @@ RESTRICT="!test? ( test )"
# the libspice-server only uses the headers of libcacard
RDEPEND="dev-lang/orc[static-libs(+)?]
>=dev-libs/glib-2.38:2[static-libs(+)?]
dev-libs/openssl:0=[static-libs(+)?]
media-libs/opus[static-libs(+)?]
media-libs/libjpeg-turbo:0=[static-libs(+)?]
sys-libs/zlib[static-libs(+)?]
virtual/jpeg:0=[static-libs(+)?]
>=x11-libs/pixman-0.17.7[static-libs(+)?]
dev-libs/openssl:0=[static-libs(+)?]
lz4? ( app-arch/lz4:0=[static-libs(+)?] )
smartcard? ( >=app-emulation/libcacard-2.5.1 )
sasl? ( dev-libs/cyrus-sasl[static-libs(+)?] )
Expand All @@ -45,8 +45,8 @@ BDEPEND="${PYTHON_DEPS}
')"

python_check_deps() {
has_version -b ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]"
has_version -b "dev-python/six[${PYTHON_USEDEP}]"
python_has_version -b ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]"
python_has_version -b "dev-python/six[${PYTHON_USEDEP}]"
}

pkg_setup() {
Expand All @@ -67,16 +67,17 @@ src_configure() {

xdg_environment_reset

local myconf="
local myconf=(
$(use_enable static-libs static)
$(use_enable lz4)
$(use_with sasl)
$(use_enable smartcard)
$(use_enable test tests)
--enable-gstreamer=$(usex gstreamer "1.0" "no")
--disable-celt051
"
econf ${myconf}
)

econf "${myconf[@]}"
}

src_compile() {
Expand Down

0 comments on commit ceb9288

Please sign in to comment.