34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# Template file for 'sioyek'
|
|
pkgname=sioyek
|
|
version=1.4.0
|
|
revision=1
|
|
build_style=qmake
|
|
hostmakedepends="qt5-qmake qt5-host-tools
|
|
qt5-opengl qt5-gui qt5-widgets qt5-network"
|
|
makedepends="zlib-devel qt5-3d-devel qt5-gamepad-devel mupdf-devel
|
|
gumbo-parser-devel harfbuzz-devel qt5-opengl mujs-devel"
|
|
depends="mupdf"
|
|
short_desc="PDF viewer designed for reading research papers and technical books"
|
|
maintainer="dkwo <npiazza@disroot.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://sioyek.info/"
|
|
distfiles="https://github.com/ahrm/sioyek/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=44d49aec28e49bb79c2d0fb7cefd26aecc53b60136bf02dfec9863ac586aacd0
|
|
nocross="fails to configure"
|
|
|
|
do_build() {
|
|
qmake pdf_viewer_build_config.pro
|
|
make ${makejobs} CC="$CC" CXX="$CXX" LINK="$CXX"
|
|
}
|
|
|
|
do_install() {
|
|
vbin sioyek
|
|
vmkdir etc/sioyek
|
|
vinstall pdf_viewer/prefs.config 644 etc/sioyek
|
|
vinstall pdf_viewer/keys.config 644 etc/sioyek
|
|
vmkdir usr/share/sioyek/shaders
|
|
vcopy pdf_viewer/shaders/* usr/share/sioyek/shaders
|
|
vinstall tutorial.pdf 644 usr/share/sioyek
|
|
vman resources/sioyek.1
|
|
}
|