35 lines
1.3 KiB
Bash
35 lines
1.3 KiB
Bash
# Template file for 'sigil'
|
|
pkgname=sigil
|
|
version=1.3.0
|
|
revision=2
|
|
wrksrc="Sigil-${version}"
|
|
build_style=cmake
|
|
pycompile_dirs="usr/share/sigil/python3lib"
|
|
# Can use system zlib, minizip and hunspell; can't use system pcre
|
|
configure_args="-DUSE_SYSTEM_LIBS=ON"
|
|
hostmakedepends="pkg-config unzip qt5-qmake"
|
|
makedepends="zlib-devel qt5-tools-devel qt5-svg-devel
|
|
qt5-webengine-devel qt5-xmlpatterns-devel qt5-multimedia-devel qt5-sensors-devel
|
|
qt5-declarative-devel qt5-location-devel qt5-webchannel-devel
|
|
qt5-plugin-odbc qt5-plugin-mysql qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
|
|
boost-devel hunspell-devel python3-devel minizip-devel"
|
|
depends="desktop-file-utils python3-lxml python3-css-parser"
|
|
short_desc="Multi-platform EPUB ebook editor"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/Sigil-Ebook/Sigil"
|
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
|
checksum=ac302328f0d0e0144e67bd4cbd7834650eb219f81a623f393271bf6f0686cc56
|
|
python_version=3
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
arm*) broken="depends on qt5-webengine";;
|
|
esac
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-tools-devel qt5-svg-devel
|
|
qt5-webengine-devel qt5-xmlpatterns-devel qt5-multimedia-devel
|
|
qt5-sensors-devel qt5-declarative-devel qt5-location-devel
|
|
qt5-webchannel-devel python3-devel"
|
|
fi
|