Skip to content

Commit

Permalink
kde-apps/filelight: 21.04.0 version bump
Browse files Browse the repository at this point in the history
Fix build with IUSE=-handbook

Reported-by: ivanich (#gentoo-kde in IRC)
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Apr 24, 2021
1 parent 342b772 commit a2cfd5c
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 0 deletions.
1 change: 1 addition & 0 deletions kde-apps/filelight/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST filelight-20.12.3.tar.xz 671244 BLAKE2B 0de8b3fddba934d1d6cbd014fa7185f16e0736cf1623cda4efba938a958f5134d71f24ee37d4f9753e5c1edf3e5025b0fbc326f55d1e4922ec5b1a0a7d4a58de SHA512 3a30181a95deb4eb8f9f5cc435658bfa9f5d6406a4756d80535de6783c5ab86c31f874cfa86f56b9a687a72b249d73fcdaa7066e99a548301f648b0abe5b2bb9
DIST filelight-21.04.0.tar.xz 679032 BLAKE2B 4d3537a189f1fe0c0412e2415f8d364f8517af954bc034bc8e7f87cf77821997316131b4fb30c0fa106c5300f37fa4914321e7cde0368c16e0ccf1dc4f6b9955 SHA512 c87e1ec0a9401ad6e85e6074e59c02cc5c4dca8de98e698bf7dc761036db27bb38eaed914d0302109c5bee26b5776aa4d493114107e2f3ec6130b3078d73fd89
37 changes: 37 additions & 0 deletions kde-apps/filelight/filelight-21.04.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

ECM_HANDBOOK="optional"
ECM_TEST="forceoptional"
KFMIN=5.80.0
QTMIN=5.15.2
inherit ecm kde.org

DESCRIPTION="Visualise disk usage with interactive map of concentric, segmented rings"
HOMEPAGE="https://apps.kde.org/en/filelight
https://utils.kde.org/projects/filelight/"

LICENSE="GPL-2" # TODO: CHECK
SLOT="5"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
IUSE=""

DEPEND="
>=dev-qt/qtgui-${QTMIN}:5
>=dev-qt/qtsvg-${QTMIN}:5
>=dev-qt/qtwidgets-${QTMIN}:5
>=kde-frameworks/kcompletion-${KFMIN}:5
>=kde-frameworks/kconfig-${KFMIN}:5
>=kde-frameworks/kconfigwidgets-${KFMIN}:5
>=kde-frameworks/kcoreaddons-${KFMIN}:5
>=kde-frameworks/ki18n-${KFMIN}:5
>=kde-frameworks/kio-${KFMIN}:5
>=kde-frameworks/kservice-${KFMIN}:5
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
>=kde-frameworks/kxmlgui-${KFMIN}:5
"
RDEPEND="${DEPEND}"

PATCHES=( "${FILESDIR}/${P}-kdoctools_install.patch" )
28 changes: 28 additions & 0 deletions kde-apps/filelight/files/filelight-21.04.0-kdoctools_install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
From 0db4a8c6b941800d0616e726ebf3f2e751f2293d Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <[email protected]>
Date: Sat, 24 Apr 2021 11:34:46 +0200
Subject: [PATCH] Hide kdoctools_install() behind KF5DocTools_FOUND conditional

The dependency is optional in this package so the macro call must be too.

Signed-off-by: Andreas Sturmlechner <[email protected]>
---
CMakeLists.txt | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b8c5c73..72e80dc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -56,5 +56,7 @@ if (KF5DocTools_FOUND)
endif()

ki18n_install(po)
-kdoctools_install(po)
+if (KF5DocTools_FOUND)
+ kdoctools_install(po)
+endif()
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
--
2.31.1

0 comments on commit a2cfd5c

Please sign in to comment.