blob: f1ba96ef0f4f6a868a9474d3f6666409d6231549 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Convert terminal recordings to animated gifs"
HOMEPAGE="https://github.com/icholy/ttygif"
SRC_URI="https://github.com/icholy/ttygif/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DOCS=( LICENSE README.md )
PATCHES=(
"${FILESDIR}/ldflags-support.patch"
)
RDEPEND="
app-misc/ttyrec
media-gfx/imagemagick
x11-apps/xwd
"
src_compile() {
emake CC="$(tc-getCC)" \
CFLAGS="${CFLAGS} -DVERSION='\"${PV}\"' -DOS_LINUX" \
LDFLAGS="${LDFLAGS}"
}
src_install() {
dobin "${PN}"
einstalldocs
}
|