shotcut-git

MEDIUM
maintainer cysp74 9 votes scanned 2026-09-13 19:15:06.142757
View on AUR
Why flagged

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

Triggered rules

Medium Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

PKGBUILD

1# Maintainer: witt <1929161762 at qq dot com>
2
3pkgname=shotcut-git
4pkgdesc='Cross-platform Qt based Video Editor - Git latest'
5pkgver=25.03.29+r6598+g86552b847
6pkgrel=1
7arch=('x86_64')
8url='https://www.shotcut.org'
9license=('GPL3')
10depends=('qt6-base' 'qt6-declarative' 'qt6-imageformats' 'qt6-multimedia' 'qt6-translations'
11 'mlt' 'movit' 'ffmpeg' 'libx264' 'libvpx' 'lame' 'frei0r-plugins' 'ladspa' 'qt6-charts')
12optdepends=('swh-plugins: Several audio filters')
13provides=("shotcut")
14conflicts=('shotcut' 'shotcut-bin')
15makedepends=('qt6-tools' 'git' 'cmake' 'ninja' 'clang')
16source=("git+https://github.com/mltframework/shotcut.git")
17sha512sums=('SKIP')
18
19prepare() {
20 cd shotcut
21 sed -e 's|${Qt6_LUPDATE_EXECUTABLE}|/usr/lib/qt6/bin/lupdate|' -i translations/CMakeLists.txt
22}
23
24pkgver(){
25 cd "$srcdir/shotcut"
26 _version=$(git tag --sort=-v:refname --list | head -n1 | cut -c2-)
27 _commits=$(git rev-list --count HEAD)
28 _short_commit_hash=$(git rev-parse --short=9 HEAD)
29 echo "${_version#'v'}+r${_commits}+g${_short_commit_hash}"
30}
31
32build() {
33 cd shotcut
34 compile_version=${pkgver/#v/} # First remove optional leading 'v'
35 compile_version=${compile_version%%+*} # Then remove everything after first '+'
36
37 # https://github.com/mltframework/shotcut/issues/1275
38 export CXXFLAGS+=" -DSHOTCUT_NOUPGRADE -w"
39
40 cmake \
41 -Bbuild \
42 -GNinja \
43 -DCMAKE_BUILD_TYPE=Release \
44 -DCMAKE_INSTALL_PREFIX=/usr \
45 -DSHOTCUT_VERSION="$compile_version" \
46 -Wno-dev >/dev/null
47 cmake --build build > /dev/null
48}
49
50package() {
51 cd shotcut
52
53 DESTDIR="${pkgdir}" cmake --install build > /dev/null
54}
55
56# vim: ts=2 sw=2 et:
57

Scan history

Scanned at (UTC)SeverityRules
2026-09-13 19:15:06 Medium 1
2026-06-19 22:34:54 Clean 0

Report a package

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

0 / 4000
Your suggestion