summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-plasma/drkonqi/Manifest1
-rw-r--r--kde-plasma/drkonqi/drkonqi-6.1.3.ebuild91
2 files changed, 92 insertions, 0 deletions
diff --git a/kde-plasma/drkonqi/Manifest b/kde-plasma/drkonqi/Manifest
index c81827596068..c0e844dc976b 100644
--- a/kde-plasma/drkonqi/Manifest
+++ b/kde-plasma/drkonqi/Manifest
@@ -1,3 +1,4 @@
DIST drkonqi-5.27.11.tar.xz 865308 BLAKE2B 62d395cd6fa18c08037886ad1b9240f080789c651d6b46a4f24eaff67ff1cd36656c1700df33d4ccff21d6cc2abad4e965fa5f678e2739ac745ef8a5490bdbe4 SHA512 c4e4e02f6b039d67e9f82c30f92576127f99e202bef4f0098dd59e7bec6071b587e79c687e5f19571c2be0fc91545258d4059a2f09836c50810021043cd300fd
DIST drkonqi-5.27.8-revert-add-sentry-support.patch.xz 11996 BLAKE2B 17bf8c3e5c9a5bad200d22fa59b84a97caeca2c164d8b92a1dea665df7e73111401e82c1bacf5ab24c40fb21767c6dea38b38afd288d32190e1c72e453a38558 SHA512 50e448f311bde34c7e77a229aa7816899b7eb743b522d41bd31cc2b18741939a028fe42e267ba440560535fcb33890e3360e20d157a2e5959d2943ce8960491d
DIST drkonqi-6.1.2.tar.xz 870860 BLAKE2B f16f16615ac8815af877be84f6684dcf72daff828f5726266b9a7568c24b63020bd05a047de1f725e35a70b447e3185ee325c82067b778bcb372147948a362cc SHA512 9edd2f10d8df2df102bee9fdbc9cb557fc5b3dfb522479d2b627f4e13f49e878eb7a61f89f38c2000dfc192bdec9d8e35d911507e1140bf7441f8b095f8a397c
+DIST drkonqi-6.1.3.tar.xz 871200 BLAKE2B 09bdacd39b1ece6789ded887284ff94499b453468c65db0b7a7aaefee680a7ac9424267db4732957bc1500c3b8c407ae5371fbbd032b6a4015d37fba069e544a SHA512 8e66f386f4c4a2d256f3ad129a378c52bed5ec217f30e3ccedb143341a5c37ea9aa645a8d1540df0da24d2cc26b71c5cb1769104d767e9ab2dc1270031c408d6
diff --git a/kde-plasma/drkonqi/drkonqi-6.1.3.ebuild b/kde-plasma/drkonqi/drkonqi-6.1.3.ebuild
new file mode 100644
index 000000000000..e400cf4e8972
--- /dev/null
+++ b/kde-plasma/drkonqi/drkonqi-6.1.3.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_TEST="forceoptional"
+PYTHON_COMPAT=( python3_{11..12} )
+KFMIN=6.3.0
+QTMIN=6.7.1
+inherit ecm plasma.kde.org python-single-r1 systemd
+
+DESCRIPTION="Plasma crash handler, gives the user feedback if a program crashed"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="6"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="systemd"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="test" # bug 935362
+
+COMMON_DEPEND="${PYTHON_DEPS}
+ >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,widgets]
+ >=dev-qt/qtdeclarative-${QTMIN}:6
+ >=kde-frameworks/kconfig-${KFMIN}:6
+ >=kde-frameworks/kcoreaddons-${KFMIN}:6
+ >=kde-frameworks/kcrash-${KFMIN}:6
+ >=kde-frameworks/ki18n-${KFMIN}:6
+ >=kde-frameworks/kidletime-${KFMIN}:6
+ >=kde-frameworks/kio-${KFMIN}:6
+ >=kde-frameworks/kjobwidgets-${KFMIN}:6
+ >=kde-frameworks/knotifications-${KFMIN}:6
+ >=kde-frameworks/kstatusnotifieritem-${KFMIN}:6
+ >=kde-frameworks/kwallet-${KFMIN}:6
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:6
+ >=kde-frameworks/kwindowsystem-${KFMIN}:6
+ >=kde-frameworks/syntax-highlighting-${KFMIN}:6
+ systemd? (
+ >=dev-qt/qtbase-${QTMIN}:6[network]
+ >=kde-frameworks/kservice-${KFMIN}:6
+ sys-apps/systemd:=
+ >=sys-auth/polkit-qt-0.175.0[qt6]
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ >=dev-qt/qtbase-${QTMIN}:6[concurrent]
+ test? ( >=dev-qt/qtbase-${QTMIN}:6[network] )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=kde-frameworks/kirigami-${KFMIN}:6
+ >=kde-frameworks/kitemmodels-${KFMIN}:6
+ $(python_gen_cond_dep '
+ dev-python/psutil[${PYTHON_USEDEP}]
+ dev-python/pygdbmi[${PYTHON_USEDEP}]
+ dev-python/sentry-sdk[${PYTHON_USEDEP}]
+ ')
+ || (
+ dev-debug/gdb
+ dev-debug/lldb
+ )
+"
+
+pkg_setup() {
+ ecm_pkg_setup
+ python-single-r1_pkg_setup
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_PYTHON_VENDORING=OFF
+ $(cmake_use_find_package systemd Systemd)
+ )
+ ecm_src_configure
+}
+
+src_test() {
+ # needs network access, bug #698510
+ local myctestargs=(
+ -E "(connectiontest)"
+ )
+ ecm_src_test
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]] && systemd_is_booted ; then
+ elog "For systemd, steps are needed for integration with systemd-coredumpd."
+ elog "As root, run the following:"
+ elog "1. systemctl enable drkonqi-coredump-processor@.service"
+ elog "2. systemctl --user enable --now --global drkonqi-coredump-launcher.socket"
+ fi
+}