Skip to content

Commit

Permalink
kde-apps/kate: 21.04.1 version bump
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed May 13, 2021
1 parent b695bfc commit 998802e
Show file tree
Hide file tree
Showing 2 changed files with 112 additions and 0 deletions.
1 change: 1 addition & 0 deletions kde-apps/kate/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
DIST kate-20.12.3.tar.xz 5949012 BLAKE2B e35c4da5426772286abe54156babc0de09fbdf8fb5c7505714637ad427e3a694fd541ca7b17e99ebab22f9a19f2a8893d34098cb625fd0e1c0f0b6b920acd62f SHA512 545ec2a48ea6ec737011602b20ac2f60a0f9db0a5e55e0b232f9fd7c10b7e3f54d2a346be7e6341537758a3f8f94868c4083a6d2d10b572568f5c56c9d3aee9c
DIST kate-21.04.0.tar.xz 6940360 BLAKE2B ab4fdcb46cb9729e70537522387e3ab8fbf9808fd25453e6fd1aea5fa8a9aa67e5fbd44f4b68341b65da998e2412e24500cd009df10df5462ec2be55f137b988 SHA512 bc610758597bb2e800e8797c9c25eb0d227040dc2cf5b6e522dd019839f205b4ef05dcf2801265a4ce2743221054061b3002e31bc5e65470ef056afb96b834d9
DIST kate-21.04.1.tar.xz 7184404 BLAKE2B e6dbeb9c12d1eaac2cfbf344f39a5fcf991857ef9e6a1c14e476e5d03ce3c3315e2b29f58e9b725a2479a84470cd76c93f0dfd655720af752ca9c694f4c94e59 SHA512 402595ab5cf20779883d49d76874851b5a1833943356d53cbdcba16e391a6221d31b4ef77f2089df91c9eae9b94248023f101a63b53a13691e7bc651534af8b0
111 changes: 111 additions & 0 deletions kde-apps/kate/kate-21.04.1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

ECM_HANDBOOK="optional"
ECM_TEST="true"
KFMIN=5.80.0
QTMIN=5.15.2
VIRTUALX_REQUIRED="test"
inherit ecm kde.org optfeature

DESCRIPTION="Multi-document editor with network transparency, Plasma integration and more"
HOMEPAGE="https://kate-editor.org/ https://apps.kde.org/en/kate"

LICENSE="GPL-2" # TODO: CHECK
SLOT="5"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
IUSE="activities +filebrowser lspclient +projects plasma +snippets sql telemetry"

# only addons/externaltools depends on kiconthemes, too small for USE
DEPEND="
>=dev-qt/qtconcurrent-${QTMIN}:5
>=dev-qt/qtdbus-${QTMIN}:5
>=dev-qt/qtgui-${QTMIN}:5
>=dev-qt/qtwidgets-${QTMIN}:5
>=dev-qt/qtxml-${QTMIN}:5
>=kde-frameworks/kcodecs-${KFMIN}:5
>=kde-frameworks/kcompletion-${KFMIN}:5
>=kde-frameworks/kconfig-${KFMIN}:5
>=kde-frameworks/kconfigwidgets-${KFMIN}:5
>=kde-frameworks/kcoreaddons-${KFMIN}:5
>=kde-frameworks/kcrash-${KFMIN}:5
>=kde-frameworks/kdbusaddons-${KFMIN}:5
>=kde-frameworks/kguiaddons-${KFMIN}:5
>=kde-frameworks/ki18n-${KFMIN}:5
>=kde-frameworks/kiconthemes-${KFMIN}:5
>=kde-frameworks/kio-${KFMIN}:5
>=kde-frameworks/kitemviews-${KFMIN}:5
>=kde-frameworks/kjobwidgets-${KFMIN}:5
>=kde-frameworks/kparts-${KFMIN}:5
>=kde-frameworks/kservice-${KFMIN}:5
>=kde-frameworks/ktexteditor-${KFMIN}:5
>=kde-frameworks/ktextwidgets-${KFMIN}:5
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
>=kde-frameworks/kwindowsystem-${KFMIN}:5
>=kde-frameworks/kxmlgui-${KFMIN}:5
activities? ( >=kde-frameworks/kactivities-${KFMIN}:5 )
filebrowser? ( >=kde-frameworks/kbookmarks-${KFMIN}:5 )
lspclient? ( >=kde-frameworks/kitemmodels-${KFMIN}:5 )
plasma? ( >=kde-frameworks/plasma-${KFMIN}:5 )
projects? (
>=kde-frameworks/knewstuff-${KFMIN}:5
>=kde-frameworks/threadweaver-${KFMIN}:5
)
snippets? ( >=kde-frameworks/knewstuff-${KFMIN}:5 )
sql? (
>=dev-qt/qtsql-${QTMIN}:5
>=kde-frameworks/kwallet-${KFMIN}:5
)
telemetry? ( dev-libs/kuserfeedback:5 )
"
RDEPEND="${DEPEND}"

PATCHES=(
# bug 785412, master/21.08
"${FILESDIR}/${PN}-21.04.0-implicit-dep.patch"
)

src_prepare() {
ecm_src_prepare

# delete colliding kwrite translations
if [[ ${KDE_BUILD_TYPE} = release ]]; then
find po -type f -name "*po" -and -name "kwrite*" -delete || die
rm -rf po/*/docs/kwrite || die
fi
}

src_configure() {
local mycmakeargs=(
$(cmake_use_find_package activities KF5Activities)
-DBUILD_filebrowser=$(usex filebrowser)
-DBUILD_lspclient=$(usex lspclient)
-DBUILD_sessionapplet=$(usex plasma)
-DBUILD_project=$(usex projects)
-DBUILD_snippets=$(usex snippets)
-DBUILD_katesql=$(usex sql)
-DBUILD_kwrite=FALSE
$(cmake_use_find_package telemetry KUserFeedback)
)

ecm_src_configure
}

src_test() {
# tests hang
local myctestargs=(
-E "(session_manager_test|sessions_action_test)"
)

ecm_src_test
}

pkg_postinst() {
if [[ -z "${REPLACING_VERSIONS}" ]]; then
optfeature "Markdown text previews" kde-misc/markdownpart:${SLOT} kde-misc/kmarkdownwebview:${SLOT}
optfeature "DOT graph file previews" media-gfx/kgraphviewer
fi
ecm_pkg_postinst
}

0 comments on commit 998802e

Please sign in to comment.