void-packages/srcpkgs/sigil/template
Helmut Pozimski ef609a967f sigil: update to 0.9.10, rebuild for gcc stdc++ dropping gcc4 compat
resolves #2040

use bundled minizip for now because of conflict with minizip crypt.h and python
2018-08-22 10:35:05 +02:00

29 lines
1.2 KiB
Bash

# Template file for 'sigil'
pkgname=sigil
version=0.9.10
revision=1
wrksrc="Sigil-${version}"
build_style=cmake
# 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-webkit-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"
depends="desktop-file-utils python3-lxml"
short_desc="A multi-platform EPUB ebook editor"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3.0-or-later"
homepage="https://github.com/Sigil-Ebook/Sigil"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=294954c4c2b3f1f9348d4f1bff18edebaba44afae901be3900154778b2f877ed
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-tools-devel qt5-svg-devel"
hostmakedepends+=" qt5-webkit-devel qt5-xmlpatterns-devel qt5-multimedia-devel"
hostmakedepends+=" qt5-sensors-devel qt5-declarative-devel qt5-location-devel"
hostmakedepends+=" qt5-webchannel-devel python3-devel"
fi