summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2024-03-19 21:23:25 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2024-03-19 21:23:45 +0100
commitdb587ac90cdd7384c687491cbd2a4a6777b5bbca (patch)
tree5b7bc1ba779081422188d5a41c5629f974cea3b9
parentsys-kernel/vanilla-kernel: Remove old (diff)
downloadgentoo-db587ac90cdd7384c687491cbd2a4a6777b5bbca.tar.gz
gentoo-db587ac90cdd7384c687491cbd2a4a6777b5bbca.tar.bz2
gentoo-db587ac90cdd7384c687491cbd2a4a6777b5bbca.zip
net-libs/libre-graph-api-cpp-qt-client: avoid Qt5 detection
Closes: https://bugs.gentoo.org/927292 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
-rw-r--r--net-libs/libre-graph-api-cpp-qt-client/libre-graph-api-cpp-qt-client-1.0.4.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/net-libs/libre-graph-api-cpp-qt-client/libre-graph-api-cpp-qt-client-1.0.4.ebuild b/net-libs/libre-graph-api-cpp-qt-client/libre-graph-api-cpp-qt-client-1.0.4.ebuild
index 51efb3492afb..22f737562833 100644
--- a/net-libs/libre-graph-api-cpp-qt-client/libre-graph-api-cpp-qt-client-1.0.4.ebuild
+++ b/net-libs/libre-graph-api-cpp-qt-client/libre-graph-api-cpp-qt-client-1.0.4.ebuild
@@ -16,3 +16,10 @@ KEYWORDS="~amd64 ~arm64 ~x86"
DEPEND="dev-qt/qtbase:6[gui,ssl]"
RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # Do not look for Qt5
+ sed -e "s/Qt5//" -i CMakeLists.txt || die
+
+ cmake_src_prepare
+}