vivictpp/PKGBUILD

39 lines
1.1 KiB
Bash
Raw Normal View History

2024-03-31 16:45:18 +02:00
# Maintainer: exu <aur _a_ frm01 _d_ net>
2022-08-29 20:03:39 +02:00
pkgname=vivictpp
pkgdesc='An easy to use tool for subjective comparison of the visual quality of different encodings of the same video source.'
2023-12-10 13:27:46 +01:00
pkgver=1.0.0
2022-08-29 20:03:39 +02:00
# Uncomment for releases with hyphens
# _pkgver=$(echo "$pkgver" | tr '~' -)
2023-01-06 16:14:06 +01:00
pkgrel=1
2022-08-29 20:03:39 +02:00
arch=('x86_64')
2022-10-17 14:09:29 +02:00
url='https://github.com/vivictorg/vivictpp'
2022-08-29 20:03:39 +02:00
license=('GPL2')
depends=('sdl2_ttf'
'ffmpeg'
'freetype2'
'zlib')
makedepends=('cmake'
'meson')
2022-08-29 20:03:39 +02:00
provides=("${pkgname}")
conflicts=("${pkgname}")
source=("https://github.com/vivictorg/vivictpp/archive/refs/tags/v${pkgver}.zip"
2023-12-10 13:27:46 +01:00
"meson_build.patch")
sha256sums=('869bbcd6f413152be15ed82ac39593e9ad895346e79a8c01e2b620375f28b326'
'37b71962eac6cff7ec4d7ecb82e514a0c34075536edaeec89956c55201952ac0')
prepare() {
# patching
cd "$srcdir/$pkgname-$pkgver"
2024-05-19 16:24:53 +02:00
patch --strip=2 < ../meson_build.patch
}
2022-08-29 20:03:39 +02:00
build() {
meson --prefix=/usr --buildtype=plain "$srcdir/${pkgname}-${pkgver}" "builddir"
meson compile -C builddir
}
package() {
meson install -C builddir --destdir "$pkgdir"
}