Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion srcpkgs/arcan/template
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# !! keep synced with: acfgfs aclip aloadimage
pkgname=arcan
version=0.7.0.1
revision=1
revision=2
create_wrksrc=yes
build_wrksrc=arcan/src
build_style=cmake
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/fbpdf/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'fbpdf'
pkgname=fbpdf
version=0.0.20220624
revision=9
revision=10
_githash=6276360f47edd71de736e153f5dcc82b6d60b3db
_gitshort="${_githash:0:7}"
build_style=gnu-makefile
Expand Down
24 changes: 9 additions & 15 deletions srcpkgs/mupdf/template
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
# Template file for 'mupdf'
# Static library, revbump all dependants on mupdf updates
pkgname=mupdf
version=1.24.9
revision=2
hostmakedepends="pkg-config zlib-devel libcurl-devel freetype-devel
libjpeg-turbo-devel jbig2dec-devel libXext-devel libXcursor-devel
libXrandr-devel libXinerama-devel harfbuzz-devel readline-devel
MesaLib-devel libopenjpeg2-devel glu-devel libXi-devel libfreeglut-devel
gumbo-parser-devel"
version=1.27.0
revision=1
hostmakedepends="pkg-config libcurl-devel libXext-devel libXcursor-devel
libXrandr-devel libXinerama-devel readline-devel
MesaLib-devel glu-devel libXi-devel libjpeg-turbo-devel"
makedepends="$hostmakedepends"
depends="desktop-file-utils"
short_desc="Lightweight PDF and XPS viewer"
Expand All @@ -16,30 +14,26 @@ license="AGPL-3.0-only"
homepage="https://mupdf.com"
changelog="https://mupdf.com/releases/history.html"
distfiles="https://mupdf.com/downloads/archive/mupdf-${version}-source.tar.lz"
checksum=d87da097ae943ad0113003190ed370d39bde817383c59dc753dce23c7ba2b710
checksum=61b109c82093a1c39b1b7f58c04b6d8ad6fe8e83e266ce1d8423e1e5c9310911

pre_build() {
if [ "$CROSS_BUILD" ]; then
make ${makejobs} CC=cc LD=ld AR=ar CFLAGS="-fPIC" LDFLAGS='' build=release generate
make ${makejobs} XCFLAGS="-fPIC" build=release generate
fi
}

do_build() {
CFLAGS+=" -fPIC"
CXXFLAGS+=" -fPIC"

local _crosscompile

if [ "$CROSS_BUILD" ]; then
_crosscompile="CROSSCOMPILE=yes"
fi

make ${makejobs} USE_SYSTEM_LIBS=yes CURL_LIBS='-lcurl -lpthread' build=release ${_crosscompile} all
make ${makejobs} CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" build=release ${_crosscompile} -C thirdparty/mujs
make ${makejobs} USE_SYSTEM_LIBJPEG=yes XCFLAGS="-fPIC" XCXXFLAGS="-fPIC" build=release ${_crosscompile} all
}

do_install() {
make USE_SYSTEM_LIBS=yes build=release prefix=${DESTDIR}/usr install
make USE_SYSTEM_LIBJPEG=yes build=release prefix=${DESTDIR}/usr install install-extra-apps
for f in build/release/libmupdf-*.a; do
vinstall $f 644 usr/lib
done
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/sioyek/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'sioyek'
pkgname=sioyek
version=2.0.0
revision=11
revision=12
build_style=qmake
configure_args="pdf_viewer_build_config.pro"
hostmakedepends="qt5-qmake qt5-host-tools
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/zathura-pdf-mupdf/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'zathura-pdf-mupdf'
pkgname=zathura-pdf-mupdf
version=0.4.4
revision=3
revision=4
build_style=meson
hostmakedepends="pkg-config"
makedepends="mupdf-devel zathura-devel libopenjpeg2-devel tesseract-ocr-devel
Expand Down