summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2024-06-29 12:11:43 +0200
committerConrad Kostecki <conikost@gentoo.org>2024-06-30 01:55:38 +0200
commit5be2cceccd01b4dc7a8b2f121b406e1414569883 (patch)
treec5b70df465a5eb50f53046e6358b16930abd2157 /media-gfx
parentmedia-gfx/jpeginfo: add 1.7.1 (diff)
downloadgentoo-5be2cceccd01b4dc7a8b2f121b406e1414569883.tar.gz
gentoo-5be2cceccd01b4dc7a8b2f121b406e1414569883.tar.bz2
gentoo-5be2cceccd01b4dc7a8b2f121b406e1414569883.zip
media-gfx/jp2a: add 1.2.0
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/37350 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/jp2a/Manifest1
-rw-r--r--media-gfx/jp2a/jp2a-1.2.0.ebuild24
2 files changed, 25 insertions, 0 deletions
diff --git a/media-gfx/jp2a/Manifest b/media-gfx/jp2a/Manifest
index ee52e4002079..1ba4dcd9f1d3 100644
--- a/media-gfx/jp2a/Manifest
+++ b/media-gfx/jp2a/Manifest
@@ -1 +1,2 @@
DIST jp2a-1.1.1.tar.bz2 525678 BLAKE2B 82e4717acb27596ca789681d288767cd602207b56e4f4afbffe5a1a107d67e0bc2b61dadd3769963eff34d3d8a1546741a069cfa7dfe40c9d3486cac6ccb29d6 SHA512 92234100e43c542f468ce586fb1c3f975c2492b80062ea5871f0eb02351b26b7f56bd5567d4d2e3bcec1ea66ebae22623d7d973c3bc794dd99c819efcae983cd
+DIST jp2a-1.2.0.tar.bz2 444270 BLAKE2B 819101f7df242b869de0e91b6b6fd6c7d6f7d4bfb1f69a5b0477c9d34a08a46d9f05ad79926b66c2b0fe2ad785a340250bf1493ea8832bf7e40a621cb6b6afa2 SHA512 3f523e0c369b77323d512ff14944c70011280bf75b99e9b1abc0dcfefa706bf56bf0b6bed46c78194bd22c2b98dded65c551777dc75f5f217ebb6513d0a56d60
diff --git a/media-gfx/jp2a/jp2a-1.2.0.ebuild b/media-gfx/jp2a/jp2a-1.2.0.ebuild
new file mode 100644
index 000000000000..e3915d86ca7b
--- /dev/null
+++ b/media-gfx/jp2a/jp2a-1.2.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="JPEG/PNG image to ASCII art converter"
+HOMEPAGE="https://github.com/Talinx/jp2a/"
+SRC_URI="https://github.com/Talinx/jp2a/releases/download/v${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
+IUSE="curl"
+
+# TODO: restore ncurses support?
+# See https://github.com/gentoo/gentoo/pull/24218#issuecomment-1043795319
+RDEPEND="media-libs/libjpeg-turbo:=
+ media-libs/libpng
+ curl? ( net-misc/curl )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ econf $(use_enable curl)
+}