From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/ansifilter/
Date: Sat, 01 Mar 2025 16:33:43 +0000 (UTC) [thread overview]
Message-ID: <1740846801.985f4ed84d7ac33d14a783f8bf36011d26ec7223.asturm@gentoo> (raw)
commit: 985f4ed84d7ac33d14a783f8bf36011d26ec7223
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 26 23:24:51 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Mar 1 16:33:21 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=985f4ed8
app-text/ansifilter: Switch IUSE gui to Qt6
Bug: https://bugs.gentoo.org/947408
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
app-text/ansifilter/ansifilter-2.21-r1.ebuild | 100 ++++++++++++++++++++++++++
1 file changed, 100 insertions(+)
diff --git a/app-text/ansifilter/ansifilter-2.21-r1.ebuild b/app-text/ansifilter/ansifilter-2.21-r1.ebuild
new file mode 100644
index 000000000000..9765dda9cfcd
--- /dev/null
+++ b/app-text/ansifilter/ansifilter-2.21-r1.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop toolchain-funcs qmake-utils verify-sig xdg-utils
+
+DESCRIPTION="Handles text files containing ANSI terminal escape codes"
+HOMEPAGE="
+ http://andre-simon.de/doku/ansifilter/en/ansifilter.php
+ https://gitlab.com/saalen/ansifilter/
+"
+SRC_URI="
+ http://andre-simon.de/zip/${P}.tar.bz2
+ gui? ( https://gitlab.com/uploads/-/system/project/avatar/6678914/ansifilter2_logo_256.png )
+ verify-sig? ( http://andre-simon.de/zip/${P}.tar.bz2.asc )
+"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+IUSE="gui"
+
+DEPEND="
+ gui? ( dev-qt/qtbase:6[gui,widgets] )
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ verify-sig? ( >=sec-keys/openpgp-keys-andresimon-20240906 )
+"
+
+DOCS=( ChangeLog.adoc README.adoc )
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/andresimon.asc
+
+src_unpack() {
+ if use verify-sig ; then
+ verify-sig_verify_detached "${DISTDIR}"/${P}.tar.bz2{,.asc}
+ fi
+
+ default
+}
+
+src_prepare() {
+ default
+
+ sed \
+ -e "/GZIP/d" \
+ -e "/COPYING/d" \
+ -i makefile || die
+
+ sed \
+ -e "s/-O2//" \
+ -i src/makefile || die
+}
+
+src_configure() {
+ if use gui ; then
+ pushd src/qt-gui > /dev/null || die
+ eqmake6
+ popd > /dev/null || die
+ fi
+}
+
+src_compile() {
+ emake -f makefile CXX="$(tc-getCXX)"
+
+ if use gui ; then
+ emake -C src/qt-gui
+ fi
+}
+
+src_install() {
+ emake -f makefile \
+ DESTDIR="${ED}" \
+ doc_dir="/usr/share/doc/${PF}" \
+ -j1 \
+ install $(usev gui install-gui)
+
+ einstalldocs
+ if use gui; then
+ newicon -s 256 "${DISTDIR}"/ansifilter2_logo_256.png "${PN}".png
+ fi
+}
+
+pkg_postrm() {
+ if use gui; then
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+ fi
+}
+
+pkg_postinst() {
+ if use gui; then
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+ fi
+}
next reply other threads:[~2025-03-01 16:33 UTC|newest]
Thread overview: 116+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-01 16:33 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-10-07 7:49 [gentoo-commits] repo/gentoo:master commit in: app-text/ansifilter/ Arthur Zamarin
2025-10-07 7:49 Arthur Zamarin
2025-10-04 22:53 Sam James
2025-10-04 20:19 Sam James
2025-10-04 20:19 Sam James
2025-10-04 18:50 Arthur Zamarin
2025-09-11 13:09 Michał Górny
2025-04-14 18:09 Michał Górny
2025-04-13 21:22 Sam James
2025-03-19 23:55 Sam James
2025-03-19 23:55 Sam James
2025-03-19 23:55 Sam James
2025-03-19 23:55 Sam James
2025-03-19 23:55 Sam James
2025-03-19 23:55 Sam James
2024-10-17 2:51 Michał Górny
2024-10-16 21:28 Sam James
2024-09-28 14:39 Sam James
2024-09-28 14:17 Arthur Zamarin
2024-09-28 13:09 Michał Górny
2024-09-28 12:32 Arthur Zamarin
2024-09-28 11:41 Sam James
2024-09-28 10:44 Arthur Zamarin
2024-09-09 20:44 Arthur Zamarin
2024-09-06 11:46 Michał Górny
2024-02-14 16:17 Michał Górny
2024-02-14 16:17 Michał Górny
2024-02-14 16:17 Michał Górny
2024-02-02 20:17 Sam James
2023-11-30 22:06 James Le Cuirot
2023-10-09 20:02 Sam James
2023-10-09 16:21 Arthur Zamarin
2023-10-09 16:21 Arthur Zamarin
2023-10-09 16:21 Arthur Zamarin
2023-10-09 7:04 Sam James
2023-10-09 5:54 Sam James
2023-10-09 4:46 Sam James
2023-10-09 4:46 Sam James
2023-09-01 3:56 Sam James
2023-08-30 7:48 Sam James
2023-06-21 4:41 Arthur Zamarin
2023-06-20 14:20 Sam James
2023-06-19 21:28 Sam James
2023-06-19 13:31 Pacho Ramos
2023-06-18 3:12 Sam James
2022-12-02 10:20 WANG Xuerui
2022-07-28 13:59 Sam James
2022-05-13 20:28 Jakov Smolić
2022-01-24 19:19 Sam James
2021-11-14 3:45 Sam James
2021-08-02 9:34 Michael Palimaka
2021-08-02 3:18 Sam James
2021-07-26 11:17 Sam James
2021-07-17 23:18 Sam James
2021-07-17 23:14 Sam James
2021-07-17 7:44 Agostino Sarubbo
2021-07-17 7:42 Agostino Sarubbo
2021-07-16 21:44 Sam James
2021-02-25 4:19 Sam James
2021-02-08 9:29 Michael Palimaka
2020-12-25 23:50 Sam James
2020-11-28 7:43 Sam James
2020-11-26 8:14 Sam James
2020-11-26 5:41 Sam James
2020-11-25 7:44 Agostino Sarubbo
2020-11-25 7:24 Michael Palimaka
2020-11-24 12:57 Agostino Sarubbo
2020-11-24 12:54 Agostino Sarubbo
2020-10-10 7:56 Michael Palimaka
2020-07-16 3:39 Sam James
2020-06-26 20:21 Thomas Deutschmann
2020-03-28 3:04 Michael Palimaka
2020-03-20 9:04 Agostino Sarubbo
2020-03-20 8:59 Agostino Sarubbo
2020-02-10 10:59 Michael Palimaka
2020-02-10 10:56 Michael Palimaka
2020-01-21 10:42 Agostino Sarubbo
2020-01-20 12:58 Agostino Sarubbo
2019-11-25 10:19 Michael Palimaka
2019-08-06 11:27 Michael Palimaka
2019-08-06 10:40 Agostino Sarubbo
2019-08-06 9:39 Agostino Sarubbo
2019-04-28 13:18 Michael Palimaka
2019-02-22 6:58 Michael Palimaka
2019-02-22 6:58 Michael Palimaka
2018-12-20 10:41 Michael Palimaka
2018-11-08 13:08 Michael Palimaka
2018-11-05 7:37 Sergei Trofimovich
2018-05-26 10:16 Michael Palimaka
2018-05-26 10:16 Michael Palimaka
2018-03-10 0:21 Michael Palimaka
2018-01-25 14:14 Michael Palimaka
2018-01-25 14:14 Michael Palimaka
2017-12-02 12:54 Michael Palimaka
2017-09-15 12:11 Michael Palimaka
2017-09-15 12:11 Michael Palimaka
2017-08-09 11:15 Michael Palimaka
2017-07-27 14:36 Michael Palimaka
2017-06-24 3:22 Michael Palimaka
2017-06-13 11:39 Michael Palimaka
2017-02-13 8:03 Michael Palimaka
2017-02-12 15:44 Agostino Sarubbo
2017-02-12 14:48 Agostino Sarubbo
2017-01-04 6:57 Michael Palimaka
2016-10-27 18:49 Michael Palimaka
2016-10-27 18:49 Michael Palimaka
2016-09-28 11:37 Michael Palimaka
2016-09-17 18:39 Michael Palimaka
2016-09-14 15:38 Michael Palimaka
2016-09-14 15:38 Michael Palimaka
2016-08-31 19:58 Michael Palimaka
2016-08-31 19:58 Michael Palimaka
2016-04-12 5:57 Tim Harder
2016-01-16 5:43 Tim Harder
2016-01-16 5:43 Tim Harder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1740846801.985f4ed84d7ac33d14a783f8bf36011d26ec7223.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox