summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhaarp <main.haarp@gmail.com>2020-10-26 00:11:43 +0100
committerhaarp <main.haarp@gmail.com>2020-10-26 00:19:11 +0100
commit0ad92ec69e2023421c13b74865e31f5aedc13c48 (patch)
treed0cca20da230dc598fdd349c886edb81859714c8
parentFix Screenruler for Ruby-2.5.0+ and fix some other things, #750026 (diff)
downloadhaarp-0ad92ec69e2023421c13b74865e31f5aedc13c48.tar.gz
haarp-0ad92ec69e2023421c13b74865e31f5aedc13c48.tar.bz2
haarp-0ad92ec69e2023421c13b74865e31f5aedc13c48.zip
Fix img2xterm
Signed-off-by: haarp <main.haarp@gmail.com>
-rw-r--r--media-gfx/img2xterm/Manifest2
-rw-r--r--media-gfx/img2xterm/img2xterm-9999-r1.ebuild (renamed from media-gfx/img2xterm/img2xterm-9999.ebuild)14
2 files changed, 9 insertions, 7 deletions
diff --git a/media-gfx/img2xterm/Manifest b/media-gfx/img2xterm/Manifest
index 3580119..78d019d 100644
--- a/media-gfx/img2xterm/Manifest
+++ b/media-gfx/img2xterm/Manifest
@@ -1 +1 @@
-EBUILD img2xterm-9999.ebuild 623 SHA256 e946eed00cb577a9f8ce0f86b2981b4125f7a887fb4b00fafa28f5121c970785 SHA512 b18ce5cdebfb1069ca9c14c02389950e3f6cacaca32327162225c636144870084ddf31af0f424fb617e0fbca55aa6fe1298446610c8d9c83ce110f7209420777 WHIRLPOOL fa34426c8702dd009027a144b1e209a9f84d4a95587f891ecabf9508187b533c722c121e8378ce8e5aedd577741a7973cfea9db8b1ff08bc2db26332a8873dd7
+EBUILD img2xterm-9999-r1.ebuild 754 BLAKE2B 4faa5cc09fa2c3b16bf1c0831392b91995393133a7791d377764f0adfbfcabbf80b8306c896eded321fab75c53979c5e1f226c5b53fdbb3d338affe4640b71ac SHA512 9d77df9f71b410f437b26edfb3ff16fe651a276d2dd89b7a9bc5f1dd9fe1c128b77770bdb862b7880a59897ba0b07e30c6f6ce021adf643f57ec2a29c527c1c5
diff --git a/media-gfx/img2xterm/img2xterm-9999.ebuild b/media-gfx/img2xterm/img2xterm-9999-r1.ebuild
index e711029..1c210a7 100644
--- a/media-gfx/img2xterm/img2xterm-9999.ebuild
+++ b/media-gfx/img2xterm/img2xterm-9999-r1.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit git-r3
DESCRIPTION="Displays images on your 256-color terminal with Unicode block characters"
-HOMEPAGE="http://img2xterm.sooaweso.me/"
+HOMEPAGE="https://github.com/rossy/img2xterm"
EGIT_REPO_URI="https://github.com/rossy/img2xterm.git"
LICENSE="CC0-1.0"
@@ -14,17 +14,19 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-RDEPEND="sys-libs/ncurses:5
+RDEPEND=">=sys-libs/ncurses-5
media-gfx/imagemagick"
DEPEND=${RDEPEND}
src_prepare() {
- sed -i -e '/CC = gcc/d' -e '/CFLAGS = -O2 -Wall/d' -e '/LDFLAGS = -s/d' Makefile
+ sed -i -e '/CC = gcc/d' -e '/CFLAGS = -O2 -Wall/d' -e '/LDFLAGS = -s/d' Makefile || die
+ sed -i -e 's@wand/MagickWand.h@MagickWand/MagickWand.h@' img2xterm.c || die
eapply_user
}
src_install() {
dobin img2xterm
- doman man6/img2xterm.6.gz
+ gzip -dc man6/img2xterm.6.gz > img2xterm.6 || die
+ doman img2xterm.6
}