sile: update to 0.15.7.

This commit is contained in:
Luciogi 2024-07-12 18:02:29 +05:00 committed by John Zimmermann
parent d1f0f803d1
commit afc20c8bbe
2 changed files with 24 additions and 20 deletions

View file

@ -1,8 +0,0 @@
--- a/sile.in 2019-01-07 09:48:08.943943000 +0100
+++ b/sile.in 2019-01-07 09:48:08.943943000 +0100
@@ -1,4 +1,4 @@
-#!@LUA@
+#!@LUA@@LUA_VERSION@
SYSTEM_SILE_PATH = "@SILE_PATH@"
SYSTEM_SILE_LIB_PATH = "@SILE_LIB_PATH@"
SHARED_LIB_EXT = "@SHARED_LIB_EXT@"

View file

@ -1,27 +1,39 @@
# Template file for 'sile' # Template file for 'sile'
pkgname=sile pkgname=sile
version=0.9.5.1 version=0.15.7
revision=9 revision=1
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="pkg-config" build_helper=rust
configure_args="--with-system-lua-sources --with-system-luarocks"
hostmakedepends="jq poppler cargo rust pkg-config automake luarocks-lua51"
makedepends="harfbuzz-devel lua51-devel lua51-lpeg lua51-luaexpat makedepends="harfbuzz-devel lua51-devel lua51-lpeg lua51-luaexpat
lua51-zlib lua51-luafilesystem lua51-luasocket lua51-luasec" lua51-zlib lua51-luafilesystem lua51-luasocket lua51-luasec lua51-cassowary
depends="lua51-lpeg lua51-luaexpat lua51-zlib lua51-luafilesystem lua51-compat53 lua51-cldr lua51-fluent lua51-loadkit lua51-linenoise
lua51-luasocket lua51-luasec" lua51-cliargs lua51-luarepl lua51-luasocket lua51-luasec lua51-luautf8
lua51-vstruct fontconfig-devel LuaJIT-devel font-sil-gentium rust-std"
depends="LuaJIT lua51-lpeg lua51-luaexpat lua51-zlib lua51-luafilesystem lua51-cassowary
lua51-luasocket lua51-luasec lua51-compat53 lua51-cldr lua51-fluent lua51-loadkit
lua51-linenoise lua51-cliargs lua51-luarepl lua51-luasocket lua51-luasec lua51-luautf8
lua51-vstruct font-sil-gentium"
short_desc="Modern typesetting system inspired by TeX" short_desc="Modern typesetting system inspired by TeX"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT" license="MIT"
homepage="http://www.sile-typesetter.org/" homepage="https://www.sile-typesetter.org/"
distfiles="https://github.com/simoncozens/sile/releases/download/v${version}/sile-${version}.tar.bz2" distfiles="https://github.com/sile-typesetter/sile/releases/download/v${version}/sile-${version}.tar.zst"
checksum=60cdcc4509971973feab352dfc1a86217cc1fdb12d56823f04d863afef92003a checksum=3e353a41f9fe1532f7bedeba9a42009ffb9758c3cf947f222ba076eb87a4222b
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" lua51 lua51-devel lua51-lpeg luaexpat lua51-zlib luafilesystem hostmakedepends+=" ${makedepends}"
luasocket lua51-luasec"
fi fi
post_install() { post_install() {
vlicense LICENSE vlicense LICENSE.md
}
pre_configure() {
if [ "$CROSS_BUILD" ]; then
export CARGO_TARGET_TRIPLE=${XBPS_CROSS_RUST_TARGET}
fi
} }
libtexpdf_package() { libtexpdf_package() {