mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
games-util/chiaki: treeclean, unable to build correctly
Migrate to games-util/chiaki-ng Closes: https://bugs.gentoo.org/945216 Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST chiaki-2.2.0.tar.gz 11923395 BLAKE2B f1095f6effad1ef48d49fa757877042b7173f16a2d6c49886528c279caa5eba8b56e01b085b83c3fda6831c745de337cd01dd87cd0eea54d84a1ec3d2ca78b28 SHA512 1d9c02911073776047c472043526f27ab53d5a517e4646b8d2c910401dffd20a5aaebe5737c9cb399665e2334e1a75b2528c3d03a200dc88423141f96127897e
|
||||
@@ -1,79 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
inherit cmake python-single-r1 xdg
|
||||
|
||||
DESCRIPTION="Client for PlayStation 4 and PlayStation 5 Remote Play"
|
||||
HOMEPAGE="https://git.sr.ht/~thestr4ng3r/chiaki"
|
||||
|
||||
if [[ "${PV}" == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://git.sr.ht/~thestr4ng3r/${PN}"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://git.sr.ht/~thestr4ng3r/${PN}/refs/download/v${PV}/${PN}-v${PV}-src.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
S="${WORKDIR}/${PN}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="+cli +gui +sdl +ffmpeg system-jerasure system-nanopb mbedtls test"
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
gui? ( ffmpeg )
|
||||
"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-libs/libevdev
|
||||
media-libs/opus
|
||||
sdl? ( media-libs/libsdl2[joystick,haptic] )
|
||||
gui? ( dev-qt/qtcore:5 )
|
||||
gui? ( dev-qt/qtwidgets:5 )
|
||||
gui? ( dev-qt/qtgui:5 )
|
||||
gui? ( dev-qt/qtconcurrent:5 )
|
||||
gui? ( dev-qt/qtmultimedia:5 )
|
||||
gui? ( dev-qt/qtopengl:5 )
|
||||
gui? ( dev-qt/qtsvg:5 )
|
||||
!mbedtls? ( dev-libs/openssl:= )
|
||||
mbedtls? ( net-libs/mbedtls )
|
||||
ffmpeg? ( media-video/ffmpeg:= )
|
||||
system-jerasure? ( dev-libs/jerasure )
|
||||
system-nanopb? ( dev-libs/nanopb )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep 'dev-python/protobuf[${PYTHON_USEDEP}]')
|
||||
dev-libs/protobuf
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DPYTHON_EXECUTABLE="${PYTHON}"
|
||||
-DCHIAKI_USE_SYSTEM_JERASURE=$(usex system-jerasure)
|
||||
-DCHIAKI_USE_SYSTEM_NANOPB=$(usex system-nanopb)
|
||||
-DCHIAKI_ENABLE_TESTS=$(usex test)
|
||||
-DCHIAKI_ENABLE_CLI=$(usex cli)
|
||||
-DCHIAKI_ENABLE_GUI=$(usex gui)
|
||||
-DCHIAKI_ENABLE_FFMPEG_DECODER=$(usex ffmpeg)
|
||||
-DCHIAKI_LIB_ENABLE_MBEDTLS=$(usex mbedtls)
|
||||
-DCHIAKI_GUI_ENABLE_SDL_GAMECONTROLLER=$(usex sdl)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
dolib.so "${BUILD_DIR}"/lib/*.so
|
||||
use sdl || dolib.so "${BUILD_DIR}"/setsu/*.so
|
||||
}
|
||||
@@ -1,79 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
inherit cmake python-single-r1 xdg
|
||||
|
||||
DESCRIPTION="Client for PlayStation 4 and PlayStation 5 Remote Play"
|
||||
HOMEPAGE="https://git.sr.ht/~thestr4ng3r/chiaki"
|
||||
|
||||
if [[ "${PV}" == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://git.sr.ht/~thestr4ng3r/${PN}"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://git.sr.ht/~thestr4ng3r/${PN}/refs/download/v${PV}/${PN}-v${PV}-src.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
S="${WORKDIR}/${PN}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="+cli +gui +sdl +ffmpeg system-jerasure system-nanopb mbedtls test"
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
gui? ( ffmpeg )
|
||||
"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-libs/libevdev
|
||||
media-libs/opus
|
||||
sdl? ( media-libs/libsdl2[joystick,haptic] )
|
||||
gui? ( dev-qt/qtcore:5 )
|
||||
gui? ( dev-qt/qtwidgets:5 )
|
||||
gui? ( dev-qt/qtgui:5 )
|
||||
gui? ( dev-qt/qtconcurrent:5 )
|
||||
gui? ( dev-qt/qtmultimedia:5 )
|
||||
gui? ( dev-qt/qtopengl:5 )
|
||||
gui? ( dev-qt/qtsvg:5 )
|
||||
!mbedtls? ( dev-libs/openssl:= )
|
||||
mbedtls? ( net-libs/mbedtls )
|
||||
ffmpeg? ( media-video/ffmpeg:= )
|
||||
system-jerasure? ( dev-libs/jerasure )
|
||||
system-nanopb? ( dev-libs/nanopb )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep 'dev-python/protobuf[${PYTHON_USEDEP}]')
|
||||
dev-libs/protobuf
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DPYTHON_EXECUTABLE="${PYTHON}"
|
||||
-DCHIAKI_USE_SYSTEM_JERASURE=$(usex system-jerasure)
|
||||
-DCHIAKI_USE_SYSTEM_NANOPB=$(usex system-nanopb)
|
||||
-DCHIAKI_ENABLE_TESTS=$(usex test)
|
||||
-DCHIAKI_ENABLE_CLI=$(usex cli)
|
||||
-DCHIAKI_ENABLE_GUI=$(usex gui)
|
||||
-DCHIAKI_ENABLE_FFMPEG_DECODER=$(usex ffmpeg)
|
||||
-DCHIAKI_LIB_ENABLE_MBEDTLS=$(usex mbedtls)
|
||||
-DCHIAKI_GUI_ENABLE_SDL_GAMECONTROLLER=$(usex sdl)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
dolib.so "${BUILD_DIR}"/lib/*.so
|
||||
use sdl || dolib.so "${BUILD_DIR}"/setsu/*.so
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>vowstar@gmail.com</email>
|
||||
<name>Huang Rui</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="cli">Build CLI interface</flag>
|
||||
<flag name="gui">Build Qt GUI interface</flag>
|
||||
<flag name="system-jerasure">Use system-provided jerasure instead of submodule</flag>
|
||||
<flag name="system-nanopb">Use system-provided nanopb instead of submodule</flag>
|
||||
<flag name="sdl">Add support for touchpad and sensor handling via SDL. Adds support for any controller supported by SDL</flag>
|
||||
<flag name="mbedtls">Use mbedtls instead of OpenSSL as part of Chiaki lib</flag>
|
||||
</use>
|
||||
<longdescription lang="en">
|
||||
Chiaki is a Free and Open Source Software Client for PlayStation 4 and
|
||||
PlayStation 5 Remote Play for Linux, FreeBSD, OpenBSD, Android, macOS,
|
||||
Windows, Nintendo Switch and potentially even more platforms.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user