summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Helmert III <ajak@gentoo.org>2022-12-17 21:08:21 -0600
committerJohn Helmert III <ajak@gentoo.org>2022-12-17 21:09:22 -0600
commitceb9288990c464598cb9ac24ccb7d6bc3378b41a (patch)
tree73710d48466a8319c51c214667226156d0c1524d /app-emulation/spice
parentapp-emulation/spice: add 0.15.1 (diff)
downloadgentoo-ceb9288990c464598cb9ac24ccb7d6bc3378b41a.tar.gz
gentoo-ceb9288990c464598cb9ac24ccb7d6bc3378b41a.tar.bz2
gentoo-ceb9288990c464598cb9ac24ccb7d6bc3378b41a.zip
app-emulation/spice: ebuild tidying, python3_11
Signed-off-by: John Helmert III <ajak@gentoo.org>
Diffstat (limited to 'app-emulation/spice')
-rw-r--r--app-emulation/spice/spice-0.15.1-r1.ebuild (renamed from app-emulation/spice/spice-0.15.1.ebuild)17
1 files changed, 9 insertions, 8 deletions
diff --git a/app-emulation/spice/spice-0.15.1.ebuild b/app-emulation/spice/spice-0.15.1-r1.ebuild
index 0c14ba831831..9e1e49242ce4 100644
--- a/app-emulation/spice/spice-0.15.1.ebuild
+++ b/app-emulation/spice/spice-0.15.1-r1.ebuild
@@ -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"
@@ -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(+)?] )
@@ -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() {
@@ -67,7 +67,7 @@ src_configure() {
xdg_environment_reset
- local myconf="
+ local myconf=(
$(use_enable static-libs static)
$(use_enable lz4)
$(use_with sasl)
@@ -75,8 +75,9 @@ src_configure() {
$(use_enable test tests)
--enable-gstreamer=$(usex gstreamer "1.0" "no")
--disable-celt051
- "
- econf ${myconf}
+ )
+
+ econf "${myconf[@]}"
}
src_compile() {