dev-lua/wcwidth: rewrite for modern lua eclass
[sgilles-overlay.git] / app-text / sile / sile-9999.ebuild
blob3c59613e0523a6477903ec0ab3a333c0cae914b8
1 # Copyright 1999-2019 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=7
6 LUA_COMPAT=( lua5-{1..4} luajit )
7 inherit autotools git-r3 lua
9 DESCRIPTION="Simon's Improved Layout Engine "
10 HOMEPAGE="http://sile-typesetter.org"
11 EGIT_REPO_URI="https://github.com/sile-typesetter/sile"
12 EGIT_SUBMODULES=()
14 if [[ ${PV} == 9999 ]]
15 then
17 else
18 EGIT_COMMIT="v${PV}"
21 LICENSE="MIT"
22 SLOT="0"
23 KEYWORDS="~amd64 ~arm ~hppa ~sparc ~x86"
25 RDEPEND="
26 dev-libs/libtexpdf
27 dev-lua/cassowary
28 dev-lua/cliargs
29 dev-lua/cosmo
30 dev-lua/epnf
31 dev-lua/linenoise
32 dev-lua/lpeg
33 dev-lua/luaexpat
34 dev-lua/luafilesystem
35 dev-lua/luasec
36 dev-lua/luasocket
37 dev-lua/lua-zlib
38 dev-lua/repl
39 dev-lua/stdlib
40 dev-lua/vstruct
41 lua_targets_lua5_1? ( dev-lua/bit32[lua_targets_lua5_1] dev-lua/compat53[lua_targets_lua5_1] )
42 lua_targets_lua5_2? ( dev-lua/compat53[lua_targets_lua5_2] )
43 lua_targets_luajit? ( dev-lua/bit32[lua_targets_luajit] dev-lua/compat53[lua_targets_luajit] )
46 src_prepare(){
47 default
48 eautoreconf
49 rm -rf vendor
50 #lua-alt_src_prepare
53 src_configure() {
54 ECONF_SOURCE="${S}" econf \
55 --with-system-expat \
56 --with-system-filesystem \
57 --with-system-libtexpdf \
58 --with-system-lpeg \
59 --with-system-luarocks \
60 --with-system-socket \
61 --with-system-zlib
64 src_install() {
65 emake DESTDIR="${D}" install