diff options
author | Sebastian Parborg <sebastian@blender.org> | 2024-07-15 13:01:25 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-07-16 08:04:02 +0100 |
commit | fc6b0e604e524cf4ba549c33b580fd1d707f5aae (patch) | |
tree | eee08b37d1774acb7c63b421731d9589adf4056c /dev-libs/lager | |
parent | dev-libs/immer: Add missing libfmt dep for tests (diff) | |
download | gentoo-fc6b0e604e524cf4ba549c33b580fd1d707f5aae.tar.gz gentoo-fc6b0e604e524cf4ba549c33b580fd1d707f5aae.tar.bz2 gentoo-fc6b0e604e524cf4ba549c33b580fd1d707f5aae.zip |
dev-libs/lager: Add missing Qt deps for tests
Closes: https://bugs.gentoo.org/936025
Signed-off-by: Sebastian Parborg <darkdefende@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37566
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/lager')
-rw-r--r-- | dev-libs/lager/lager-0.1.1-r1.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-libs/lager/lager-0.1.1-r1.ebuild b/dev-libs/lager/lager-0.1.1-r1.ebuild new file mode 100644 index 000000000000..1c04a551b94f --- /dev/null +++ b/dev-libs/lager/lager-0.1.1-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Library to assist value-oriented design" +HOMEPAGE="https://sinusoid.es/lager/" +SRC_URI="https://github.com/arximboldi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/boost:= + dev-libs/zug + dev-libs/immer +" +DEPEND="${RDEPEND}" +BDEPEND=" + test? ( + <dev-cpp/catch-3:0 + dev-libs/cereal + dev-qt/qtcore + dev-qt/qtconcurrent + dev-qt/qtdeclarative + ) +" + +src_configure() { + local mycmakeargs=( + -DCCACHE=no + -Dlager_BUILD_DEBUGGER_EXAMPLES=OFF + -Dlager_BUILD_DOCS=OFF # Check if docs are more complete on version bumps + -Dlager_BUILD_EXAMPLES=OFF + -Dlager_BUILD_FAILURE_TESTS=OFF + -Dlager_BUILD_TESTS=$(usex test) + ) + + cmake_src_configure +} + +src_compile() { + cmake_src_compile + if use test; then + cmake_build tests + fi +} |