new ebuild: games-util/chiaki

This commit is contained in:
Brian S. Stephan 2021-08-17 10:17:20 -05:00
parent ad55dfd53f
commit 2c8e6aff5e
1 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,40 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.sr.ht/~thestr4ng3r/chiaki"
KEYWORDS="~amd64"
else
SRC_URI="https://git.sr.ht/~thestr4ng3r/chiaki/archive/v${PN}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="Chiaki is a client for PlayStation 4 and PlayStation 5 Remote Play"
HOMEPAGE="https://git.sr.ht/~thestr4ng3r/chiaki"
LICENSE="AGPL-3"
SLOT="0"
DEPEND="
dev-python/protobuf-python
"
RDEPEND="${DEPEND}"
BDEPEND=""
src_configure() {
local mycmakeargs=(
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
)
cmake_src_configure
}
src_install() {
cmake_src_install
dolib.so ${WORKDIR}/chiaki-9999_build/lib/libchiaki.so
dolib.so ${WORKDIR}/chiaki-9999_build/setsu/libsetsu.so
}