summaryrefslogtreecommitdiff
path: root/net-libs/libtmdbqt/libtmdbqt-9999.ebuild
blob: b7b0d592d0139dd20310da59282971d1e26008f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake kde.org

DESCRIPTION="Qt library to query the movie database API (themoviedb.org)"
HOMEPAGE="https://invent.kde.org/libraries/libtmdbqt"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS=""
IUSE="test"

RESTRICT="!test? ( test )"

DEPEND="dev-qt/qtbase:6[network]"
RDEPEND="${DEPEND}"

src_configure() {
	local mycmakeargs=(
		-DTMDBQT_ENABLE_TESTS=$(usex test)
	)

	cmake_src_configure
}