From 2c8e6aff5ec7be1f0ee2a6d62874bdf5396f8c0a Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Tue, 17 Aug 2021 10:17:20 -0500 Subject: [PATCH] new ebuild: games-util/chiaki --- games-util/chiaki/chiaki-9999.ebuild | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 games-util/chiaki/chiaki-9999.ebuild diff --git a/games-util/chiaki/chiaki-9999.ebuild b/games-util/chiaki/chiaki-9999.ebuild new file mode 100644 index 0000000..9a951aa --- /dev/null +++ b/games-util/chiaki/chiaki-9999.ebuild @@ -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 +}