27 lines
916 B
Bash
27 lines
916 B
Bash
# Template file for 'sigil'
|
|
pkgname=sigil
|
|
version=2.4.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DUSE_SYSTEM_LIBS=ON"
|
|
hostmakedepends="pkg-config qt6-tools"
|
|
makedepends="qt6-base-devel qt6-webengine-devel qt6-svg-devel
|
|
python3-devel hunspell-devel pcre2-devel qt6-declarative-devel
|
|
qt6-base-private-devel minizip-devel"
|
|
short_desc="Multi-platform EPUB ebook editor"
|
|
maintainer="Emil Tomczyk <emru@emru.xyz>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/Sigil-Ebook/Sigil"
|
|
changelog="https://raw.githubusercontent.com/Sigil-Ebook/Sigil/master/ChangeLog.txt"
|
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
|
checksum=200152fcda1d72b547e8981047c51415f1bcd3b8c28b463ffd1263438391f322
|
|
python_version=3
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
armv5* | armv6* | armv7* | ppc* | riscv64* | i686*) broken="qt6-webengine missing" ;;
|
|
esac
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt6-base python3-devel"
|
|
fi
|