Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-gfx/ansilove/
Date: Mon, 19 Jul 2021 01:29:12
Message-Id: 1626658079.ea7cb5bf19ca52bb3e886a691f2bdf75e809f573.xgqt@gentoo
1 commit: ea7cb5bf19ca52bb3e886a691f2bdf75e809f573
2 Author: Maciej Barć <xgqt <AT> riseup <DOT> net>
3 AuthorDate: Mon Jul 19 01:27:16 2021 +0000
4 Commit: Maciej Barć <xgqt <AT> riseup <DOT> net>
5 CommitDate: Mon Jul 19 01:27:59 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ea7cb5bf
7
8 media-gfx/ansilove: add version 4.1.5 and live
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.2
11 Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>
12
13 media-gfx/ansilove/Manifest | 1 +
14 media-gfx/ansilove/ansilove-4.1.5.ebuild | 37 ++++++++++++++++++++++++++++++++
15 media-gfx/ansilove/ansilove-9999.ebuild | 37 ++++++++++++++++++++++++++++++++
16 media-gfx/ansilove/metadata.xml | 29 +++++++++++++++++++++++++
17 4 files changed, 104 insertions(+)
18
19 diff --git a/media-gfx/ansilove/Manifest b/media-gfx/ansilove/Manifest
20 new file mode 100644
21 index 000000000..a37ef7438
22 --- /dev/null
23 +++ b/media-gfx/ansilove/Manifest
24 @@ -0,0 +1 @@
25 +DIST ansilove-4.1.5.tar.gz 41325 BLAKE2B fa0943406b5a905f30fd114ed9760a37da1bcb7bd8bb7575272d1cffadaf0302650c65af64e97f911cff7b9eb4283bedd6fc0fc13c9aa5be88c582c44925c30b SHA512 a84253b07d82b4d0598cf6936115476933636a978805fe243a671bbdbe15d0e589b45f9e4d7b6137e5f7ab22559b9d1a84a0508db5226ccc17e20687e190e553
26
27 diff --git a/media-gfx/ansilove/ansilove-4.1.5.ebuild b/media-gfx/ansilove/ansilove-4.1.5.ebuild
28 new file mode 100644
29 index 000000000..2aafc65c6
30 --- /dev/null
31 +++ b/media-gfx/ansilove/ansilove-4.1.5.ebuild
32 @@ -0,0 +1,37 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +inherit cmake
39 +
40 +DESCRIPTION="ANSI and ASCII art to PNG converter (using libansilove)"
41 +HOMEPAGE="https://github.com/ansilove/ansilove/"
42 +
43 +if [[ "${PV}" == *9999* ]]; then
44 + inherit git-r3
45 + EGIT_REPO_URI="https://github.com/ansilove/${PN}.git"
46 +else
47 + SRC_URI="https://github.com/ansilove/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
48 + KEYWORDS="~amd64"
49 +fi
50 +
51 +LICENSE="BSD-2"
52 +SLOT="0"
53 +IUSE="-seccomp"
54 +
55 +RDEPEND="dev-libs/libansilove"
56 +DEPEND="${RDEPEND}"
57 +
58 +src_configure() {
59 + local mycmakeargs=(
60 + -DENABLE_SECCOMP=$(usex seccomp)
61 + )
62 + cmake_src_configure
63 +}
64 +
65 +pkg_postinst() {
66 + if use seccomp; then
67 + ewarn "Experimental seccomp support is enabled."
68 + fi
69 +}
70
71 diff --git a/media-gfx/ansilove/ansilove-9999.ebuild b/media-gfx/ansilove/ansilove-9999.ebuild
72 new file mode 100644
73 index 000000000..2aafc65c6
74 --- /dev/null
75 +++ b/media-gfx/ansilove/ansilove-9999.ebuild
76 @@ -0,0 +1,37 @@
77 +# Copyright 1999-2021 Gentoo Authors
78 +# Distributed under the terms of the GNU General Public License v2
79 +
80 +EAPI=7
81 +
82 +inherit cmake
83 +
84 +DESCRIPTION="ANSI and ASCII art to PNG converter (using libansilove)"
85 +HOMEPAGE="https://github.com/ansilove/ansilove/"
86 +
87 +if [[ "${PV}" == *9999* ]]; then
88 + inherit git-r3
89 + EGIT_REPO_URI="https://github.com/ansilove/${PN}.git"
90 +else
91 + SRC_URI="https://github.com/ansilove/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
92 + KEYWORDS="~amd64"
93 +fi
94 +
95 +LICENSE="BSD-2"
96 +SLOT="0"
97 +IUSE="-seccomp"
98 +
99 +RDEPEND="dev-libs/libansilove"
100 +DEPEND="${RDEPEND}"
101 +
102 +src_configure() {
103 + local mycmakeargs=(
104 + -DENABLE_SECCOMP=$(usex seccomp)
105 + )
106 + cmake_src_configure
107 +}
108 +
109 +pkg_postinst() {
110 + if use seccomp; then
111 + ewarn "Experimental seccomp support is enabled."
112 + fi
113 +}
114
115 diff --git a/media-gfx/ansilove/metadata.xml b/media-gfx/ansilove/metadata.xml
116 new file mode 100644
117 index 000000000..15ced110b
118 --- /dev/null
119 +++ b/media-gfx/ansilove/metadata.xml
120 @@ -0,0 +1,29 @@
121 +<?xml version="1.0" encoding="UTF-8"?>
122 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
123 +
124 +<pkgmetadata>
125 + <maintainer type="person">
126 + <email>xgqt@××××××.net</email>
127 + <name>Maciej Barć</name>
128 + </maintainer>
129 + <longdescription lang="en">
130 + AnsiLove is an ANSI and ASCII art to PNG converter, allowing to convert
131 + ANSI and artscene-related file formats into PNG images, supporting ANSI
132 + (.ANS), PCBoard (.PCB), Binary (.BIN), Artworx (.ADF), iCE Draw (.IDF),
133 + Tundra (.TND) and XBin (.XB) formats.
134 + It creates size optimized 4-bit PNG files and supports SAUCE (Standard
135 + Architecture for Universal Comment Extensions), 80x25 and 80x50 PC fonts
136 + (including all the 14 MS-DOS charsets), Amiga fonts, and iCE colors.
137 + This is a complete rewrite of AnsiLove/PHP in the C programming language.
138 + </longdescription>
139 + <use>
140 + <flag name="seccomp">enable experimental seccomp support</flag>
141 + </use>
142 + <upstream>
143 + <changelog>
144 + https://github.com/ansilove/ansilove/blob/master/ChangeLog
145 + </changelog>
146 + <bugs-to>https://github.com/ansilove/ansilove</bugs-to>
147 + <remote-id type="github">ansilove/ansilove</remote-id>
148 + </upstream>
149 +</pkgmetadata>