photoslop-git

LOW
maintainer kekmacska 0 votes scanned 2026-08-19 03:41:13.749572
View on AUR
Why flagged

The package builds from the project's own git repository, uses standard build tools, and installs only the project's code and assets; the low severity is due to few votes and recent upload, not malicious content.

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.

Low AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from the project's own git repository, uses standard build tools, and installs only the project's code and assets; the low severity is due to few votes and recent upload, not malicious content.

PKGBUILD

1pkgname=photoslop-git
2pkgver=0.1.0.r187.g8a7ad18
3pkgrel=1
4pkgdesc="Photoslop – a simple image editor written in Python (git version)"
5arch=('any')
6url="https://github.com/CryptoJones/Photoslop"
7license=('Apache-2.0')
8depends=('python' 'pyside6')
9makedepends=('git' 'uv' 'python-installer')
10source=("git+https://github.com/CryptoJones/Photoslop.git")
11sha256sums=('SKIP')
12
13pkgver() {
14 cd "$srcdir/Photoslop"
15 printf "0.1.0.r%s.g%s" \
16 "$(git rev-list --count HEAD)" \
17 "$(git rev-parse --short HEAD)"
18}
19
20prepare() {
21 cd "$srcdir/Photoslop"
22 oxipng -o max -r -p -s -v -t $(nproc) -z --zi 100 --ziwi 10 --brute-level 5 --brute-lines 16 docs/icon.png || true
23}
24
25build() {
26 cd "$srcdir/Photoslop"
27 export PYTHONOPTIMIZE=1
28 BASE_CFLAGS="-O3 -march=native -mtune=native \
29 -falign-functions=32 -falign-loops=32 \
30 -fno-math-errno -fno-trapping-math \
31 -fno-semantic-interposition \
32 -fomit-frame-pointer -fno-plt \
33 -pipe -flto -Wall -Wno-unused \
34 -fstrict-aliasing \
35 -fmerge-all-constants -ffunction-sections \
36 -fdata-sections"
37
38 BASE_CXXFLAGS="$BASE_CFLAGS"
39 BASE_LDFLAGS="-Wl,--icf=safe -Wl,--gc-sections -Wl,-O3 -flto -fno-plt"
40
41 # Clang-only flags
42 CLANG_EXTRA_CFLAGS="-fstrict-vtable-pointers -fno-asynchronous-unwind-tables"
43 CLANG_EXTRA_CXXFLAGS="$CLANG_EXTRA_CFLAGS -fno-rtti -fno-exceptions"
44 CLANG_EXTRA_LDFLAGS="-fuse-ld=lld"
45
46 # Detect compiler
47 if command -v clang >/dev/null 2>&1; then
48 export CC=clang
49 export CXX=clang++
50 export CFLAGS="$BASE_CFLAGS $CLANG_EXTRA_CFLAGS"
51 export CXXFLAGS="$BASE_CXXFLAGS $CLANG_EXTRA_CXXFLAGS"
52 export LDFLAGS="$BASE_LDFLAGS $CLANG_EXTRA_LDFLAGS"
53 else
54 export CC=gcc
55 export CXX=g++
56 export CFLAGS="$BASE_CFLAGS"
57 export CXXFLAGS="$BASE_CXXFLAGS"
58 export LDFLAGS="$BASE_LDFLAGS"
59 fi
60
61 uv build
62}
63
64package() {
65 cd "$srcdir/Photoslop/dist"
66
67 # Install wheel into /usr
68 python -m installer --destdir "$pkgdir" photoslop-*.whl
69
70 # Install desktop entry (embedded)
71 install -Dm644 /dev/stdin "$pkgdir/usr/share/applications/photoslop.desktop" << 'EOF'
72[Desktop Entry]
73Type=Application
74Name=Photoslop
75Comment=Photoslop image editor
76Exec=photoslop
77Icon=photoslop
78Terminal=false
79Categories=Graphics;
80EOF
81
82 # Install icon
83 install -Dm644 "$srcdir/Photoslop/docs/icon.png" \
84 "$pkgdir/usr/share/icons/hicolor/256x256/apps/photoslop.png"
85}
86

Changes since previous scan

--- PKGBUILD @ 2026-08-12 00:27
+++ PKGBUILD @ 2026-08-19 03:41
@@ -1,5 +1,5 @@
pkgname=photoslop-git
-pkgver=0.1.0.r154.g3cadf94
+pkgver=0.1.0.r187.g8a7ad18
pkgrel=1
pkgdesc="Photoslop – a simple image editor written in Python (git version)"
arch=('any')
@@ -25,7 +25,7 @@
build() {
cd "$srcdir/Photoslop"
export PYTHONOPTIMIZE=1
- BASE_CFLAGS="-O3 -march=native -mtune=native \
+ BASE_CFLAGS="-O3 -march=native -mtune=native \
-falign-functions=32 -falign-loops=32 \
-fno-math-errno -fno-trapping-math \
-fno-semantic-interposition \
@@ -36,7 +36,7 @@
-fdata-sections"
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)SeverityRules
2026-08-19 03:41:13 Low 2
2026-08-12 00:27:08 Clean 2
2026-08-11 15:21:23 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion