gentoo/net-libs/libre-graph-api-cpp-qt-client/libre-graph-api-cpp-qt-client-1.0.4.ebuild
Bernard Cafarelli db587ac90c
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>
2024-03-19 21:23:45 +01:00

26 lines
656 B
Bash

# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="API for cloud collaboration inspired by the MS Graph API"
HOMEPAGE="https://github.com/owncloud/libre-graph-api-cpp-qt-client/"
SRC_URI="https://github.com/owncloud/libre-graph-api-cpp-qt-client/archive/refs/tags/v${PV}.tar.gz -> libre-graph-api-cpp-qt-client-${PV}.tar.gz"
S=${WORKDIR}/${P}/client
LICENSE="Apache-2.0"
SLOT="0"
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
}