27 lines
1.1 KiB
Bash
27 lines
1.1 KiB
Bash
# Template file for 'scribus'
|
|
pkgname=scribus
|
|
version=1.6.2
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DCMAKE_SKIP_RPATH=TRUE -DQT_PREFIX=${XBPS_CROSS_BASE}/usr
|
|
-DWANT_GRAPHICSMAGICK=1 -DWANT_CPP20=ON"
|
|
hostmakedepends="pkg-config qt5-qmake qt5-host-tools python3"
|
|
makedepends="qt5-devel qt5-tools-devel zlib-devel cairo-devel lcms2-devel
|
|
cups-devel libxml2-devel hyphen-devel ghostscript-devel boost-devel
|
|
hunspell-devel poppler-cpp-devel python3-devel harfbuzz-devel
|
|
libgraphicsmagick-devel libpodofo-devel libpagemaker-devel libqxp-devel
|
|
libmspub-devel libcdr-devel libfreehand-devel libvisio-devel"
|
|
depends="ghostscript"
|
|
short_desc="Open Source DTP (Desktop Publishing) application"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://scribus.net"
|
|
distfiles="$SOURCEFORGE_SITE/scribus/scribus/${version}/scribus-${version}.tar.xz"
|
|
checksum=7eff9b1f47e372e56bb369f1dbe18fe49101789b5e6bcfdb7890e0346b641383
|
|
python_version=3
|
|
|
|
do_patch() {
|
|
vsed -i CMakeLists.txt -e 's|WANT_CPP17|WANT_CPP20|g' \
|
|
-e 's|CMAKE_CXX_STANDARD 17|CMAKE_CXX_STANDARD 20|g'
|
|
}
|