eshot-git
LOW
maintainer kekmacska
0 votes
scanned 2026-08-19 03:41:13.749572
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
pkgname=eshot-git
2
pkgver=4.2.7.r0.g3b30f96
3
pkgrel=1
4
pkgdesc="Fast, lightweight Windows and Linux(KDE Plasma 6) screenshot tool with annotations, OCR, uploads, pinned captures, GIF recording, and MP4 screen recording (git version, patched to use system Qt theme)"
5
arch=('any')
6
url="https://github.com/Benoks/EShot"
7
license=('MIT')
8
makedepends=('cmake' 'make' 'pkgconf' 'vulkan-headers' 'svgo')
9
depends=('qt6-base' 'libsecret' 'ffmpeg' 'tesseract' 'gst-plugins-base' 'gst-plugins-good' 'gst-plugin-pipewire' 'xdg-desktop-portal' 'desktop-file-utils' 'wireplumber') # based on ldd and https://github.com/Benoks/EShot/blob/main/LINUX_DEPENDENCY_SETUP.md
10
source=("git+https://github.com/Benoks/EShot.git" "system_theme.patch")
11
sha256sums=('SKIP' 'bd9fa1187c3f8dbe090464e994a8ce0cc90013bd0a7d442594a432d7fefa4b4b')
12
13
pkgver() {
14
cd EShot
15
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g;s/v//g'
16
}
17
18
prepare() {
19
cd EShot && pwd
20
svgo . -r --multipass
21
patch -Np1 -i "$srcdir/system_theme.patch"
22
}
23
24
build() {
25
cd EShot
26
27
BASE_CFLAGS="-O3 -march=native -mtune=native \
28
-falign-functions=32 -falign-loops=32 \
29
-fno-math-errno -fno-trapping-math \
30
-fno-semantic-interposition \
31
-fomit-frame-pointer -fno-plt \
32
-pipe -flto -Wall -Wno-unused \
33
-fstrict-aliasing -fno-exceptions \
34
-fmerge-all-constants -ffunction-sections \
35
-fdata-sections -fvisibility=hidden"
36
37
BASE_CXXFLAGS="$BASE_CFLAGS"
38
BASE_LDFLAGS="-Wl,--icf=safe -Wl,--gc-sections -Wl,-O3 -flto -fno-plt"
39
40
# Clang-only flags
41
CLANG_EXTRA_CFLAGS="-fstrict-vtable-pointers -fno-asynchronous-unwind-tables"
42
CLANG_EXTRA_CXXFLAGS="$CLANG_EXTRA_CFLAGS"
43
CLANG_EXTRA_LDFLAGS="-fuse-ld=lld"
44
45
# Detect compiler
46
if command -v clang >/dev/null 2>&1; then
47
export CC=clang
48
export CXX=clang++
49
export CFLAGS="$BASE_CFLAGS $CLANG_EXTRA_CFLAGS"
50
export CXXFLAGS="$BASE_CXXFLAGS $CLANG_EXTRA_CXXFLAGS"
51
export LDFLAGS="$BASE_LDFLAGS $CLANG_EXTRA_LDFLAGS"
52
else
53
export CC=gcc
54
export CXX=g++
55
export CFLAGS="$BASE_CFLAGS"
56
export CXXFLAGS="$BASE_CXXFLAGS"
57
export LDFLAGS="$BASE_LDFLAGS"
58
fi
59
60
cmake -S . -B build -DBUILD_TESTING=OFF
61
cmake --build build --parallel $(nproc)
62
}
63
64
package() {
65
cd "$srcdir/EShot"
66
67
DESTDIR="$pkgdir" cmake --install build
68
69
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
70
}
71
Changes since previous scan
--- PKGBUILD @ 2026-08-13 00:17+++ PKGBUILD @ 2026-08-19 03:41@@ -35,7 +35,7 @@ -fdata-sections -fvisibility=hidden" BASE_CXXFLAGS="$BASE_CFLAGS"- BASE_LDFLAGS="-Wl,--icf=safe -Wl,--gc-sections -flto -fno-plt"+ BASE_LDFLAGS="-Wl,--icf=safe -Wl,--gc-sections -Wl,-O3 -flto -fno-plt" # Clang-only flags CLANG_EXTRA_CFLAGS="-fstrict-vtable-pointers -fno-asynchronous-unwind-tables"Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-19 03:41:13 | Low | 1 |
| 2026-08-13 00:17:07 | Clean | 2 |
| 2026-08-12 13:23:33 | Low | 1 |