diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-04-16 21:41:27 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-04-16 21:53:51 +0200 |
commit | f04abcff63fb764da7fe17c362ee009d341cb58c (patch) | |
tree | e6b8ef6437414f1480eb1eabfcbe0f0f7452bee3 /dev-libs/ktextaddons | |
parent | app-editors/ghostwriter: 23.03.90 version bump (diff) | |
download | gentoo-f04abcff63fb764da7fe17c362ee009d341cb58c.tar.gz gentoo-f04abcff63fb764da7fe17c362ee009d341cb58c.tar.bz2 gentoo-f04abcff63fb764da7fe17c362ee009d341cb58c.zip |
dev-libs/ktextaddons: new package, add 1.1.1
Imported from kde overlay.
Bug: https://bugs.gentoo.org/904415
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs/ktextaddons')
-rw-r--r-- | dev-libs/ktextaddons/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/ktextaddons/ktextaddons-1.1.1.ebuild | 47 | ||||
-rw-r--r-- | dev-libs/ktextaddons/metadata.xml | 16 |
3 files changed, 64 insertions, 0 deletions
diff --git a/dev-libs/ktextaddons/Manifest b/dev-libs/ktextaddons/Manifest new file mode 100644 index 000000000000..e47adb5b639e --- /dev/null +++ b/dev-libs/ktextaddons/Manifest @@ -0,0 +1 @@ +DIST ktextaddons-1.1.1.tar.xz 213528 BLAKE2B 4b64b11fa9443a32c84972974c43d62a820c1af629d89ac87968c620e536a580da883f2eaa43d45c19d9957916130a7decea5487b5a70228dc670c84aba4037f SHA512 c09f7205a8c3d830af4dd32f152c8496390edec2cd1ac42398cfbfdb398c38a27ffa81e85962777b467eeff1989ed49dbe6013e97208ff45745ea71d8a750e4a diff --git a/dev-libs/ktextaddons/ktextaddons-1.1.1.ebuild b/dev-libs/ktextaddons/ktextaddons-1.1.1.ebuild new file mode 100644 index 000000000000..347135708023 --- /dev/null +++ b/dev-libs/ktextaddons/ktextaddons-1.1.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_DESIGNERPLUGIN="true" +ECM_QTHELP="true" +ECM_TEST="true" +KFMIN=5.103.0 +QTMIN=5.15.5 +VIRTUALX_REQUIRED="test" +inherit ecm kde.org + +DESCRIPTION="Various text handling addons" +HOMEPAGE="https://invent.kde.org/libraries/ktextaddons" + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz" + KEYWORDS="~amd64" +fi + +LICENSE="LGPL-2+" +SLOT="5" +IUSE="speech" + +RESTRICT="test" + +RDEPEND=" + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + speech? ( >=dev-qt/qtspeech-${QTMIN}:5 ) +" +DEPEND="${RDEPEND}" + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package speech Qt5TextToSpeech) + ) + ecm_src_configure +} diff --git a/dev-libs/ktextaddons/metadata.xml b/dev-libs/ktextaddons/metadata.xml new file mode 100644 index 000000000000..35297b0e4483 --- /dev/null +++ b/dev-libs/ktextaddons/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>kde@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> + <upstream> + <remote-id type="kde-invent">libraries/ktextaddons</remote-id> + <bugs-to>https://bugs.kde.org/</bugs-to> + </upstream> + <use> + <flag name="designer">Build plugins for <pkg>dev-qt/designer</pkg></flag> + <flag name="speech">Enable text-to-speech support</flag> + </use> +</pkgmetadata> |