mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-libs/mtxclient: fix re2 subslot dep
Use := operator instead of hardcoded :0/10 to properly track re2 ABI changes Signed-off-by: Skyler Mäntysaari <sm@skym.fi>
This commit is contained in:
46
dev-libs/mtxclient/mtxclient-0.10.0-r3.ebuild
Normal file
46
dev-libs/mtxclient/mtxclient-0.10.0-r3.ebuild
Normal file
@@ -0,0 +1,46 @@
|
||||
# Copyright 2020-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Client API library for Matrix, built on top of libcurl"
|
||||
HOMEPAGE="https://github.com/Nheko-Reborn/mtxclient"
|
||||
SRC_URI="https://github.com/Nheko-Reborn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}" # ABI may break even on patch version changes
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-cpp/coeurl-0.3.1:=[ssl]
|
||||
dev-libs/libfmt:=
|
||||
dev-libs/olm
|
||||
dev-libs/openssl:=
|
||||
dev-libs/re2:=
|
||||
dev-libs/spdlog:=
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
>=dev-cpp/nlohmann_json-3.11.0
|
||||
test? ( dev-cpp/gtest )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.6.0-remove-network-tests.patch
|
||||
"${FILESDIR}"/${PN}-0.10.0-fmt11.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local -a mycmakeargs=(
|
||||
-DBUILD_LIB_TESTS="$(usex test)"
|
||||
-DBUILD_LIB_EXAMPLES=OFF
|
||||
-DCMAKE_POSITION_INDEPENDENT_CODE=OFF
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
45
dev-libs/mtxclient/mtxclient-0.10.1-r1.ebuild
Normal file
45
dev-libs/mtxclient/mtxclient-0.10.1-r1.ebuild
Normal file
@@ -0,0 +1,45 @@
|
||||
# Copyright 2020-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Client API library for Matrix, built on top of libcurl"
|
||||
HOMEPAGE="https://github.com/Nheko-Reborn/mtxclient"
|
||||
SRC_URI="https://github.com/Nheko-Reborn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}" # ABI may break even on patch version changes
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-cpp/coeurl-0.3.1:=[ssl]
|
||||
dev-libs/libfmt:=
|
||||
dev-libs/olm
|
||||
dev-libs/openssl:=
|
||||
dev-libs/re2:=
|
||||
dev-libs/spdlog:=
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
>=dev-cpp/nlohmann_json-3.11.0
|
||||
test? ( dev-cpp/gtest )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.6.0-remove-network-tests.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local -a mycmakeargs=(
|
||||
-DBUILD_LIB_TESTS="$(usex test)"
|
||||
-DBUILD_LIB_EXAMPLES=OFF
|
||||
-DCMAKE_POSITION_INDEPENDENT_CODE=OFF
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user