35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
# Template file for 'sioyek'
|
|
pkgname=sioyek
|
|
version=1.5.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 freetype-devel
|
|
libjbig2dec libjpeg-turbo-devel libopenjpeg2-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=2d01c757953c3f2d98428376e642d13b8a9edeba8fee506477e8aa178756f16b
|
|
nocross=yes
|
|
|
|
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
|
|
}
|