mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
games-util/chiaki: fix python build dep
Bug: https://bugs.gentoo.org/832879 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake xdg
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit cmake python-single-r1 xdg
|
||||
|
||||
DESCRIPTION="Client for PlayStation 4 and PlayStation 5 Remote Play"
|
||||
HOMEPAGE="https://git.sr.ht/~thestr4ng3r/chiaki"
|
||||
@@ -20,9 +21,11 @@ fi
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="+cli +gui test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-libs/jerasure
|
||||
dev-libs/openssl
|
||||
dev-qt/qtconcurrent
|
||||
@@ -36,8 +39,9 @@ RDEPEND="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep 'dev-python/protobuf-python[${PYTHON_USEDEP}]')
|
||||
dev-libs/protobuf
|
||||
dev-python/protobuf-python
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
@@ -45,6 +49,9 @@ src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
-DPYTHON_EXECUTABLE="${PYTHON}"
|
||||
-DPYTHON_LIBRARY="$(python_get_library_path)"
|
||||
-DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
|
||||
-DCHIAKI_USE_SYSTEM_JERASURE=TRUE
|
||||
-DCHIAKI_ENABLE_TESTS=$(usex test)
|
||||
-DCHIAKI_ENABLE_CLI=$(usex cli)
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake xdg
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit cmake python-single-r1 xdg
|
||||
|
||||
DESCRIPTION="Client for PlayStation 4 and PlayStation 5 Remote Play"
|
||||
HOMEPAGE="https://git.sr.ht/~thestr4ng3r/chiaki"
|
||||
@@ -20,9 +21,11 @@ fi
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="+cli +gui test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-libs/jerasure
|
||||
dev-libs/openssl
|
||||
dev-qt/qtconcurrent
|
||||
@@ -36,8 +39,9 @@ RDEPEND="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep 'dev-python/protobuf-python[${PYTHON_USEDEP}]')
|
||||
dev-libs/protobuf
|
||||
dev-python/protobuf-python
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
@@ -45,6 +49,9 @@ src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
-DPYTHON_EXECUTABLE="${PYTHON}"
|
||||
-DPYTHON_LIBRARY="$(python_get_library_path)"
|
||||
-DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
|
||||
-DCHIAKI_USE_SYSTEM_JERASURE=TRUE
|
||||
-DCHIAKI_ENABLE_TESTS=$(usex test)
|
||||
-DCHIAKI_ENABLE_CLI=$(usex cli)
|
||||
|
||||
Reference in New Issue
Block a user