public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/ppsspp/
Date: Fri, 11 Dec 2020 07:58:25 +0000 (UTC)	[thread overview]
Message-ID: <1607673490.0722271ca187e1c4c5f30ae32b4385fe766be942.juippis@gentoo> (raw)

commit:     0722271ca187e1c4c5f30ae32b4385fe766be942
Author:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
AuthorDate: Sun Dec  6 21:47:58 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Dec 11 07:58:10 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0722271c

games-emulation/ppsspp: add USE flag for discord-rpc

Closes: https://bugs.gentoo.org/758365
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/18541
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 games-emulation/ppsspp/metadata.xml         |  1 +
 games-emulation/ppsspp/ppsspp-1.10.3.ebuild | 11 +++++------
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/games-emulation/ppsspp/metadata.xml b/games-emulation/ppsspp/metadata.xml
index 73483506334..d19785f0a0c 100644
--- a/games-emulation/ppsspp/metadata.xml
+++ b/games-emulation/ppsspp/metadata.xml
@@ -10,6 +10,7 @@
         <name>Proxy Maintainers</name>
     </maintainer>
     <use>
+        <flag name="discord">Enable interfacing with a locally running Discord desktop client</flag>
         <flag name="system-ffmpeg">Use the system-wide media-video/ffmpeg instead of bundled</flag>
     </use>
     <upstream>

diff --git a/games-emulation/ppsspp/ppsspp-1.10.3.ebuild b/games-emulation/ppsspp/ppsspp-1.10.3.ebuild
index 41b2ef1ee03..c2d256e9a4f 100644
--- a/games-emulation/ppsspp/ppsspp-1.10.3.ebuild
+++ b/games-emulation/ppsspp/ppsspp-1.10.3.ebuild
@@ -12,18 +12,18 @@ SRC_URI="
 	https://github.com/KhronosGroup/SPIRV-Cross/archive/a1f7c8dc8ea2f94443951ee27003bffa562c1f13.tar.gz -> ${P}-ext_SPIRV-Cross.tar.gz
 	https://github.com/Kingcom/armips/archive/7885552b208493a6a0f21663770c446c3ba65576.tar.gz -> ${P}-ext_armips.tar.gz
 	https://github.com/Tencent/rapidjson/archive/73063f5002612c6bf64fe24f851cd5cc0d83eef9.tar.gz -> ${P}-ext_rapidjson.tar.gz
-	https://github.com/discordapp/discord-rpc/archive/3d3ae7129d17643bc706da0a2eea85aafd10ab3a.tar.gz -> ${P}-ext_discord-rpc.tar.gz
 	https://github.com/hrydgard/glslang/archive/d0850f875ec392a130ccf00018dab458b546f27c.tar.gz -> ${P}-ext_glslang.tar.gz
 	https://github.com/hrydgard/ppsspp-freetype/archive/cbea79dc8fef4d9210e2bac7e7b9b5ff3388197a.tar.gz -> ${P}-ext_native_tools_prebuilt.tar.gz
 	https://github.com/hrydgard/ppsspp-lang/archive/fd6f5bc01afb419eacca538b425c01eb2a055393.tar.gz -> ${P}-assets_lang.tar.gz
 	!system-ffmpeg? ( https://github.com/hrydgard/ppsspp-ffmpeg/archive/d3e695286cce346274192c214c00f021c00cd575.tar.gz -> ${P}-ffmpeg.tar.gz )
+	discord? ( https://github.com/discordapp/discord-rpc/archive/3d3ae7129d17643bc706da0a2eea85aafd10ab3a.tar.gz -> ${P}-ext_discord-rpc.tar.gz )
 "
 
 RESTRICT="test"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="qt5 sdl +system-ffmpeg"
+IUSE="discord qt5 sdl +system-ffmpeg"
 REQUIRED_USE="!qt5? ( sdl )"
 
 RDEPEND="
@@ -57,14 +57,12 @@ src_unpack() {
 		assets_lang
 		ext_SPIRV-Cross
 		ext_armips
-		ext_discord-rpc
 		ext_glslang
 		ext_native_tools_prebuilt
 		ext_rapidjson
 	)
-	if ! use system-ffmpeg; then
-		list+=( ffmpeg )
-	fi
+	! use system-ffmpeg && list+=( ffmpeg )
+	use discord && list+=( ext_discord-rpc )
 	for i in "${list[@]}"; do
 		tar xf "${DISTDIR}/${P}-${i}.tar.gz" --strip-components 1 -C "${i//_//}" || die "Failed to unpack ${P}-${i}.tar.gz"
 	done
@@ -82,6 +80,7 @@ src_configure() {
 	local mycmakeargs=(
 		$(cmake_use_find_package sdl SDL2)
 		-DHEADLESS=true
+		-DUSE_DISCORD=$(usex discord)
 		-DUSE_SYSTEM_FFMPEG=$(usex system-ffmpeg)
 		-DUSE_SYSTEM_LIBZIP=ON
 		-DUSE_SYSTEM_SNAPPY=ON


             reply	other threads:[~2020-12-11  7:58 UTC|newest]

Thread overview: 82+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-11  7:58 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-12 10:14 [gentoo-commits] repo/gentoo:master commit in: games-emulation/ppsspp/ Ionen Wolkens
2025-03-07 19:34 Maciej Barć
2024-11-17 16:26 Maciej Barć
2024-11-14 23:40 Maciej Barć
2024-04-11  1:38 Maciej Barć
2024-03-15 23:53 Sam James
2024-03-04  1:03 Maciej Barć
2024-02-14 17:01 Maciej Barć
2024-02-12 17:07 Maciej Barć
2024-02-10 23:50 Maciej Barć
2024-02-10 23:50 Maciej Barć
2023-09-25 20:36 Maciej Barć
2023-09-25 20:36 Maciej Barć
2023-09-25 20:36 Maciej Barć
2023-09-25 20:36 Maciej Barć
2023-09-22 14:09 Maciej Barć
2023-09-20 16:27 Maciej Barć
2023-09-13 18:31 Maciej Barć
2023-09-09 18:14 Maciej Barć
2023-06-24 22:44 Sam James
2023-06-23 21:24 Maciej Barć
2023-06-23 21:24 Maciej Barć
2023-06-07 16:11 Sam James
2023-05-22 17:15 Maciej Barć
2023-05-22 17:15 Maciej Barć
2023-05-22 17:15 Maciej Barć
2023-05-07 15:21 Maciej Barć
2023-05-05 12:03 Maciej Barć
2023-05-01 17:47 Maciej Barć
2023-04-04 19:32 Arthur Zamarin
2023-04-04 16:27 Maciej Barć
2023-03-07 15:45 Sam James
2023-03-04 21:15 Maciej Barć
2023-03-03 22:27 Maciej Barć
2023-01-03 20:30 Maciej Barć
2023-01-03 20:30 Maciej Barć
2023-01-02 12:26 Maciej Barć
2023-01-02 12:26 Maciej Barć
2023-01-01 12:30 Maciej Barć
2022-12-30 18:40 Maciej Barć
2022-12-30 18:40 Maciej Barć
2022-12-21  5:16 Maciej Barć
2022-12-21  5:16 Maciej Barć
2022-12-21  5:16 Maciej Barć
2022-12-15 15:26 Maciej Barć
2022-12-15 15:26 Maciej Barć
2022-09-12  1:50 Maciej Barć
2022-09-12  1:50 Maciej Barć
2022-08-31 15:09 Maciej Barć
2022-07-26 21:10 Maciej Barć
2022-03-01  1:34 Maciej Barć
2021-11-26  0:44 Maciej Barć
2021-11-25  2:03 Maciej Barć
2021-07-06 11:50 Ionen Wolkens
2021-07-05 17:59 Ionen Wolkens
2021-03-11 17:06 Sam James
2021-03-08 16:51 Joonas Niilola
2021-02-17 16:30 Joonas Niilola
2021-02-17 16:30 Joonas Niilola
2020-11-28  8:45 Joonas Niilola
2020-11-28  8:45 Joonas Niilola
2020-04-25 20:16 Mikle Kolyada
2018-08-15 10:37 Andreas Sturmlechner
2018-08-15 10:37 Andreas Sturmlechner
2018-08-15 10:37 Andreas Sturmlechner
2018-07-18 21:11 Jonas Stein
2018-04-18 22:26 Jonas Stein
2018-01-13 22:21 David Seifert
2017-12-14  8:47 Patrice Clement
2017-06-18  7:41 Michał Górny
2017-04-04 21:14 Patrice Clement
2016-03-22  7:37 Patrice Clement
2016-02-21 11:12 Patrice Clement
2016-02-07 13:15 Patrice Clement
2016-02-02 22:27 Patrice Clement
2016-02-02 22:27 Patrice Clement
2016-01-31  0:15 Patrice Clement
2016-01-22 15:17 Michael Palimaka
2016-01-20  7:19 Ian Delaney
2016-01-19 20:27 Patrice Clement
2016-01-19 20:27 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1607673490.0722271ca187e1c4c5f30ae32b4385fe766be942.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox