summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2023-06-19 15:24:32 +0200
committerPacho Ramos <pacho@gentoo.org>2023-06-19 15:24:35 +0200
commit3571d1d739f1aba983984a471cc3828ed7669f2a (patch)
treee01b8d1edfa7b8b7da50812f2286ce1bd5cead0e /app-text/ansifilter
parentapp-office/wps-office: drop 11.1.0.11691 (diff)
downloadgentoo-3571d1d739f1aba983984a471cc3828ed7669f2a.tar.gz
gentoo-3571d1d739f1aba983984a471cc3828ed7669f2a.tar.bz2
gentoo-3571d1d739f1aba983984a471cc3828ed7669f2a.zip
app-text/ansifilter: Install a higher resolution icon
Useful in overview of desktop like GNOME, icon from upstream gitlab repo. Closes: https://bugs.gentoo.org/882699 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'app-text/ansifilter')
-rw-r--r--app-text/ansifilter/Manifest1
-rw-r--r--app-text/ansifilter/ansifilter-2.20.ebuild8
2 files changed, 7 insertions, 2 deletions
diff --git a/app-text/ansifilter/Manifest b/app-text/ansifilter/Manifest
index cdf2801444d8..001be27662e9 100644
--- a/app-text/ansifilter/Manifest
+++ b/app-text/ansifilter/Manifest
@@ -1,3 +1,4 @@
DIST ansifilter-2.18.tar.bz2 436432 BLAKE2B 43c592e83a967ee86404332a464d57d202a73651b2e29da2d1d21163d295b6efba96ecb5861dacfa89b8f567c0367f7a32b8e658f8cefad82c5982f2f2bf70bb SHA512 ef7febed1fc31f5c7503648e4fc0a7aefc3da8e30ea649bd6f03eac2904667fb779049106ccb77ad16fbf655e979f6651b25b84ab126c940c66bedee115a28e2
DIST ansifilter-2.19.tar.bz2 439141 BLAKE2B de720a10e96e9b55d205b3e19620c85ae7cfeb5a6f15194c78ec01901ab7d6af1a655d7a8ceb810de5923a0fb0c21f3e3b3149495ce04b976796892401f9c1e7 SHA512 2346f41bbfde9a8f38996a24a1c8207d65183ce58b8ba86831cebbd2da8a356d7bbd5503c7fc34f6f2d06bd7157f5811e857e6a03c85a46ce2f1696b0493a0c1
DIST ansifilter-2.20.tar.bz2 439551 BLAKE2B 71a24e904d7d3769bd0fed4ce93d960fbe434b117dc9f0e0d6b43ced40ce78d315ad58a5b83925ea0d16595e79e0ae415fc1e52323a0c367c63edc1ede57c039 SHA512 f05942eee53513cc81054bfb853fa9a946ffc0c488564975b06e3d1feb15d8ee7be05c561905cdc5944f4d083f04196af0f7c90665b8048ca7e400537517498c
+DIST ansifilter2_logo_256.png 54539 BLAKE2B f8b98e22b08c62769bc679f17b3f9d2faeee806d95af3b4a4876e4938813694a4924ed4684163e962d94d3f1efdd31facdae4c3eb75c98322da228bdf0a130be SHA512 ff6f76a91a4809289f90db2bcefc01e772e043a478d7f84b33b4313ed163692e7d2f87880e5fdb64f0e419f6c1ef6ec85240f5a9984223e9059f0803be313de5
diff --git a/app-text/ansifilter/ansifilter-2.20.ebuild b/app-text/ansifilter/ansifilter-2.20.ebuild
index c6a5f8516a3d..a317a56f20a2 100644
--- a/app-text/ansifilter/ansifilter-2.20.ebuild
+++ b/app-text/ansifilter/ansifilter-2.20.ebuild
@@ -3,11 +3,12 @@
EAPI=8
-inherit toolchain-funcs qmake-utils xdg
+inherit desktop toolchain-funcs qmake-utils xdg
DESCRIPTION="Handles text files containing ANSI terminal escape codes"
HOMEPAGE="http://www.andre-simon.de/"
-SRC_URI="http://www.andre-simon.de/zip/${P}.tar.bz2"
+SRC_URI="http://www.andre-simon.de/zip/${P}.tar.bz2
+ gui? ( https://gitlab.com/uploads/-/system/project/avatar/6678914/ansifilter2_logo_256.png )"
LICENSE="GPL-3+"
SLOT="0"
@@ -65,6 +66,9 @@ src_install() {
install $(usev gui install-gui)
einstalldocs
+ if use gui; then
+ newicon -s 256 "${DISTDIR}"/ansifilter2_logo_256.png "${PN}".png
+ fi
}
pkg_preinst() {