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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 996EC1382C5 for ; Tue, 27 Apr 2021 16:02:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E1994E087A; Tue, 27 Apr 2021 16:02:44 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BDEB6E087A for ; Tue, 27 Apr 2021 16:02:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5C1C3340CA2 for ; Tue, 27 Apr 2021 16:02:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BA601581 for ; Tue, 27 Apr 2021 16:02:41 +0000 (UTC) From: "Anton Filimonov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anton Filimonov" Message-ID: <1619539345.7e12f2381ecb949afc6374983313f697693dd0d7.anton.filimonov@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-text/klogg/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-text/klogg/Manifest app-text/klogg/klogg-20.12.ebuild app-text/klogg/metadata.xml X-VCS-Directories: app-text/klogg/ X-VCS-Committer: anton.filimonov X-VCS-Committer-Name: Anton Filimonov X-VCS-Revision: 7e12f2381ecb949afc6374983313f697693dd0d7 X-VCS-Branch: dev Date: Tue, 27 Apr 2021 16:02:41 +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: 2f603b2e-8139-4068-8262-da482852f9d2 X-Archives-Hash: fb25123340239ed49885830032b77be8 commit: 7e12f2381ecb949afc6374983313f697693dd0d7 Author: Anton Filimonov gmail com> AuthorDate: Tue Apr 27 16:01:35 2021 +0000 Commit: Anton Filimonov gmail com> CommitDate: Tue Apr 27 16:02:25 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7e12f238 app-text/klogg: new package Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Anton Filimonov gmail.com> app-text/klogg/Manifest | 1 + app-text/klogg/klogg-20.12.ebuild | 73 +++++++++++++++++++++++++++++++++++++++ app-text/klogg/metadata.xml | 19 ++++++++++ 3 files changed, 93 insertions(+) diff --git a/app-text/klogg/Manifest b/app-text/klogg/Manifest new file mode 100644 index 000000000..bcfab41f1 --- /dev/null +++ b/app-text/klogg/Manifest @@ -0,0 +1 @@ +DIST v20.12.tar.gz 14640631 BLAKE2B 94693d3117343b3a4632aa0a1ef8492b9a895bb5e4567c358966d4defe379e5b50367b59d1e74d8beb5d9c105e760b1e618e78ab60806ed829ead44ccee02363 SHA512 c2fabe2d983ad2626d2fe92c91fc2a944d4eb3a10c627ea877a498814fdebe957ac55665623dee2ea30591ed6ce9e70d708073d007d60769c65a2e84714e8c62 diff --git a/app-text/klogg/klogg-20.12.ebuild b/app-text/klogg/klogg-20.12.ebuild new file mode 100644 index 000000000..0e3108df0 --- /dev/null +++ b/app-text/klogg/klogg-20.12.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="A GUI application to browse and search through long and complex log files" +HOMEPAGE="https://klogg.filimonov.dev" +SRC_URI="https://github.com/variar/klogg/archive/refs/tags/v${PV}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dev-qt/qtnetwork:5 + dev-qt/qtxml:5 + dev-qt/qtconcurrent:5 +" + +RDEPEND="${DEPEND} x11-themes/hicolor-icon-theme" + +BDEPEND=" + >=dev-util/cmake-3.12 +" + +IUSE="+sentry lto" + +src_prepare() { + sed -e 's|share/doc/klogg|${CMAKE_INSTALL_DOCDIR}|' -i "${S}/CMakeLists.txt" || die "sed CMAKE_INSTALL_DOCDIR" + sed -e 's|TBB_INSTALL_LIBRARY_DIR lib|TBB_INSTALL_LIBRARY_DIR ${CMAKE_INSTALL_LIBDIR}|' -i "${S}/3rdparty/tbb/CMakeLists.txt" || die "sed TBB_INSTALL_LIBRARY_DIR" + + eapply_user + cmake_src_prepare +} + +src_configure() { + local cmakeopts="-DWARNINGS_AS_ERRORS=OFF -DDISABLE_WERROR=ON" + + if use sentry; then + cmakeopts+=" -DKLOGG_USE_SENTRY=ON" + else + cmakeopts+=" -DKLOGG_USE_SENTRY=OFF" + fi + + if use lto; then + cmakeopts+=" -DUSE_LTO=ON" + else + cmakeopts+=" -DUSE_LTO=OFF" + fi + + local mycmakeargs=( + ${cmakeopts} + ) + export KLOGG_VERSION=${PV}.0.813 + cmake_src_configure +} + +src_compile() { + cmake_src_compile ${PN} +} + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +} diff --git a/app-text/klogg/metadata.xml b/app-text/klogg/metadata.xml new file mode 100644 index 000000000..425aa46ec --- /dev/null +++ b/app-text/klogg/metadata.xml @@ -0,0 +1,19 @@ + + + + + anton.filimonov@gmail.com + Anton Filimonov + + + variar/klogg + + + + Enable crash reporting using sentry.io. + + + Build with link time optimization (LTO). + + +