blob: c8b7ba52c583bfeb8ab756d02f8728e3882b8b45 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop git-r3 meson toolchain-funcs
DESCRIPTION="Image viewers for the framebuffer console (fbi) and X11 (ida)"
HOMEPAGE="https://www.kraxel.org/blog/linux/fbida/"
EGIT_REPO_URI="https://git.kraxel.org/git/fbida"
SRC_URI="
mirror://gentoo/ida.png.bz2
"
LICENSE="GPL-2 IJG"
SLOT="0"
KEYWORDS=""
CDEPEND="
!media-gfx/fbi
>=media-libs/fontconfig-2.2
>=media-libs/freetype-2.0
>=x11-libs/motif-2.3:0[xft]
app-text/poppler[cairo]
media-libs/giflib:=
media-libs/libepoxy
media-libs/libexif
media-libs/libpng:*
media-libs/libwebp
media-libs/mesa[X(+)]
media-libs/tiff:*
net-misc/curl
virtual/jpeg:*
virtual/ttf-fonts
x11-libs/cairo[opengl]
x11-libs/libX11
x11-libs/libXpm
x11-libs/libXt
x11-libs/libdrm
x11-libs/libxkbcommon
x11-libs/pixman
"
DEPEND="
${CDEPEND}
x11-base/xorg-proto
"
RDEPEND="
${CDEPEND}
"
PATCHES=(
"${FILESDIR}"/ida-desktop.patch
"${FILESDIR}"/${PN}-2.10-giflib-4.2.patch
"${FILESDIR}"/${PN}-2.14-cpp.patch
)
src_unpack() {
unpack ${A}
git-r3_src_unpack
}
src_prepare() {
default
# upstream omission?
echo ${PV} > VERSION
tc-export CC CPP
}
src_install() {
meson_src_install
dodoc Changes README.{ida,md} TODO
doicon "${WORKDIR}"/ida.png
domenu desktop/ida.desktop
}
|