diff options
author | Huang Rui <vowstar@gmail.com> | 2022-02-08 00:35:34 +0800 |
---|---|---|
committer | Huang Rui <vowstar@gmail.com> | 2022-02-08 00:35:34 +0800 |
commit | 83c1a229196756c62cb6253ec335ef1aa9c0dc44 (patch) | |
tree | 49d07629dcede4ff5c50f465f38a075374634a8d /games-util | |
parent | dev-libs/qhttpengine: EAPI=8 and happy new year (diff) | |
download | guru-83c1a229196756c62cb6253ec335ef1aa9c0dc44.tar.gz guru-83c1a229196756c62cb6253ec335ef1aa9c0dc44.tar.bz2 guru-83c1a229196756c62cb6253ec335ef1aa9c0dc44.zip |
games-util/chiaki: new package 2.1.1
Client for PlayStation 4 and PlayStation 5 Remote Play
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Huang Rui <vowstar@gmail.com>
Diffstat (limited to 'games-util')
-rw-r--r-- | games-util/chiaki/Manifest | 1 | ||||
-rw-r--r-- | games-util/chiaki/chiaki-2.1.1.ebuild | 61 | ||||
-rw-r--r-- | games-util/chiaki/chiaki-9999.ebuild | 61 | ||||
-rw-r--r-- | games-util/chiaki/metadata.xml | 17 |
4 files changed, 140 insertions, 0 deletions
diff --git a/games-util/chiaki/Manifest b/games-util/chiaki/Manifest new file mode 100644 index 000000000..dd0b8363a --- /dev/null +++ b/games-util/chiaki/Manifest @@ -0,0 +1 @@ +DIST chiaki-2.1.1.tar.gz 6755442 BLAKE2B 6131b15d01b6ea96eedca0e8a3989bd353142ccc0fa34d159b1bf0a15412f315934b642f5e9e576dd8155506b85054000e54500e5966a3677bd60c989b2c9303 SHA512 3e0d8afd71f6f348d5ab0e68c7c46b9ee7d249d8b6b1185a746cb8b3907ea21db24756d5ec9de8debafbfffe74698358d29a97bc213cff7944ea15e894c3da50 diff --git a/games-util/chiaki/chiaki-2.1.1.ebuild b/games-util/chiaki/chiaki-2.1.1.ebuild new file mode 100644 index 000000000..2f9bacabc --- /dev/null +++ b/games-util/chiaki/chiaki-2.1.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake 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 ~x86" + S="${WORKDIR}/${PN}" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="+cli +gui test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/jerasure + dev-libs/openssl + dev-qt/qtmultimedia + dev-qt/qtsvg + media-libs/libsdl2 + media-libs/opus + media-video/ffmpeg +" + +DEPEND="${RDEPEND}" + +BDEPEND=" + dev-libs/protobuf + dev-python/protobuf-python + virtual/pkgconfig +" + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" + -DCMAKE_BUILD_TYPE=Release + -DCHIAKI_USE_SYSTEM_JERASURE=TRUE + -DCHIAKI_ENABLE_TESTS=$(usex test) + -DCHIAKI_ENABLE_CLI=$(usex cli) + -DCHIAKI_ENABLE_GUI=$(usex gui) + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + dolib.so "${BUILD_DIR}"/lib/*.so + dolib.so "${BUILD_DIR}"/setsu/*.so +}
\ No newline at end of file diff --git a/games-util/chiaki/chiaki-9999.ebuild b/games-util/chiaki/chiaki-9999.ebuild new file mode 100644 index 000000000..2f9bacabc --- /dev/null +++ b/games-util/chiaki/chiaki-9999.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake 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 ~x86" + S="${WORKDIR}/${PN}" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="+cli +gui test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/jerasure + dev-libs/openssl + dev-qt/qtmultimedia + dev-qt/qtsvg + media-libs/libsdl2 + media-libs/opus + media-video/ffmpeg +" + +DEPEND="${RDEPEND}" + +BDEPEND=" + dev-libs/protobuf + dev-python/protobuf-python + virtual/pkgconfig +" + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" + -DCMAKE_BUILD_TYPE=Release + -DCHIAKI_USE_SYSTEM_JERASURE=TRUE + -DCHIAKI_ENABLE_TESTS=$(usex test) + -DCHIAKI_ENABLE_CLI=$(usex cli) + -DCHIAKI_ENABLE_GUI=$(usex gui) + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + dolib.so "${BUILD_DIR}"/lib/*.so + dolib.so "${BUILD_DIR}"/setsu/*.so +}
\ No newline at end of file diff --git a/games-util/chiaki/metadata.xml b/games-util/chiaki/metadata.xml new file mode 100644 index 000000000..a8ccfa81b --- /dev/null +++ b/games-util/chiaki/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://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 GUI interface</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> |