From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 34C9F158020 for ; Thu, 20 Oct 2022 21:50:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7046BE0824; Thu, 20 Oct 2022 21:50:37 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5ACDCE0824 for ; Thu, 20 Oct 2022 21:50:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4F816340FCF for ; Thu, 20 Oct 2022 21:50:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A044A625 for ; Thu, 20 Oct 2022 21:50:34 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1666302624.78f4a895f6e672ea59449cfb18494074653cc4cb.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: kde-misc/geminipart/ X-VCS-Repository: repo/proj/guru X-VCS-Files: kde-misc/geminipart/Manifest kde-misc/geminipart/geminipart-20221020.ebuild kde-misc/geminipart/metadata.xml X-VCS-Directories: kde-misc/geminipart/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: 78f4a895f6e672ea59449cfb18494074653cc4cb X-VCS-Branch: dev Date: Thu, 20 Oct 2022 21:50:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 78228881-f4de-46ec-bc73-831f9dd9dded X-Archives-Hash: c40d084d8ff355091adbd3e70cde340d commit: 78f4a895f6e672ea59449cfb18494074653cc4cb Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Thu Oct 20 21:41:08 2022 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Thu Oct 20 21:50:24 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=78f4a895 kde-misc/geminipart: add 20221020 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> kde-misc/geminipart/Manifest | 1 + kde-misc/geminipart/geminipart-20221020.ebuild | 49 ++++++++++++++++++++++++++ kde-misc/geminipart/metadata.xml | 2 +- 3 files changed, 51 insertions(+), 1 deletion(-) diff --git a/kde-misc/geminipart/Manifest b/kde-misc/geminipart/Manifest index 2c6ec6b6f..ca3e84f7b 100644 --- a/kde-misc/geminipart/Manifest +++ b/kde-misc/geminipart/Manifest @@ -1 +1,2 @@ DIST geminipart-117b525d7a33f7ecc3bb772323c7609c76a6aeb4.tar.gz 23164 BLAKE2B 4ce0eede9f7f54de416d715e2a1a9769f7371238e8520dfb7e0806227da709daf289636caaaa81918a35eb0e719d3f7d78957e00a89c1e9295f7880c1ce2f3d8 SHA512 eb74bff304a0847e2f67d8bb8da6b81d339acb75e9fdcb44fb18950de6bcd65e972ce88abb8b1c258d14a732cb51917d41746baab041ea0f8436e9d859e96fe5 +DIST geminipart-d3fb6f32fb9112d2073d0b0251ae9069224096df.tar.gz 23688 BLAKE2B 1c4da235eb33e3a75a207b2cbc3c0f898c298d04a26b9588b1aa9cb7481aa5dfafa9c58d361b94510bfbf2e13b7fb13f2b2b6c2f5027ea940e49414673f837c0 SHA512 03297a1540be72a932fed8345b35226129682feed69ef34be3a6b121b2640597a24556368e7dcfd49b7304806d5558ce6bdecf6ef36d69d73c83436a6aefed72 diff --git a/kde-misc/geminipart/geminipart-20221020.ebuild b/kde-misc/geminipart/geminipart-20221020.ebuild new file mode 100644 index 000000000..10905b03c --- /dev/null +++ b/kde-misc/geminipart/geminipart-20221020.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +COMMIT="d3fb6f32fb9112d2073d0b0251ae9069224096df" +ECM_TEST="forceoptional" +KFMIN=5.98.0 +QTMIN=5.4.0 +inherit ecm optfeature + +DESCRIPTION="KPart for viewing text/gemini files" +HOMEPAGE="https://gitlab.com/tobiasrautenkranz/geminipart" +SRC_URI="https://gitlab.com/tobiasrautenkranz/${PN}/-/archive/${COMMIT}/${PN}-${COMMIT}.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="LGPL-2+" +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~x86" + +DEPEND=" + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kparts-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 +" +RDEPEND="${DEPEND}" + +src_test() { + export QT_QPA_PLATFORM=offscreen + ecm_src_test +} + +src_prepare() { + # Konqueror may not be installed, don't make it default text/gemini handler + sed "/MimeType=/d" -i integration/gemini-konqueror.desktop || die + ecm_src_prepare +} + +pkg_postinst() { + ecm_pkg_postinst + + optfeature "handling gemini:// URLs in Konqueror browser" \ + "kde-apps/konqueror kde-misc/kio-gemini" +} diff --git a/kde-misc/geminipart/metadata.xml b/kde-misc/geminipart/metadata.xml index aefe25fb1..70a3b1608 100644 --- a/kde-misc/geminipart/metadata.xml +++ b/kde-misc/geminipart/metadata.xml @@ -6,7 +6,7 @@ Tobias Rautenkranz mail@tobias.rautenkranz.ch - https://invent.kde.org/tobias/geminipart/-/issues + tobiasrautenkranz/geminipart cyber+gentoo@sysrq.in