Package Details: ffvship-amd-git 3.0.0.13.g1ed2fb3-1

Git Clone URL: https://aur.archlinux.org/ffvship-amd-git.git (read-only, click to copy)
Package Base: ffvship-amd-git
Description: Cli tool for computing the metric difference between two videos (GIT Version)
Upstream URL: https://github.com/Line-fr/Vship
Licenses: MIT
Conflicts: ffvship-amd
Provides: ffvship-amd
Submitter: CreamSodass
Maintainer: CreamSodass
Last Packager: CreamSodass
Votes: 0
Popularity: 0.000000
First Submitted: 2025-06-15 17:10 (UTC)
Last Updated: 2025-06-15 17:10 (UTC)

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

tgw314 commented on 2025-08-09 05:29 (UTC) (edited on 2025-08-09 05:29 (UTC) by tgw314)

Fixed several issues in the PKGBUILD:

  • Added missing ffms2 to depends (runtime)

  • Updated makedepends: removed make (base-devel), clang (unused), added hip-runtime-amd (required)

  • Set ROCm env: PATH="/opt/rocm/bin:/opt/rocm/lib/llvm/bin:${PATH}", HIP_PATH=/opt/rocm

  • Changed build target from buildFFVSHIPall to buildFFVSHIP (more efficient and buildFFVSHIPall doesn't cover all architectures; mine wasn't included)

_plug=ffvship-amd
pkgname=${_plug}-git
pkgrel=2
pkgver=3.0.0.13.g1ed2fb3
pkgdesc="Cli tool for computing the metric difference between two videos (GIT version)"
arch=('x86_64')
url='https://github.com/Line-fr/Vship'
license=('MIT')
depends=('ffms2' 'hip-runtime-amd')
makedepends=('git' 'hip-runtime-amd')
provides=("${_plug}")
conflicts=("${_plug}")
source=("${_plug}::git+https://github.com/Line-fr/Vship.git")
sha256sums=('SKIP')

build() {
  cd "${srcdir}/${_plug}"

  export PATH="/opt/rocm/bin:/opt/rocm/lib/llvm/bin:${PATH}"
  export HIP_PATH=/opt/rocm

  make buildFFVSHIP
}

pkgver() {
  cd "${srcdir}/${_plug}"
  # Generate pkgver like: v3.0.0.0.g7cd1d4f
  git describe --tags --long | sed 's/^v//;s/-/./g'
}

package(){
  cd "${srcdir}/${_plug}"
  make PREFIX="/usr" DESTDIR="${pkgdir}" install
}