diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-05-03 12:55:52 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-05-03 13:30:55 +0200 |
commit | 8dbd08d7ebf57e7b82d3dacf42ae3623837a7db9 (patch) | |
tree | 86ab96150146e7959b13987f364b4bdb9d922ff0 /app-text | |
parent | app-office/libreoffice-l10n: drop 7.4.4.2 (diff) | |
download | gentoo-8dbd08d7ebf57e7b82d3dacf42ae3623837a7db9.tar.gz gentoo-8dbd08d7ebf57e7b82d3dacf42ae3623837a7db9.tar.bz2 gentoo-8dbd08d7ebf57e7b82d3dacf42ae3623837a7db9.zip |
app-text/kbibtex: add 0.10.0
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/kbibtex/Manifest | 1 | ||||
-rw-r--r-- | app-text/kbibtex/kbibtex-0.10.0.ebuild | 77 |
2 files changed, 78 insertions, 0 deletions
diff --git a/app-text/kbibtex/Manifest b/app-text/kbibtex/Manifest index 4025a94e7268..64a7ba442aea 100644 --- a/app-text/kbibtex/Manifest +++ b/app-text/kbibtex/Manifest @@ -1 +1,2 @@ +DIST kbibtex-0.10.0.tar.xz 3885328 BLAKE2B c417cc3628739e1f3ed3231e9ba5387834a65b4ef78517273b53876ecc89e72194cdbbe14a5a479c5948beb5219d0345b1c22daa6f394b6ad7d664e260c8124d SHA512 37f4e9eb0bd7be8a64bae4076be20a6e59b33f17d59de35dec8833bce027172388aa3a49a8cbdac84c56686ad287a39e0c6f13665ed9e9b696c9ce3a6ec7de1d DIST kbibtex-0.9.3.2.tar.xz 4219844 BLAKE2B 48d1f32455e58fe3df30e355c89b4dd9d7f39c262e5c884493492207babc033bbeb39bf48d4b908f272394a5a677b8955f3d65bada66e589af88d2c93b9ec092 SHA512 69a0125dfe7dd8c539a60735169ee9713e4d6475121429e1fd23638213f5fb5ec6dbf6aed095fc5a2fc0f922ee7c2461a5d1aed9a6937dfb8bbe5c846ba7087f diff --git a/app-text/kbibtex/kbibtex-0.10.0.ebuild b/app-text/kbibtex/kbibtex-0.10.0.ebuild new file mode 100644 index 000000000000..c5fdf5968d1c --- /dev/null +++ b/app-text/kbibtex/kbibtex-0.10.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="optional" +ECM_TEST="optional" +KFMIN=5.82.0 +QTMIN=5.15.5 +inherit ecm kde.org optfeature + +DESCRIPTION="BibTeX editor to edit bibliographies used with LaTeX" +HOMEPAGE="https://apps.kde.org/kbibtex/ https://userbase.kde.org/KBibTeX" + +if [[ ${KDE_BUILD_TYPE} != live ]]; then + SRC_URI="mirror://kde/stable/KBibTeX/${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2" +SLOT="5" +IUSE="webengine" + +RESTRICT="test" + +COMMON_DEPEND=" + app-text/poppler[qt5] + dev-libs/icu:= + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtnetworkauth-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + >=dev-qt/qtxmlpatterns-${QTMIN}: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/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/kwallet-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + virtual/tex-base + webengine? ( >=dev-qt/qtwebengine-${QTMIN}:5[widgets] ) +" +RDEPEND="${COMMON_DEPEND} + dev-tex/bibtex2html +" +DEPEND="${COMMON_DEPEND} + >=dev-qt/qtconcurrent-${QTMIN}:5 +" + +src_configure() { + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebKitWidgets=ON + $(cmake_use_find_package webengine Qt5WebEngineWidgets) + ) + + ecm_src_configure +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + optfeature "PDF or PostScript document previews" "kde-apps/okular:${SLOT}" + fi + ecm_pkg_postinst +} |