diff options
author | Kenton Groombridge <concord@gentoo.org> | 2022-07-03 14:42:06 -0400 |
---|---|---|
committer | Kenton Groombridge <concord@gentoo.org> | 2022-07-03 15:17:48 -0400 |
commit | 06a6439e0d67db49c759afcbee6fe3e20d129856 (patch) | |
tree | 0fbe9ccfa2f51f7af4f0a977ad00fd0642a3ceb3 /net-voip | |
parent | net-voip/murmur: append -fsigned-char to CXXFLAGS (diff) | |
download | gentoo-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.ebuild | 8 | ||||
-rw-r--r-- | net-voip/mumble/mumble-9999.ebuild | 8 |
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 |