diff options
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> |