summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-05-24 12:45:31 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-05-24 13:02:58 +0200
commit7ce5358e9146ecb11c49cbcb2b35dfaf710e8b5f (patch)
tree69fa9ddbb9ff6770517246d6fc68597b4c3812cb /media-gfx
parentmedia-gfx/ansilove: drop old 4.1.6 (diff)
downloadgentoo-7ce5358e9146ecb11c49cbcb2b35dfaf710e8b5f.tar.gz
gentoo-7ce5358e9146ecb11c49cbcb2b35dfaf710e8b5f.tar.bz2
gentoo-7ce5358e9146ecb11c49cbcb2b35dfaf710e8b5f.zip
media-gfx/ansilove: bump to 4.2.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/ansilove/Manifest1
-rw-r--r--media-gfx/ansilove/ansilove-4.2.0.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/media-gfx/ansilove/Manifest b/media-gfx/ansilove/Manifest
index 8f9d8eaf2e56..dcd195edfb84 100644
--- a/media-gfx/ansilove/Manifest
+++ b/media-gfx/ansilove/Manifest
@@ -1 +1,2 @@
DIST ansilove-4.1.7.tar.gz 41511 BLAKE2B 4ec67668c94b4c6ca027d0b597443ffa4f7a30dc7af3fed7ad6d16a42ba855d2a9c0fa4c8b48402ed2c47edcf76ddca76a72da099784e393e4a0c4fb683fce66 SHA512 871a4fbbff4bafb8f1adf8bed2151a901dc98125a3e2c6c8c93f211988e2bb313f8373d7bd79c2ee252d5176e5013d4aae71a04eb9a5ffe84785f1bc26b92fd5
+DIST ansilove-4.2.0.tar.gz 41976 BLAKE2B e9bdf7c48fc7ae08427ace870b040dda8d81293a19c36c698a55d6973b2def13153889bfe376d8a7f04aaf79360f58cf8e615a7b5b1d9ef278016721ffbfca6c SHA512 a408fccd497e45d82b9ab97bb867afd55796f3ab969b9805116e6bde63931efbc61bcd884409a45aea22af1c21d05fbefa53ce8a45c95156d0292fd509c85810
diff --git a/media-gfx/ansilove/ansilove-4.2.0.ebuild b/media-gfx/ansilove/ansilove-4.2.0.ebuild
new file mode 100644
index 000000000000..d007765a232c
--- /dev/null
+++ b/media-gfx/ansilove/ansilove-4.2.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="ANSI and ASCII art to PNG converter (using libansilove)"
+HOMEPAGE="https://www.ansilove.org/
+ https://github.com/ansilove/ansilove/"
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
+else
+ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+fi
+
+LICENSE="BSD-2"
+SLOT="0"
+
+RDEPEND=">=dev-libs/libansilove-1.4.0:="
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ local -a mycmakeargs=(
+ -DENABLE_SECCOMP=NO
+ )
+ cmake_src_configure
+}