diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-06-20 10:18:04 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-06-20 10:32:53 +0200 |
commit | 617293ef5b176a938edb12c94794ee90ee778e81 (patch) | |
tree | faca69cace50880b0a73a9dd69643843429605d3 /kde-frameworks | |
parent | media-gfx/krita: 4.4.5 version bump (diff) | |
download | gentoo-617293ef5b176a938edb12c94794ee90ee778e81.tar.gz gentoo-617293ef5b176a938edb12c94794ee90ee778e81.tar.bz2 gentoo-617293ef5b176a938edb12c94794ee90ee778e81.zip |
kde-frameworks/knewstuff: Add IUSE=opds
Upstream commits:
eb0d00f686ebedc0374a3abd356db1559eb9dcf5
88cb903970ea95119c105823f01c7f7ee2cabf09
Bug: https://bugs.gentoo.org/796233
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks')
-rw-r--r-- | kde-frameworks/knewstuff/knewstuff-5.83.0-r1.ebuild (renamed from kde-frameworks/knewstuff/knewstuff-5.83.0.ebuild) | 11 | ||||
-rw-r--r-- | kde-frameworks/knewstuff/metadata.xml | 3 |
2 files changed, 13 insertions, 1 deletions
diff --git a/kde-frameworks/knewstuff/knewstuff-5.83.0.ebuild b/kde-frameworks/knewstuff/knewstuff-5.83.0-r1.ebuild index b8deb66ae70c..569b0c3b1604 100644 --- a/kde-frameworks/knewstuff/knewstuff-5.83.0.ebuild +++ b/kde-frameworks/knewstuff/knewstuff-5.83.0-r1.ebuild @@ -12,7 +12,7 @@ DESCRIPTION="Framework for downloading and sharing additional application data" LICENSE="LGPL-2+" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" -IUSE="" +IUSE="opds" DEPEND=" >=dev-qt/qtdeclarative-${QTMIN}:5 @@ -34,7 +34,16 @@ DEPEND=" =kde-frameworks/ktextwidgets-${PVCUT}*:5 =kde-frameworks/kwidgetsaddons-${PVCUT}*:5 =kde-frameworks/kxmlgui-${PVCUT}*:5 + opds? ( =kde-frameworks/syndication-${PVCUT}*:5 ) " RDEPEND="${DEPEND} >=kde-frameworks/kirigami-${PVCUT}:5 " + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package opds KF5Syndication) + ) + + ecm_src_configure +} diff --git a/kde-frameworks/knewstuff/metadata.xml b/kde-frameworks/knewstuff/metadata.xml index 2fdbf33d963d..f70c63446222 100644 --- a/kde-frameworks/knewstuff/metadata.xml +++ b/kde-frameworks/knewstuff/metadata.xml @@ -5,4 +5,7 @@ <email>kde@gentoo.org</email> <name>Gentoo KDE Project</name> </maintainer> + <use> + <flag name="opds">Enable support for the Open Publication Distribution System via <pkg>kde-frameworks/syndication</pkg></flag> + </use> </pkgmetadata> |