aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-09-19 15:25:22 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-09-19 16:04:22 +0200
commit326c72b07bc1b6c5d7e6b98160253b3e94d92436 (patch)
tree7de5cb2e8cda530ee2d47b59e10232c563bce243 /kde-plasma/drkonqi
parentkde-plasma/kde-gtk-config: Add missing x11-libs/gtk:3[X] USEdep (diff)
downloadkde-326c72b07bc1b6c5d7e6b98160253b3e94d92436.tar.gz
kde-326c72b07bc1b6c5d7e6b98160253b3e94d92436.tar.bz2
kde-326c72b07bc1b6c5d7e6b98160253b3e94d92436.zip
kde-plasma/drkonqi: Add IUSE systemd and missing dependencies
Set ECM_TEST=forceoptional Upstream commit f8cf3b1ecd62c32d12bc0d51cafa654e22a17cd9 Bug: https://bugs.gentoo.org/914138 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/drkonqi')
-rw-r--r--kde-plasma/drkonqi/Manifest2
-rw-r--r--kde-plasma/drkonqi/drkonqi-5.27.49.9999.ebuild20
-rw-r--r--kde-plasma/drkonqi/drkonqi-9999.ebuild20
-rw-r--r--kde-plasma/drkonqi/metadata.xml3
4 files changed, 38 insertions, 7 deletions
diff --git a/kde-plasma/drkonqi/Manifest b/kde-plasma/drkonqi/Manifest
index 8dbc8ca02a..64aadeb3aa 100644
--- a/kde-plasma/drkonqi/Manifest
+++ b/kde-plasma/drkonqi/Manifest
@@ -1 +1 @@
-DIST drkonqi-5.27.1-revert-add-sentry-support.patch.xz 11852 BLAKE2B 79cf8fd5bc07209ed85fd343593157d23f7ed0ca0e64c1d3deef2a11124781de8c5ae3f70e5a472aa0e4385412501b318b8052e07e13966cf96b8c6222163ca1 SHA512 fd4e02cc1f317fb49539794c0645f73805b4e71d414c4a6904a2da7a6b850c5778ed25c3341217ef3d820d8288bba78518045726d150a0ad6e756e4c59768c32
+DIST drkonqi-5.27.8-revert-add-sentry-support.patch.xz 11996 BLAKE2B 17bf8c3e5c9a5bad200d22fa59b84a97caeca2c164d8b92a1dea665df7e73111401e82c1bacf5ab24c40fb21767c6dea38b38afd288d32190e1c72e453a38558 SHA512 50e448f311bde34c7e77a229aa7816899b7eb743b522d41bd31cc2b18741939a028fe42e267ba440560535fcb33890e3360e20d157a2e5959d2943ce8960491d
diff --git a/kde-plasma/drkonqi/drkonqi-5.27.49.9999.ebuild b/kde-plasma/drkonqi/drkonqi-5.27.49.9999.ebuild
index f8d6cf6c0a..bf5f5b5765 100644
--- a/kde-plasma/drkonqi/drkonqi-5.27.49.9999.ebuild
+++ b/kde-plasma/drkonqi/drkonqi-5.27.49.9999.ebuild
@@ -3,18 +3,19 @@
EAPI=8
+ECM_TEST="forceoptional"
KFMIN=5.106.0
PVCUT=$(ver_cut 1-3)
QTMIN=5.15.9
inherit ecm plasma.kde.org systemd
DESCRIPTION="Plasma crash handler, gives the user feedback if a program crashed"
-SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${PN}-5.27.1-revert-add-sentry-support.patch.xz"
+SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${PN}-5.27.8-revert-add-sentry-support.patch.xz"
LICENSE="GPL-2" # TODO: CHECK
SLOT="5"
KEYWORDS=""
-IUSE=""
+IUSE="systemd"
COMMON_DEPEND="
>=dev-qt/qtdbus-${QTMIN}:5
@@ -36,9 +37,15 @@ COMMON_DEPEND="
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
>=kde-frameworks/kwindowsystem-${KFMIN}:5
>=kde-frameworks/syntax-highlighting-${KFMIN}:5
+ systemd? (
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ sys-apps/systemd:=
+ )
"
DEPEND="${COMMON_DEPEND}
>=dev-qt/qtconcurrent-${QTMIN}:5
+ test? ( >=dev-qt/qtnetwork-${QTMIN}:5 )
"
RDEPEND="${COMMON_DEPEND}
>=kde-frameworks/kirigami-${KFMIN}:5
@@ -49,7 +56,14 @@ RDEPEND="${COMMON_DEPEND}
)
"
-PATCHES=( "${WORKDIR}/${PN}-5.27.1-revert-add-sentry-support.patch" ) # bug 871759
+PATCHES=( "${WORKDIR}/${PN}-5.27.8-revert-add-sentry-support.patch" ) # bug 871759
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package systemd Systemd)
+ )
+ ecm_src_configure
+}
src_test() {
# needs network access, bug #698510
diff --git a/kde-plasma/drkonqi/drkonqi-9999.ebuild b/kde-plasma/drkonqi/drkonqi-9999.ebuild
index f8d6cf6c0a..bf5f5b5765 100644
--- a/kde-plasma/drkonqi/drkonqi-9999.ebuild
+++ b/kde-plasma/drkonqi/drkonqi-9999.ebuild
@@ -3,18 +3,19 @@
EAPI=8
+ECM_TEST="forceoptional"
KFMIN=5.106.0
PVCUT=$(ver_cut 1-3)
QTMIN=5.15.9
inherit ecm plasma.kde.org systemd
DESCRIPTION="Plasma crash handler, gives the user feedback if a program crashed"
-SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${PN}-5.27.1-revert-add-sentry-support.patch.xz"
+SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${PN}-5.27.8-revert-add-sentry-support.patch.xz"
LICENSE="GPL-2" # TODO: CHECK
SLOT="5"
KEYWORDS=""
-IUSE=""
+IUSE="systemd"
COMMON_DEPEND="
>=dev-qt/qtdbus-${QTMIN}:5
@@ -36,9 +37,15 @@ COMMON_DEPEND="
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
>=kde-frameworks/kwindowsystem-${KFMIN}:5
>=kde-frameworks/syntax-highlighting-${KFMIN}:5
+ systemd? (
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ sys-apps/systemd:=
+ )
"
DEPEND="${COMMON_DEPEND}
>=dev-qt/qtconcurrent-${QTMIN}:5
+ test? ( >=dev-qt/qtnetwork-${QTMIN}:5 )
"
RDEPEND="${COMMON_DEPEND}
>=kde-frameworks/kirigami-${KFMIN}:5
@@ -49,7 +56,14 @@ RDEPEND="${COMMON_DEPEND}
)
"
-PATCHES=( "${WORKDIR}/${PN}-5.27.1-revert-add-sentry-support.patch" ) # bug 871759
+PATCHES=( "${WORKDIR}/${PN}-5.27.8-revert-add-sentry-support.patch" ) # bug 871759
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package systemd Systemd)
+ )
+ ecm_src_configure
+}
src_test() {
# needs network access, bug #698510
diff --git a/kde-plasma/drkonqi/metadata.xml b/kde-plasma/drkonqi/metadata.xml
index d925f24397..be35b35a0d 100644
--- a/kde-plasma/drkonqi/metadata.xml
+++ b/kde-plasma/drkonqi/metadata.xml
@@ -5,6 +5,9 @@
<email>kde@gentoo.org</email>
<name>Gentoo KDE Project</name>
</maintainer>
+ <use>
+ <flag name="systemd">Enable Coredumpd integration</flag>
+ </use>
<upstream>
<bugs-to>https://bugs.kde.org/</bugs-to>
</upstream>