mp4ff-git

LOW
maintainer agony4001 0 votes scanned 2026-10-28 07:49:59.681246
View on AUR
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
3pkgname=mp4ff-git
4pkgver=r1278.d5f2a9f
5pkgrel=1
6pkgdesc='Tools for parsing and manipulating MP4/ISOBMFF files (git version)'
7arch=('x86_64' 'aarch64')
8url='https://github.com/Eyevinn/mp4ff'
9license=('MIT')
10depends=('glibc')
11makedepends=('git' 'go')
12provides=('mp4ff')
13conflicts=('mp4ff')
14source=("mp4ff::git+${url}.git")
15sha256sums=('SKIP')
16
17pkgver() {
18 cd mp4ff
19 printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
20}
21
22prepare() {
23 cd mp4ff
24 export GOPATH="${srcdir}/gopath"
25 go mod download -x -modcacherw
26}
27
28build() {
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
40check() {
41 cd mp4ff
42 export GOPATH="${srcdir}/gopath"
43 export GOFLAGS='-buildvcs=false -mod=readonly -modcacherw'
44 go test ./...
45}
46
47package() {
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)SeverityRules
2026-10-28 07:49:59 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