dev-libs/discord-rpc: add 3.4.1, drop 3.4.0

Switch to the https://github.com/eden-emulator/discord-rpc fork.

Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
Pavel Sobolev
2025-10-31 22:19:17 +03:00
parent 6daf3ffdaa
commit c22dc676ea
2 changed files with 9 additions and 3 deletions

View File

@@ -1 +1 @@
DIST discord-rpc-3.4.0.tar.gz 2107644 BLAKE2B f86f079524f3c00ff767f14b78c8826e48f66ef0867a5fdce38411b8e7b57d62c6c34f9f45c9d4fd2e5d29cb8c30af55ab92efc6b4673bcaf915a9d0287f0f65 SHA512 ca981b833aff5f21fd629a704deadd8e3fb5423d959ddb75e381313f6462d984c567671b10c8f031905c08d85792ddbe2dddc402ba2613c42de9e80fc68d0d51
DIST discord-rpc-3.4.1.tar.gz 2219337 BLAKE2B fbd7be6a2dfb4eaee13a14f63c3a24ced3cfe46eb448b9fcbb24c290c88bd762fd466a3634e310bf3199a5b97338bef9fc83da9348d0f7270dd2eb13f76f1487 SHA512 484a1ded237f4d86b93bba547ffa05dddc04aeb822d52a137c552a894964575c5db4bfce8ab60a294a4c0c999d965ce7744e94f1fe95ee9fe2b4bce84fa3d6d8

View File

@@ -6,8 +6,8 @@ EAPI=8
inherit cmake
DESCRIPTION="Library for interfacing a game with a locally running Discord desktop client"
HOMEPAGE="https://github.com/discord/discord-rpc"
SRC_URI="https://github.com/discord/discord-rpc/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
HOMEPAGE="https://github.com/eden-emulator/discord-rpc"
SRC_URI="https://github.com/eden-emulator/discord-rpc/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
@@ -22,6 +22,12 @@ PATCHES=(
"${FILESDIR}/${PN}-3.4.0-install-examples-for-RelWithDebInfo-too.patch"
)
src_prepare() {
rm -rf thirdparty || die
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DBUILD_EXAMPLES=$(usex examples)