media-gfx/ansilove: add version 4.1.5 and live

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt@riseup.net>
This commit is contained in:
Maciej Barć
2021-07-19 03:27:16 +02:00
parent afcc6057cd
commit ea7cb5bf19
4 changed files with 104 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST ansilove-4.1.5.tar.gz 41325 BLAKE2B fa0943406b5a905f30fd114ed9760a37da1bcb7bd8bb7575272d1cffadaf0302650c65af64e97f911cff7b9eb4283bedd6fc0fc13c9aa5be88c582c44925c30b SHA512 a84253b07d82b4d0598cf6936115476933636a978805fe243a671bbdbe15d0e589b45f9e4d7b6137e5f7ab22559b9d1a84a0508db5226ccc17e20687e190e553

View File

@@ -0,0 +1,37 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="ANSI and ASCII art to PNG converter (using libansilove)"
HOMEPAGE="https://github.com/ansilove/ansilove/"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/ansilove/${PN}.git"
else
SRC_URI="https://github.com/ansilove/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="BSD-2"
SLOT="0"
IUSE="-seccomp"
RDEPEND="dev-libs/libansilove"
DEPEND="${RDEPEND}"
src_configure() {
local mycmakeargs=(
-DENABLE_SECCOMP=$(usex seccomp)
)
cmake_src_configure
}
pkg_postinst() {
if use seccomp; then
ewarn "Experimental seccomp support is enabled."
fi
}

View File

@@ -0,0 +1,37 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="ANSI and ASCII art to PNG converter (using libansilove)"
HOMEPAGE="https://github.com/ansilove/ansilove/"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/ansilove/${PN}.git"
else
SRC_URI="https://github.com/ansilove/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="BSD-2"
SLOT="0"
IUSE="-seccomp"
RDEPEND="dev-libs/libansilove"
DEPEND="${RDEPEND}"
src_configure() {
local mycmakeargs=(
-DENABLE_SECCOMP=$(usex seccomp)
)
cmake_src_configure
}
pkg_postinst() {
if use seccomp; then
ewarn "Experimental seccomp support is enabled."
fi
}

View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>xgqt@riseup.net</email>
<name>Maciej Barć</name>
</maintainer>
<longdescription lang="en">
AnsiLove is an ANSI and ASCII art to PNG converter, allowing to convert
ANSI and artscene-related file formats into PNG images, supporting ANSI
(.ANS), PCBoard (.PCB), Binary (.BIN), Artworx (.ADF), iCE Draw (.IDF),
Tundra (.TND) and XBin (.XB) formats.
It creates size optimized 4-bit PNG files and supports SAUCE (Standard
Architecture for Universal Comment Extensions), 80x25 and 80x50 PC fonts
(including all the 14 MS-DOS charsets), Amiga fonts, and iCE colors.
This is a complete rewrite of AnsiLove/PHP in the C programming language.
</longdescription>
<use>
<flag name="seccomp">enable experimental seccomp support</flag>
</use>
<upstream>
<changelog>
https://github.com/ansilove/ansilove/blob/master/ChangeLog
</changelog>
<bugs-to>https://github.com/ansilove/ansilove</bugs-to>
<remote-id type="github">ansilove/ansilove</remote-id>
</upstream>
</pkgmetadata>