previewqt
maintainer luspi
· 2 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from the project's official website, used to build the software from source; the non-whitelisted host is the project's own domain, which is normal for AUR packages.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from the project's official website, used to build the software from source; the non-whitelisted host is the project's own domain, which is normal for AUR packages.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
source=() URL on a non-standard host
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:15
source=(https://previewqt.org/downloads/source/$pkgname-$pkgver.tar.gz)
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Lukas Spies <lukas (at) previewqt _dot_ org>
2
3
pkgname=previewqt
4
pkgver=5.0
5
pkgrel=2
6
pkgdesc="Simple application for previewing all kinds of files, from images to videos, from documents to archives."
7
arch=('x86_64')
8
url="http://previewqt.org/"
9
license=('GPL2')
10
depends=('exiv2' 'imagemagick' 'qt6-imageformats' 'qt6-multimedia' 'qt6-svg' 'qt6-declarative' 'libraw' 'hicolor-icon-theme' 'libarchive' 'kimageformats' 'resvg' 'qt6-webview' 'syntax-highlighting' 'qt6-webview')
11
optdepends=('yt-dlp: Stream media directly from supported websites'
12
'libqpsd-git: PSB/PSD support'
13
'xcftools: XCF support')
14
makedepends=('cmake' 'qt6-tools' 'extra-cmake-modules')
15
source=(https://previewqt.org/downloads/source/$pkgname-$pkgver.tar.gz)
16
sha256sums=('0da4a03e2d75e5e1c1b92615034081449ab69e28bcec5ae2d3457be26693140d')
17
18
# NOTE
19
# To use GraphicsMagick instead of ImageMagick replace it in the depends array above and change
20
# '-DIMAGEMAGICK=ON -DGRAPHICSMAGICK=OFF' to '-DIMAGEMAGICK=OFF -DGRAPHICSMAGICK=ON' in the cmake call below.
21
22
# NOTE
23
# These dependencies are currently disabled in the cmake call below:
24
# 'freeimage' 'devil-ilut' 'poppler-qt6' 'libvips' 'mpv'
25
26
prepare() {
27
cd $srcdir/$pkgname-$pkgver
28
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DWITH_FREEIMAGE=OFF -DWITH_DEVIL=OFF -DWITH_POPPLER=OFF -DWITH_QTPDF=ON -DWITH_IMAGEMAGICK=ON -DWITH_GRAPHICSMAGICK=OFF -DWITH_LIBVIPS=OFF -DWITH_LIBMPV=OFF -DWITH_RESVG=ON -DWITH_EPUB=ON -DCMAKE_BUILD_TYPE=Release
29
}
30
31
build() {
32
cd $srcdir/$pkgname-$pkgver
33
make
34
}
35
36
package() {
37
cd $srcdir/$pkgname-$pkgver
38
make DESTDIR=$pkgdir install
39
}
40
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |