mp4ff-git
LOW
maintainer agony4001
0 votes
scanned 2026-10-28 07:49:59.681246
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
# Maintainer: agony <27015 at riseup dot net>
2
3
pkgname=mp4ff-git
4
pkgver=r1278.d5f2a9f
5
pkgrel=1
6
pkgdesc='Tools for parsing and manipulating MP4/ISOBMFF files (git version)'
7
arch=('x86_64' 'aarch64')
8
url='https://github.com/Eyevinn/mp4ff'
9
license=('MIT')
10
depends=('glibc')
11
makedepends=('git' 'go')
12
provides=('mp4ff')
13
conflicts=('mp4ff')
14
source=("mp4ff::git+${url}.git")
15
sha256sums=('SKIP')
16
17
pkgver() {
18
cd mp4ff
19
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
20
}
21
22
prepare() {
23
cd mp4ff
24
export GOPATH="${srcdir}/gopath"
25
go mod download -x -modcacherw
26
}
27
28
build() {
29
cd mp4ff
30
export GOPATH="${srcdir}/gopath"
31
export CGO_CPPFLAGS="${CPPFLAGS}"
32
export CGO_CFLAGS="${CFLAGS}"
33
export CGO_CXXFLAGS="${CXXFLAGS}"
34
export CGO_LDFLAGS="${LDFLAGS}"
35
export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw'
36
# Go stamps a pseudo-version from the last tag; an untracked file in the clone adds +dirty
37
go build -v -ldflags=-linkmode=external -o "${srcdir}/build/" ./cmd/...
38
}
39
40
check() {
41
cd mp4ff
42
export GOPATH="${srcdir}/gopath"
43
export GOFLAGS='-buildvcs=false -mod=readonly -modcacherw'
44
go test ./...
45
}
46
47
package() {
48
install -Dm755 "${srcdir}"/build/* -t "${pkgdir}/usr/bin"
49
install -Dm644 "${srcdir}/mp4ff/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
50
}
51
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-28 07:49:59 | Low | 1 |