* [gentoo-commits] repo/proj/guru:dev commit in: app-text/klogg/
@ 2021-04-28 7:49 Anton Filimonov
0 siblings, 0 replies; 7+ messages in thread
From: Anton Filimonov @ 2021-04-28 7:49 UTC (permalink / raw
To: gentoo-commits
commit: 2b4d9a6848c3a632f2fc38a2d5c9358da993b7fd
Author: Anton Filimonov <anton.filimonov <AT> gmail <DOT> com>
AuthorDate: Wed Apr 28 07:45:48 2021 +0000
Commit: Anton Filimonov <anton.filimonov <AT> gmail <DOT> com>
CommitDate: Wed Apr 28 07:47:11 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2b4d9a68
app-text/klogg: fix building tests
Closes: https://bugs.gentoo.org/786219
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Anton Filimonov <anton.filimonov <AT> gmail.com>
app-text/klogg/klogg-20.12.ebuild | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/app-text/klogg/klogg-20.12.ebuild b/app-text/klogg/klogg-20.12.ebuild
index 13be48640..5c12b31af 100644
--- a/app-text/klogg/klogg-20.12.ebuild
+++ b/app-text/klogg/klogg-20.12.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/variar/klogg/archive/refs/tags/v${PV}.tar.gz -> ${P}
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="+sentry lto"
+IUSE="+sentry lto test"
DEPEND="
dev-qt/qtcore:5
@@ -26,6 +26,9 @@ RDEPEND="
${DEPEND}
x11-themes/hicolor-icon-theme
"
+BDEPEND="
+ test? ( dev-qt/qttest:5 )
+"
QA_PREBUILT="usr/bin/klogg_minidump_dump"
@@ -40,6 +43,7 @@ src_configure() {
local mycmakeargs=(
-DDISABLE_WERROR=ON
-DKLOGG_USE_SENTRY=$(usex sentry)
+ -DBUILD_TESTS=$(usex test)
-DUSE_LTO=$(usex lto)
-DWARNINGS_AS_ERRORS=OFF
)
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-text/klogg/
@ 2024-03-13 17:22 Petr Vaněk
0 siblings, 0 replies; 7+ messages in thread
From: Petr Vaněk @ 2024-03-13 17:22 UTC (permalink / raw
To: gentoo-commits
commit: 5c8623aaeddabe50edef89e0dfcdcc3b3231a40c
Author: Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 13 16:40:29 2024 +0000
Commit: Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Wed Mar 13 16:44:38 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5c8623aa
app-text/klogg: switch to dev-libs/vectorscan
dev-libs/hyperscan is deprecated and it needs to be replaced with
dev-libs/vectorscan.
Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>
.../klogg/{klogg-22.06.0.1289.ebuild => klogg-22.06.0.1289-r1.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-text/klogg/klogg-22.06.0.1289.ebuild b/app-text/klogg/klogg-22.06.0.1289-r1.ebuild
similarity index 98%
rename from app-text/klogg/klogg-22.06.0.1289.ebuild
rename to app-text/klogg/klogg-22.06.0.1289-r1.ebuild
index 50d88b1cf7..2e0f3cd108 100644
--- a/app-text/klogg/klogg-22.06.0.1289.ebuild
+++ b/app-text/klogg/klogg-22.06.0.1289-r1.ebuild
@@ -27,7 +27,7 @@ DEPEND="
dev-qt/qtnetwork:5
dev-qt/qtxml:5
dev-qt/qtconcurrent:5
- >=dev-libs/hyperscan-5.4.0
+ dev-libs/vectorscan:=
>=dev-libs/xxhash-0.8.0
>=app-i18n/uchardet-0.0.7
>=dev-cpp/tbb-2021.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-text/klogg/
@ 2022-09-08 10:06 Andrew Ammerlaan
2022-09-08 10:06 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
0 siblings, 1 reply; 7+ messages in thread
From: Andrew Ammerlaan @ 2022-09-08 10:06 UTC (permalink / raw
To: gentoo-commits
commit: bf6065dab1bc03d2c840b7ae77216eb31b86aa29
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 8 10:01:23 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Sep 8 10:01:23 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bf6065da
app-text/klogg: quote WORKDIR variables
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
app-text/klogg/klogg-22.06.0.1289.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-text/klogg/klogg-22.06.0.1289.ebuild b/app-text/klogg/klogg-22.06.0.1289.ebuild
index 75401e6df..7f2ec907e 100644
--- a/app-text/klogg/klogg-22.06.0.1289.ebuild
+++ b/app-text/klogg/klogg-22.06.0.1289.ebuild
@@ -44,7 +44,7 @@ BDEPEND="
src_unpack() {
unpack ${P}.tar.gz
- mv ${WORKDIR}/${PN}-${MAJOR_VERSION} ${WORKDIR}/${P}
+ mv "${WORKDIR}/${PN}-${MAJOR_VERSION}" "${WORKDIR}/${P}"
unpack ${P}.deps.tar.gz
}
@@ -56,7 +56,7 @@ src_prepare() {
src_configure() {
export KLOGG_VERSION=${PV}
local mycmakeargs=(
- -DCPM_SOURCE_CACHE=${WORKDIR}/cpm_cache
+ -DCPM_SOURCE_CACHE="${WORKDIR}/cpm_cache"
-DCPM_USE_LOCAL_PACKAGES=ON
-DWARNINGS_AS_ERRORS=OFF
-DKLOGG_USE_LTO=$(usex lto)
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-text/klogg/
2022-09-08 10:06 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
@ 2022-09-08 10:06 ` Andrew Ammerlaan
0 siblings, 0 replies; 7+ messages in thread
From: Andrew Ammerlaan @ 2022-09-08 10:06 UTC (permalink / raw
To: gentoo-commits
commit: bf6065dab1bc03d2c840b7ae77216eb31b86aa29
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 8 10:01:23 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Sep 8 10:01:23 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bf6065da
app-text/klogg: quote WORKDIR variables
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
app-text/klogg/klogg-22.06.0.1289.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-text/klogg/klogg-22.06.0.1289.ebuild b/app-text/klogg/klogg-22.06.0.1289.ebuild
index 75401e6df..7f2ec907e 100644
--- a/app-text/klogg/klogg-22.06.0.1289.ebuild
+++ b/app-text/klogg/klogg-22.06.0.1289.ebuild
@@ -44,7 +44,7 @@ BDEPEND="
src_unpack() {
unpack ${P}.tar.gz
- mv ${WORKDIR}/${PN}-${MAJOR_VERSION} ${WORKDIR}/${P}
+ mv "${WORKDIR}/${PN}-${MAJOR_VERSION}" "${WORKDIR}/${P}"
unpack ${P}.deps.tar.gz
}
@@ -56,7 +56,7 @@ src_prepare() {
src_configure() {
export KLOGG_VERSION=${PV}
local mycmakeargs=(
- -DCPM_SOURCE_CACHE=${WORKDIR}/cpm_cache
+ -DCPM_SOURCE_CACHE="${WORKDIR}/cpm_cache"
-DCPM_USE_LOCAL_PACKAGES=ON
-DWARNINGS_AS_ERRORS=OFF
-DKLOGG_USE_LTO=$(usex lto)
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-text/klogg/
@ 2022-06-19 10:49 Anton Filimonov
0 siblings, 0 replies; 7+ messages in thread
From: Anton Filimonov @ 2022-06-19 10:49 UTC (permalink / raw
To: gentoo-commits
commit: c596a0651d8213af2e5dd5c123fd379a0d621fac
Author: Anton Filimonov <anton.filimonov <AT> gmail <DOT> com>
AuthorDate: Sun Jun 19 10:43:23 2022 +0000
Commit: Anton Filimonov <anton.filimonov <AT> gmail <DOT> com>
CommitDate: Sun Jun 19 10:48:47 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c596a065
app-text/klogg: add 22.06.0.1289, drop 20.12
Signed-off-by: Anton Filimonov <anton.filimonov <AT> gmail.com>
app-text/klogg/Manifest | 3 +-
app-text/klogg/klogg-20.12.ebuild | 54 -------------------------
app-text/klogg/klogg-22.06.0.1289.ebuild | 69 ++++++++++++++++++++++++++++++++
app-text/klogg/metadata.xml | 3 --
4 files changed, 71 insertions(+), 58 deletions(-)
diff --git a/app-text/klogg/Manifest b/app-text/klogg/Manifest
index 14e1c4545..80f9e1624 100644
--- a/app-text/klogg/Manifest
+++ b/app-text/klogg/Manifest
@@ -1 +1,2 @@
-DIST klogg-20.12.tar.gz 14640631 BLAKE2B 94693d3117343b3a4632aa0a1ef8492b9a895bb5e4567c358966d4defe379e5b50367b59d1e74d8beb5d9c105e760b1e618e78ab60806ed829ead44ccee02363 SHA512 c2fabe2d983ad2626d2fe92c91fc2a944d4eb3a10c627ea877a498814fdebe957ac55665623dee2ea30591ed6ce9e70d708073d007d60769c65a2e84714e8c62
+DIST klogg-22.06.0.1289.deps.tar.gz 144508849 BLAKE2B b25c6660251ebe8240bcf9c6344baa1eaafea61abcbfb5bdaf4cd40caac601d5c48ddeb3a42d46f41dd7a71d8b883d5f27621c05cd03b64c297f9c8836c005e2 SHA512 7745902134f67731ebf98aec4e9cb8ae224851d9920aa81546a33e4a4994d2fdd3d56fcda21b71ade5dcbf1a5dfda2e556be09b162f2e4afe5058e40cfe8af83
+DIST klogg-22.06.0.1289.tar.gz 26092443 BLAKE2B b2bca0a30c6ddcdcecda2ce5a1342169522cdea0333eab7cafdf2d3db5b1ec2353d25bc7181e26a3df0a5263e0acd17f58124c13edc3dc6400e71c21eccfd9c9 SHA512 6e60632a859a4edbfb66a6c02abe1917c5d5254bc835870a6d63bf2893ac8860bd618403c29a1f0ee469a540fc92c3b18f0d6691fcb09b11d3aedbc7e9cb09f6
diff --git a/app-text/klogg/klogg-20.12.ebuild b/app-text/klogg/klogg-20.12.ebuild
deleted file mode 100644
index 779c8be98..000000000
--- a/app-text/klogg/klogg-20.12.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit xdg 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 -> ${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="+sentry lto test"
-RESTRICT="!test? ( test )"
-
-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="
- test? ( dev-qt/qttest:5 )
-"
-
-QA_PREBUILT="usr/bin/klogg_minidump_dump"
-
-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"
- cmake_src_prepare
-}
-
-src_configure() {
- export KLOGG_VERSION=${PV}.0.813
- local mycmakeargs=(
- -DDISABLE_WERROR=ON
- -DKLOGG_USE_SENTRY=$(usex sentry)
- -DBUILD_TESTS=$(usex test)
- -DUSE_LTO=$(usex lto)
- -DWARNINGS_AS_ERRORS=OFF
- )
-
- cmake_src_configure
-}
diff --git a/app-text/klogg/klogg-22.06.0.1289.ebuild b/app-text/klogg/klogg-22.06.0.1289.ebuild
new file mode 100644
index 000000000..75401e6df
--- /dev/null
+++ b/app-text/klogg/klogg-22.06.0.1289.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit xdg cmake
+
+DESCRIPTION="A GUI application to browse and search through long and complex log files"
+HOMEPAGE="https://klogg.filimonov.dev"
+MAJOR_VERSION=22.06
+SRC_URI="
+ https://github.com/variar/klogg/archive/refs/tags/v${MAJOR_VERSION}.tar.gz -> ${P}.tar.gz
+ https://github.com/variar/klogg/releases/download/v${MAJOR_VERSION}/${P}.deps.tar.gz
+ "
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="lto test kde"
+RESTRICT="!test? ( test )"
+
+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
+ >=dev-libs/hyperscan-5.4.0
+ >=dev-libs/xxhash-0.8.0
+ >=app-i18n/uchardet-0.0.7
+ >=dev-cpp/tbb-2021.5
+ kde? ( kde-frameworks/karchive:5 )
+"
+RDEPEND="
+ ${DEPEND}
+ x11-themes/hicolor-icon-theme
+"
+BDEPEND="
+ >=dev-cpp/robin-hood-hashing-3.11.5
+ test? ( dev-qt/qttest:5 >=dev-cpp/catch-2.13.8 )
+"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ mv ${WORKDIR}/${PN}-${MAJOR_VERSION} ${WORKDIR}/${P}
+
+ unpack ${P}.deps.tar.gz
+}
+
+src_prepare() {
+ cmake_src_prepare
+}
+
+src_configure() {
+ export KLOGG_VERSION=${PV}
+ local mycmakeargs=(
+ -DCPM_SOURCE_CACHE=${WORKDIR}/cpm_cache
+ -DCPM_USE_LOCAL_PACKAGES=ON
+ -DWARNINGS_AS_ERRORS=OFF
+ -DKLOGG_USE_LTO=$(usex lto)
+ -DKLOGG_BUILD_TESTS=$(usex test)
+ -DKLOGG_USE_MIMALLOC=OFF
+ -DKLOGG_USE_SENTRY=OFF
+ )
+
+ cmake_src_configure
+}
diff --git a/app-text/klogg/metadata.xml b/app-text/klogg/metadata.xml
index 425aa46ec..d099eb33a 100644
--- a/app-text/klogg/metadata.xml
+++ b/app-text/klogg/metadata.xml
@@ -9,9 +9,6 @@
<remote-id type="github">variar/klogg</remote-id>
</upstream>
<use>
- <flag name="sentry">
- Enable crash reporting using sentry.io.
- </flag>
<flag name="lto">
Build with link time optimization (LTO).
</flag>
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-text/klogg/
@ 2021-04-28 8:08 Andrew Ammerlaan
0 siblings, 0 replies; 7+ messages in thread
From: Andrew Ammerlaan @ 2021-04-28 8:08 UTC (permalink / raw
To: gentoo-commits
commit: fd82b8df58e0c1907307c3d96ed265ba2fc17ec6
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Wed Apr 28 08:03:15 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Apr 28 08:03:15 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fd82b8df
app-text/klogg: add missing RESTRICT="!test? ( test )"
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
app-text/klogg/klogg-20.12.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/app-text/klogg/klogg-20.12.ebuild b/app-text/klogg/klogg-20.12.ebuild
index 5c12b31af..779c8be98 100644
--- a/app-text/klogg/klogg-20.12.ebuild
+++ b/app-text/klogg/klogg-20.12.ebuild
@@ -12,7 +12,9 @@ SRC_URI="https://github.com/variar/klogg/archive/refs/tags/v${PV}.tar.gz -> ${P}
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+
IUSE="+sentry lto test"
+RESTRICT="!test? ( test )"
DEPEND="
dev-qt/qtcore:5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-text/klogg/
@ 2021-04-28 3:15 Theo Anderson
0 siblings, 0 replies; 7+ messages in thread
From: Theo Anderson @ 2021-04-28 3:15 UTC (permalink / raw
To: gentoo-commits
commit: 4d8124dfbfbcff51c8843ea6a0663e1ea036fc0e
Author: Theo Anderson <telans <AT> posteo <DOT> de>
AuthorDate: Wed Apr 28 03:10:45 2021 +0000
Commit: Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Wed Apr 28 03:10:45 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4d8124df
app-text/klogg: update ebuild
@variar changes are:
* Rename tarball to ${P} rather than just the version
* Remove cmake dependency - redundant when using cmake eclass
* Remove eapply_user call - cmake_src_prepare calls this
* Move configure args into mycmakeargs
* Use "usex" for configure ON/OFF via use flags
* Remove src_compile phase - default compile option does klogg
* Remove pkg phases and inherit xdg - are run automatically
Signed-off-by: Theo Anderson <telans <AT> posteo.de>
app-text/klogg/Manifest | 2 +-
app-text/klogg/klogg-20.12.ebuild | 51 ++++++++++-----------------------------
2 files changed, 14 insertions(+), 39 deletions(-)
diff --git a/app-text/klogg/Manifest b/app-text/klogg/Manifest
index bcfab41f1..14e1c4545 100644
--- a/app-text/klogg/Manifest
+++ b/app-text/klogg/Manifest
@@ -1 +1 @@
-DIST v20.12.tar.gz 14640631 BLAKE2B 94693d3117343b3a4632aa0a1ef8492b9a895bb5e4567c358966d4defe379e5b50367b59d1e74d8beb5d9c105e760b1e618e78ab60806ed829ead44ccee02363 SHA512 c2fabe2d983ad2626d2fe92c91fc2a944d4eb3a10c627ea877a498814fdebe957ac55665623dee2ea30591ed6ce9e70d708073d007d60769c65a2e84714e8c62
+DIST klogg-20.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
index 0e3108df0..13be48640 100644
--- a/app-text/klogg/klogg-20.12.ebuild
+++ b/app-text/klogg/klogg-20.12.ebuild
@@ -3,15 +3,16 @@
EAPI=7
-inherit cmake
+inherit xdg 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"
+SRC_URI="https://github.com/variar/klogg/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+IUSE="+sentry lto"
DEPEND="
dev-qt/qtcore:5
@@ -21,53 +22,27 @@ DEPEND="
dev-qt/qtxml:5
dev-qt/qtconcurrent:5
"
-
-RDEPEND="${DEPEND} x11-themes/hicolor-icon-theme"
-
-BDEPEND="
- >=dev-util/cmake-3.12
+RDEPEND="
+ ${DEPEND}
+ x11-themes/hicolor-icon-theme
"
-IUSE="+sentry lto"
+QA_PREBUILT="usr/bin/klogg_minidump_dump"
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
-
+ export KLOGG_VERSION=${PV}.0.813
local mycmakeargs=(
- ${cmakeopts}
+ -DDISABLE_WERROR=ON
+ -DKLOGG_USE_SENTRY=$(usex sentry)
+ -DUSE_LTO=$(usex lto)
+ -DWARNINGS_AS_ERRORS=OFF
)
- 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
+ cmake_src_configure
}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-text/klogg/
@ 2021-04-27 16:02 Anton Filimonov
0 siblings, 0 replies; 7+ messages in thread
From: Anton Filimonov @ 2021-04-27 16:02 UTC (permalink / raw
To: gentoo-commits
commit: 7e12f2381ecb949afc6374983313f697693dd0d7
Author: Anton Filimonov <anton.filimonov <AT> gmail <DOT> com>
AuthorDate: Tue Apr 27 16:01:35 2021 +0000
Commit: Anton Filimonov <anton.filimonov <AT> gmail <DOT> 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 <anton.filimonov <AT> 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 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>anton.filimonov@gmail.com</email>
+ <name>Anton Filimonov</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">variar/klogg</remote-id>
+ </upstream>
+ <use>
+ <flag name="sentry">
+ Enable crash reporting using sentry.io.
+ </flag>
+ <flag name="lto">
+ Build with link time optimization (LTO).
+ </flag>
+ </use>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-03-13 17:23 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-28 7:49 [gentoo-commits] repo/proj/guru:dev commit in: app-text/klogg/ Anton Filimonov
-- strict thread matches above, loose matches on Subject: below --
2024-03-13 17:22 Petr Vaněk
2022-09-08 10:06 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2022-09-08 10:06 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2022-06-19 10:49 Anton Filimonov
2021-04-28 8:08 Andrew Ammerlaan
2021-04-28 3:15 Theo Anderson
2021-04-27 16:02 Anton Filimonov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox