From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BCE5F1382C5 for ; Sun, 28 Jun 2020 16:18:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C5C64E095D; Sun, 28 Jun 2020 16:18:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A90D8E095D for ; Sun, 28 Jun 2020 16:18:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 825D834F1F5 for ; Sun, 28 Jun 2020 16:18:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C672227F for ; Sun, 28 Jun 2020 16:18:09 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1593360810.11221b8974932885eb93bbc77911326af6551ec5.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: app-office/calligra/ X-VCS-Repository: proj/kde X-VCS-Files: app-office/calligra/calligra-9999.ebuild X-VCS-Directories: app-office/calligra/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 11221b8974932885eb93bbc77911326af6551ec5 X-VCS-Branch: master Date: Sun, 28 Jun 2020 16:18:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ecb6b342-5f38-4ad1-a20a-1c3086091372 X-Archives-Hash: 5ed9ec03e6063feeb5d3abb8cab7dc14 commit: 11221b8974932885eb93bbc77911326af6551ec5 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jun 28 16:04:49 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jun 28 16:13:30 2020 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=11221b89 app-office/calligra: Add okular to myproducts to build the feature Bug: https://bugs.gentoo.org/722416 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner gentoo.org> app-office/calligra/calligra-9999.ebuild | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/app-office/calligra/calligra-9999.ebuild b/app-office/calligra/calligra-9999.ebuild index abbe914de8..240ca9b02e 100644 --- a/app-office/calligra/calligra-9999.ebuild +++ b/app-office/calligra/calligra-9999.ebuild @@ -14,7 +14,7 @@ DESCRIPTION="KDE Office Suite" HOMEPAGE="https://calligra.org/" if [[ ${KDE_BUILD_TYPE} == release ]]; then - SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz" + SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz" KEYWORDS="~amd64 ~x86" fi @@ -22,7 +22,7 @@ CAL_FTS=( karbon sheets stage words ) LICENSE="GPL-2" SLOT="5" -IUSE="activities +charts +crypt +fontconfig gemini gsl import-filter +lcms okular openexr +IUSE="activities +charts +crypt +fontconfig gemini gsl +import-filter +lcms okular openexr +pdf phonon spacenav +truetype X $(printf 'calligra_features_%s ' ${CAL_FTS[@]})" # TODO: Not packaged: Cauchy (https://bitbucket.org/cyrille/cauchy) @@ -91,6 +91,7 @@ COMMON_DEPEND=" media-libs/ilmbase:= media-libs/lcms:2 ) + okular? ( kde-apps/okular:5 ) openexr? ( media-libs/openexr ) pdf? ( app-text/poppler:=[qt5] ) phonon? ( media-libs/phonon[qt5(+)] ) @@ -101,11 +102,7 @@ COMMON_DEPEND=" x11-libs/libX11 ) calligra_features_sheets? ( dev-cpp/eigen:3 ) - calligra_features_stage? ( okular? ( kde-apps/okular:5 ) ) - calligra_features_words? ( - dev-libs/libxslt - okular? ( kde-apps/okular:5 ) - ) + calligra_features_words? ( dev-libs/libxslt ) " DEPEND="${COMMON_DEPEND} dev-libs/boost @@ -118,6 +115,7 @@ RDEPEND="${COMMON_DEPEND} >=kde-frameworks/kirigami-${KFMIN}:5 ) " + RESTRICT+=" test" PATCHES=( "${FILESDIR}"/${PN}-3.1.89-no-arch-detection.patch ) @@ -142,17 +140,6 @@ src_prepare() { # Unconditionally disable deprecated deps (required by QtQuick1) ecm_punt_bogus_dep Qt5 Declarative ecm_punt_bogus_dep Qt5 OpenGL - - # Hack around the excessive use of CMake macros - if use okular && ! use calligra_features_words; then - sed -i -e "/add_subdirectory( *okularodtgenerator *)/ s/^/#DONT/" \ - extras/CMakeLists.txt || die "Failed to disable OKULAR_GENERATOR_ODT" - fi - - if use okular && ! use calligra_features_stage; then - sed -i -e "/add_subdirectory( *okularodpgenerator *)/ s/^/#DONT/" \ - extras/CMakeLists.txt || die "Failed to disable OKULAR_GENERATOR_ODP" - fi } src_configure() { @@ -164,6 +151,7 @@ src_configure() { done use lcms && myproducts+=( PLUGIN_COLORENGINES ) + use okular && myproducts+=( OKULAR ) use spacenav && myproducts+=( PLUGIN_SPACENAVIGATOR ) local mycmakeargs=(