Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/ansilove/
Date: Fri, 26 Nov 2021 10:33:12
Message-Id: 1637922784.ddbf062159321c203f918f3795c076521073576f.xgqt@gentoo
1 commit: ddbf062159321c203f918f3795c076521073576f
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 26 10:25:33 2021 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 26 10:33:04 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddbf0621
7
8 media-gfx/ansilove: new package; add version 4.1.5 and live
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
12
13 media-gfx/ansilove/Manifest | 1 +
14 media-gfx/ansilove/ansilove-4.1.5.ebuild | 30 ++++++++++++++++++++++++++++++
15 media-gfx/ansilove/ansilove-9999.ebuild | 30 ++++++++++++++++++++++++++++++
16 media-gfx/ansilove/metadata.xml | 26 ++++++++++++++++++++++++++
17 4 files changed, 87 insertions(+)
18
19 diff --git a/media-gfx/ansilove/Manifest b/media-gfx/ansilove/Manifest
20 new file mode 100644
21 index 000000000000..a37ef743844a
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 000000000000..747102f7845f
30 --- /dev/null
31 +++ b/media-gfx/ansilove/ansilove-4.1.5.ebuild
32 @@ -0,0 +1,30 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
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 +
54 +RDEPEND="dev-libs/libansilove"
55 +DEPEND="${RDEPEND}"
56 +
57 +src_configure() {
58 + local mycmakeargs=(
59 + -DENABLE_SECCOMP=NO
60 + )
61 + cmake_src_configure
62 +}
63
64 diff --git a/media-gfx/ansilove/ansilove-9999.ebuild b/media-gfx/ansilove/ansilove-9999.ebuild
65 new file mode 100644
66 index 000000000000..747102f7845f
67 --- /dev/null
68 +++ b/media-gfx/ansilove/ansilove-9999.ebuild
69 @@ -0,0 +1,30 @@
70 +# Copyright 1999-2021 Gentoo Authors
71 +# Distributed under the terms of the GNU General Public License v2
72 +
73 +EAPI=8
74 +
75 +inherit cmake
76 +
77 +DESCRIPTION="ANSI and ASCII art to PNG converter (using libansilove)"
78 +HOMEPAGE="https://github.com/ansilove/ansilove/"
79 +
80 +if [[ "${PV}" == *9999* ]]; then
81 + inherit git-r3
82 + EGIT_REPO_URI="https://github.com/ansilove/${PN}.git"
83 +else
84 + SRC_URI="https://github.com/ansilove/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
85 + KEYWORDS="~amd64"
86 +fi
87 +
88 +LICENSE="BSD-2"
89 +SLOT="0"
90 +
91 +RDEPEND="dev-libs/libansilove"
92 +DEPEND="${RDEPEND}"
93 +
94 +src_configure() {
95 + local mycmakeargs=(
96 + -DENABLE_SECCOMP=NO
97 + )
98 + cmake_src_configure
99 +}
100
101 diff --git a/media-gfx/ansilove/metadata.xml b/media-gfx/ansilove/metadata.xml
102 new file mode 100644
103 index 000000000000..30ea50ab6723
104 --- /dev/null
105 +++ b/media-gfx/ansilove/metadata.xml
106 @@ -0,0 +1,26 @@
107 +<?xml version="1.0" encoding="UTF-8"?>
108 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
109 +
110 +<pkgmetadata>
111 + <maintainer type="person">
112 + <email>xgqt@g.o</email>
113 + <name>Maciej Barć</name>
114 + </maintainer>
115 + <longdescription lang="en">
116 + AnsiLove is an ANSI and ASCII art to PNG converter, allowing to convert
117 + ANSI and artscene-related file formats into PNG images, supporting ANSI
118 + (.ANS), PCBoard (.PCB), Binary (.BIN), Artworx (.ADF), iCE Draw (.IDF),
119 + Tundra (.TND) and XBin (.XB) formats.
120 + It creates size optimized 4-bit PNG files and supports SAUCE (Standard
121 + Architecture for Universal Comment Extensions), 80x25 and 80x50 PC fonts
122 + (including all the 14 MS-DOS charsets), Amiga fonts, and iCE colors.
123 + This is a complete rewrite of AnsiLove/PHP in the C programming language.
124 + </longdescription>
125 + <upstream>
126 + <changelog>
127 + https://github.com/ansilove/ansilove/blob/master/ChangeLog
128 + </changelog>
129 + <bugs-to>https://github.com/ansilove/ansilove/issues</bugs-to>
130 + <remote-id type="github">ansilove/ansilove</remote-id>
131 + </upstream>
132 +</pkgmetadata>