commit:     f02e13958e9ca6202b54b5b4cf5812305e4c9718
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 13 18:36:37 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jan 13 18:47:32 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f02e1395

app-text/kbibtex: add 0.10.50_pre20250113 Qt6-based snapshot

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-text/kbibtex/Manifest                          |  1 +
 .../kbibtex/kbibtex-0.10.50_pre20250113.ebuild     | 71 ++++++++++++++++++++++
 2 files changed, 72 insertions(+)

diff --git a/app-text/kbibtex/Manifest b/app-text/kbibtex/Manifest
index c44092fd5cf1..79e591e2d74e 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.10.50_pre20250113-3b5dcb59.tar.gz 5612866 BLAKE2B 
1e338432fdc0ee9119127bd73df14e45d77a07d259c81802d614e8e42785fa4dd91676708bd8178f9833cf848149acf07d2997485afb71821b9966e98f663f30
 SHA512 
9981cd4af9a89c5b500bf30b30f0d54e18fbe2822cd90aee4191872874370b1d0823d8753419b89b3287923f449d942ed21e2a60f8d8bf0fdd97fa25e8840e08

diff --git a/app-text/kbibtex/kbibtex-0.10.50_pre20250113.ebuild 
b/app-text/kbibtex/kbibtex-0.10.50_pre20250113.ebuild
new file mode 100644
index 000000000000..96dabb1e1157
--- /dev/null
+++ b/app-text/kbibtex/kbibtex-0.10.50_pre20250113.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KDE_ORG_COMMIT=3b5dcb59ca4b7a27b4549e37f951e8a358f8d89f
+ECM_HANDBOOK="optional"
+ECM_TEST="true"
+KFMIN=6.3.0
+QTMIN=6.6.2
+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";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="webengine"
+
+RESTRICT="test"
+
+COMMON_DEPEND="
+       app-text/poppler[qt6]
+       dev-libs/icu:=
+       >=dev-qt/qt5compat-${QTMIN}:6
+       >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,network,widgets,xml]
+       >=dev-qt/qtnetworkauth-${QTMIN}:6
+       >=kde-frameworks/kcompletion-${KFMIN}:6
+       >=kde-frameworks/kconfig-${KFMIN}:6
+       >=kde-frameworks/kconfigwidgets-${KFMIN}:6
+       >=kde-frameworks/kcoreaddons-${KFMIN}:6
+       >=kde-frameworks/kcrash-${KFMIN}:6
+       >=kde-frameworks/ki18n-${KFMIN}:6
+       >=kde-frameworks/kiconthemes-${KFMIN}:6
+       >=kde-frameworks/kio-${KFMIN}:6
+       >=kde-frameworks/kitemviews-${KFMIN}:6
+       >=kde-frameworks/kjobwidgets-${KFMIN}:6
+       >=kde-frameworks/kparts-${KFMIN}:6
+       >=kde-frameworks/kservice-${KFMIN}:6
+       >=kde-frameworks/ktexteditor-${KFMIN}:6
+       >=kde-frameworks/ktextwidgets-${KFMIN}:6
+       >=kde-frameworks/kwallet-${KFMIN}:6
+       >=kde-frameworks/kwidgetsaddons-${KFMIN}:6
+       >=kde-frameworks/kxmlgui-${KFMIN}:6
+       virtual/tex-base
+       webengine? ( >=dev-qt/qtwebengine-${QTMIN}:6[widgets] )
+"
+RDEPEND="${COMMON_DEPEND}
+       !${CATEGORY}/${PN}:5
+       dev-tex/bibtex2html
+"
+DEPEND="${COMMON_DEPEND}
+       >=dev-qt/qtbase-${QTMIN}:6[concurrent]
+"
+
+src_configure() {
+       local mycmakeargs=(
+               -DQT_MAJOR_VERSION=6 # TODO: re-add KDocTools search to this 
awful piece of cmake...
+               $(cmake_use_find_package webengine Qt6WebEngineWidgets)
+       )
+
+       ecm_src_configure
+}
+
+pkg_postinst() {
+       if [[ -z "${REPLACING_VERSIONS}" ]]; then
+               optfeature "PDF or PostScript document previews" 
"kde-apps/okular:6"
+       fi
+       ecm_pkg_postinst
+}

Reply via email to