54 lines
1.6 KiB
Text
54 lines
1.6 KiB
Text
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
pkgname=pdf4qt
|
|
pkgver=1.3.7
|
|
pkgrel=0
|
|
pkgdesc="Open source PDF editor"
|
|
arch="x86_64"
|
|
url="https://jakubmelka.github.io/"
|
|
license="LGPL-3.0"
|
|
# opt depends:
|
|
# 'flite: Text-To-Speech using flite synthesizer',
|
|
# 'libspeechd: Text-To-Speech using speechd synthesizer'
|
|
makedepends="
|
|
cmake
|
|
openssl-dev
|
|
libjpeg-turbo-dev
|
|
openjpeg-dev
|
|
onetbb-dev
|
|
lcms2-dev
|
|
freetype-dev
|
|
zlib-dev
|
|
musl-dev
|
|
qt6-qtbase-dev
|
|
qt6-qtsvg-dev
|
|
qt6-qtspeech-dev
|
|
qt6-qtdeclarative-dev
|
|
qt6-qtmultimedia-dev
|
|
"
|
|
source="
|
|
$pkgname-$pkgver.tar.gz::https://github.com/JakubMelka/PDF4QT/archive/refs/tags/v$pkgver.tar.gz
|
|
CMakeListsMain.patch
|
|
CMakeListsLib.patch
|
|
FindLCMS2.cmake
|
|
"
|
|
builddir="$srcdir"/PDF4QT-$pkgver
|
|
|
|
build() {
|
|
cmake -B build \
|
|
-DCMAKE_BUILD_TYPE='Release' \
|
|
-DCMAKE_INSTALL_PREFIX='/' \
|
|
-Wno-dev \
|
|
-DCMAKE_MODULE_PATH="$srcdir" \
|
|
-DPDF4QT_INSTALL_DEPENDENCIES=0
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
sha512sums="
|
|
86be79c901edee7ca9a0f534979b88ae1cf6dac3ecb0cd40b165354765dabdfcae94b288001e918e068a0bb4e61d8e9c90842d7f415659403979aa87d8830ee7 pdf4qt-1.3.7.tar.gz
|
|
98392178a57739a3f5629aac27ac36f0aa0f33a508b2bd3d3de66c61a20c799a86a5dec6feabb250388c2e17319f7bdff05b34131d95c4c9ce8ee33d3dae3a8d CMakeListsMain.patch
|
|
f0ee3675a70624f2ecefd8a157a68941aa7b18da03298186317c566e3b26a34e60991ce4c5501a619b7aa8744ab193b74417a84278f13eecd1ffaec28116dc30 CMakeListsLib.patch
|
|
48cdc9f6cf0691baef2d80b423c62315772e51ac7b9bfa1c0c619315a11a6867e282fcf764c50290eb3c310d51be496502bb0e60b6a82e9bbcfd4f15e6ee1a73 FindLCMS2.cmake
|
|
"
|