mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 11:04:10 -04:00
dev-cpp/dpp: revbump all versions
The changes from the last commit change the build result, so a revbump is necessary. Signed-off-by: Adrian Schollmeyer <nex+b-g-o@nexadn.de>
This commit is contained in:
53
dev-cpp/dpp/dpp-10.0.22-r1.ebuild
Normal file
53
dev-cpp/dpp/dpp-10.0.22-r1.ebuild
Normal file
@@ -0,0 +1,53 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Lightweight C++ Discord bot library"
|
||||
HOMEPAGE="https://dpp.dev/ https://github.com/brainboxdotcc/DPP"
|
||||
SRC_URI="
|
||||
https://github.com/brainboxdotcc/DPP/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://patch-diff.githubusercontent.com/raw/brainboxdotcc/DPP/pull/596.patch -> ${PN}-890014-rework-compiler-flags.patch
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
# DPP is extremely ABI instable due to frequent changes in the Discord API
|
||||
# See https://github.com/brainboxdotcc/DPP/issues/207#issuecomment-1007030157
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="voice"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/openssl:=
|
||||
sys-libs/zlib:=
|
||||
|
||||
voice? (
|
||||
dev-libs/libsodium:=
|
||||
media-libs/opus
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/DPP-${PV}"
|
||||
|
||||
DOCS=( "README.md" "SECURITY.md" )
|
||||
|
||||
PATCHES=(
|
||||
# Backport of the compiler flag setting fixes, remove after 10.0.22, https://bugs.gentoo.org/890014
|
||||
"${DISTDIR}/${PN}-890014-rework-compiler-flags.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=true
|
||||
-DBUILD_VOICE_SUPPORT=$(usex voice)
|
||||
-DRUN_LDCONFIG=false
|
||||
# Tests require network access
|
||||
-DDPP_BUILD_TEST=false
|
||||
-DDPP_NO_VCPKG=true
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user