blob: 2616ec3ad9b0e06330ab36562725e3c3606beb59 (
plain) (
blame)
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
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson xdg
DESCRIPTION="A extensible text editor written in C, and Lua, adapted from lite"
HOMEPAGE="https://lite-xl.com/en/"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/lite-xl/lite-xl.git"
else
SRC_URI="https://github.com/lite-xl/lite-xl/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="MIT"
SLOT="0"
IUSE=""
RDEPEND="
dev-lang/lua:5.4
dev-libs/libpcre2
media-libs/freetype:2
media-libs/libsdl2[video]
"
DEPEND="${RDEPEND}"
src_configure() {
local emesonargs=(
-Duse_system_lua=true
)
meson_src_configure
}
src_install() {
meson_src_install
mv "${D}/usr/share/doc/lite-xl" "${D}/usr/share/doc/${P}" || die
}
|