# zathura/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball used by this package was created based on "git" upstream sources. The sources were obtained as follows: ocgitfetch --run \ https://github.com/pwmt/zathura.git #--------------------------------------------------------------------- [buildtimes] #--------------------------------------------------------------------- [settings] license = See "license*.txt" in installed tree licfile = LICENSE setpaths = mupdf texlive zathura #--------------------------------------------------------------------- [depends] appstream-glib brotli bzip2 cairo cmake cups djvulibre expat file # for "libmagic" fontconfig freetype2 fribidi gettext ghostscript girara graphite2 gtkcore gumbo jbig2dec jpeg json-glib leptonica libarchive libb2 libbsd libffi libicu libidn liblz4 libpaper libpng librsvg libspectre libxml2 lzlib meson ncurses ninja openjpeg openssl pcre2 pkgconf python python3-core sqlite3 tesseract texlive util-linux xorg xzutils zlib zstd #--------------------------------------------------------------------- [configure] PATH=$PRODTREE/python3/bin:$PATH PP=$PKGDIR_PROD rm -fr build && mkdir build && cd build meson setup \ -D prefix=$PP \ -D bindir=$PP/bin \ -D includedir=$PP/include \ -D libdir=$PP/lib \ -D mandir=$PP/man \ -D buildtype=release \ \ -D landlock=disabled \ -D seccomp=disabled \ -D synctex=enabled #--------------------------------------------------------------------- [build] cd build ninja_simple_build #--------------------------------------------------------------------- [postbuild] . srcpkgpaths zathura HERE=`pwd` PP=$PKGDIR_PROD PLUGSDIR=$PKGDIR_SPECIAL/plugins #--------------------------------------------------------------------- cd $PKGDIR_PROD/bin ln -nsf zathura zath cd $HERE #--------------------------------------------------------------------- tar jxf $PLUGSDIR/zathura-pdf-mupdf*.tar.bz2 cd zathura-pdf-mupdf* patch -p1 < $PLUGSDIR/zathura-pdf-mupdf.spcpat # rm -fr build && mkdir build && cd build meson setup \ -D prefix=$PP \ -D bindir=$PP/bin \ -D includedir=$PP/include \ -D libdir=$PP/lib \ -D mandir=$PP/man \ -D buildtype=release # export CFLAGS="-fPIC" ninja_simple_build cd $HERE #--------------------------------------------------------------------- tar jxf $PLUGSDIR/zathura-cb*.tar.bz2 cd zathura-cb* # rm -fr build && mkdir build && cd build meson setup \ -D prefix=$PP \ -D bindir=$PP/bin \ -D includedir=$PP/include \ -D libdir=$PP/lib \ -D mandir=$PP/man \ -D buildtype=release # ninja_simple_build cd $HERE #--------------------------------------------------------------------- tar jxf $PLUGSDIR/zathura-djvu*.tar.bz2 cd zathura-djvu* # rm -fr build && mkdir build && cd build meson setup \ -D prefix=$PP \ -D bindir=$PP/bin \ -D includedir=$PP/include \ -D libdir=$PP/lib \ -D mandir=$PP/man \ -D buildtype=release # ninja_simple_build cd $HERE #--------------------------------------------------------------------- tar jxf $PLUGSDIR/zathura-ps*.tar.bz2 cd zathura-ps* # rm -fr build && mkdir build && cd build meson setup \ -D prefix=$PP \ -D bindir=$PP/bin \ -D includedir=$PP/include \ -D libdir=$PP/lib \ -D mandir=$PP/man \ -D buildtype=release # ninja_simple_build cd $HERE #--------------------------------------------------------------------- tar jxf $PLUGSDIR/zathura-txt*.tar.bz2 cd zathura-txt* patch -p1 < $PLUGSDIR/zathura-txt.spcpat # rm -fr build && mkdir build && cd build meson setup \ -D prefix=$PP \ -D bindir=$PP/bin \ -D includedir=$PP/include \ -D libdir=$PP/lib \ -D mandir=$PP/man \ -D buildtype=release # ninja_simple_build cd $HERE #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = tbd url_home = tbd url_lfs = tbd url_tarball = git # See "technotes" in "cfg" file #--------------------------------------------------------------------- [history] 241206 Added package 241206 Started with bc2dfe279 ("git" hash) 241206 Add standard Zathura plugins to package 241206 Add text-file plugin to package