shotcut-git
MEDIUM
maintainer cysp74
9 votes
scanned 2026-09-13 19:15:06.142757
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
3
pkgname=shotcut-git
4
pkgdesc='Cross-platform Qt based Video Editor - Git latest'
5
pkgver=25.03.29+r6598+g86552b847
6
pkgrel=1
7
arch=('x86_64')
8
url='https://www.shotcut.org'
9
license=('GPL3')
10
depends=('qt6-base' 'qt6-declarative' 'qt6-imageformats' 'qt6-multimedia' 'qt6-translations'
11
'mlt' 'movit' 'ffmpeg' 'libx264' 'libvpx' 'lame' 'frei0r-plugins' 'ladspa' 'qt6-charts')
12
optdepends=('swh-plugins: Several audio filters')
13
provides=("shotcut")
14
conflicts=('shotcut' 'shotcut-bin')
15
makedepends=('qt6-tools' 'git' 'cmake' 'ninja' 'clang')
16
source=("git+https://github.com/mltframework/shotcut.git")
17
sha512sums=('SKIP')
18
19
prepare() {
20
cd shotcut
21
sed -e 's|${Qt6_LUPDATE_EXECUTABLE}|/usr/lib/qt6/bin/lupdate|' -i translations/CMakeLists.txt
22
}
23
24
pkgver(){
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
32
build() {
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
50
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-09-13 19:15:06 | Medium | 1 |
| 2026-06-19 22:34:54 | Clean | 0 |