diff options
author | Adam Reichold | 2015-11-24 16:35:02 +0100 |
---|---|---|
committer | Adam Reichold | 2015-11-24 16:35:02 +0100 |
commit | 8d1a4d1894d81afa68f9010c2f003db750ed724c (patch) | |
tree | 48b946545f3efcf99d632f2c618c0f8720a49e6c | |
parent | 4336a7a1b4031da2b11d31e181d05d0bc6a46d0d (diff) | |
download | aur-8d1a4d1894d81afa68f9010c2f003db750ed724c.tar.gz |
Track dependency on texlive-bin if linked against system SyncTeX parser.
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 17 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = qpdfview-bzr pkgdesc = A tabbed PDF viewer using the poppler library. (development version) pkgver = 1968 - pkgrel = 1 + pkgrel = 2 url = https://launchpad.net/qpdfview install = qpdfview.install arch = i686 @@ -14,6 +14,7 @@ pkgbase = qpdfview-bzr depends = qt5-svg depends = desktop-file-utils depends = hicolor-icon-theme + optdepends = texlive-bin: for shared SyncTeX parser library (required at build time) optdepends = poppler-qt5: for PDF support (required at build time) optdepends = libspectre: for PostScript support (required at build time) optdepends = djvulibre: for DjVu support (required at build time) @@ -23,4 +24,9 @@ pkgbase = qpdfview-bzr md5sums = SKIP pkgname = qpdfview-bzr + depends = libcups + depends = qt5-svg + depends = desktop-file-utils + depends = hicolor-icon-theme + depends = texlive-bin @@ -3,13 +3,17 @@ pkgname=qpdfview-bzr pkgver=1968 -pkgrel=1 +pkgrel=2 pkgdesc='A tabbed PDF viewer using the poppler library. (development version)' arch=('i686' 'x86_64' 'armv7h') url='https://launchpad.net/qpdfview' license=('GPL2') depends=('libcups' 'qt5-svg' 'desktop-file-utils' 'hicolor-icon-theme') -optdepends=('poppler-qt5: for PDF support (required at build time)' 'libspectre: for PostScript support (required at build time)' 'djvulibre: for DjVu support (required at build time)' 'mupdf: for PDF support (required at build time)') +optdepends=('texlive-bin: for shared SyncTeX parser library (required at build time)' + 'poppler-qt5: for PDF support (required at build time)' + 'libspectre: for PostScript support (required at build time)' + 'djvulibre: for DjVu support (required at build time)' + 'mupdf: for PDF support (required at build time)') makedepends=('bzr' 'qt5-tools') conflicts=('qpdfview') install='qpdfview.install' @@ -50,4 +54,8 @@ package() { cd "$srcdir/qpdfview" make "INSTALL_ROOT=$pkgdir" install + + if pkg-config --exists synctex; then + depends=("${depends[@]}" 'texlive-bin') + fi } |