summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenton Groombridge <concord@gentoo.org>2022-07-03 14:42:06 -0400
committerKenton Groombridge <concord@gentoo.org>2022-07-03 15:17:48 -0400
commit06a6439e0d67db49c759afcbee6fe3e20d129856 (patch)
tree0fbe9ccfa2f51f7af4f0a977ad00fd0642a3ceb3 /net-voip
parentnet-voip/murmur: append -fsigned-char to CXXFLAGS (diff)
downloadgentoo-06a6439e0d67db49c759afcbee6fe3e20d129856.tar.gz
gentoo-06a6439e0d67db49c759afcbee6fe3e20d129856.tar.bz2
gentoo-06a6439e0d67db49c759afcbee6fe3e20d129856.zip
net-voip/mumble: inherit python-any-r1
Mumble's build system requires a Python interpreter to be present when building its bundled translations. Signed-off-by: Kenton Groombridge <concord@gentoo.org>
Diffstat (limited to 'net-voip')
-rw-r--r--net-voip/mumble/mumble-1.4.230-r2.ebuild8
-rw-r--r--net-voip/mumble/mumble-9999.ebuild8
2 files changed, 14 insertions, 2 deletions
diff --git a/net-voip/mumble/mumble-1.4.230-r2.ebuild b/net-voip/mumble/mumble-1.4.230-r2.ebuild
index ee18ba0d74f9..382e030edb65 100644
--- a/net-voip/mumble/mumble-1.4.230-r2.ebuild
+++ b/net-voip/mumble/mumble-1.4.230-r2.ebuild
@@ -3,7 +3,8 @@
EAPI=7
-inherit cmake flag-o-matic xdg
+PYTHON_COMPAT=( python3_{8..10} )
+inherit cmake flag-o-matic python-any-r1 xdg
DESCRIPTION="Mumble is an open source, low-latency, high quality voice chat software"
HOMEPAGE="https://wiki.mumble.info"
@@ -59,6 +60,7 @@ RDEPEND="
zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
"
DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
dev-qt/qtconcurrent:5
dev-qt/qttest:5
>=dev-libs/boost-1.41.0
@@ -76,6 +78,10 @@ PATCHES=(
"${FILESDIR}/${PN}-1.4.230-poco-link-cmake.patch"
)
+pkg_setup() {
+ python-any-r1_pkg_setup
+}
+
src_prepare() {
# required because of xdg.eclass also providing src_prepare
cmake_src_prepare
diff --git a/net-voip/mumble/mumble-9999.ebuild b/net-voip/mumble/mumble-9999.ebuild
index cbe94df0b160..548fe5b1e282 100644
--- a/net-voip/mumble/mumble-9999.ebuild
+++ b/net-voip/mumble/mumble-9999.ebuild
@@ -3,7 +3,8 @@
EAPI=7
-inherit cmake flag-o-matic xdg
+PYTHON_COMPAT=( python3_{8..10} )
+inherit cmake flag-o-matic python-any-r1 xdg
DESCRIPTION="Mumble is an open source, low-latency, high quality voice chat software"
HOMEPAGE="https://wiki.mumble.info"
@@ -57,6 +58,7 @@ RDEPEND="
zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
"
DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
dev-cpp/nlohmann_json
dev-qt/qtconcurrent:5
dev-qt/qttest:5
@@ -68,6 +70,10 @@ BDEPEND="
virtual/pkgconfig
"
+pkg_setup() {
+ python-any-r1_pkg_setup
+}
+
src_prepare() {
sed '/TRACY_ON_DEMAND/s@ ON @ OFF @' -i src/CMakeLists.txt || die