2024-03-31 16:45:18 +02:00
|
|
|
# Maintainer: exu <mrc+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')
|
2022-10-17 13:26:39 +02:00
|
|
|
depends=('sdl2_ttf'
|
2023-05-19 14:49:55 +02:00
|
|
|
'ffmpeg'
|
|
|
|
'freetype2'
|
|
|
|
'zlib')
|
2022-10-17 13:26:39 +02:00
|
|
|
makedepends=('cmake'
|
|
|
|
'meson')
|
2022-08-29 20:03:39 +02:00
|
|
|
provides=("${pkgname}")
|
|
|
|
conflicts=("${pkgname}")
|
2023-05-19 14:49:55 +02:00
|
|
|
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')
|
2023-05-19 14:49:55 +02:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
# patching
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
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"
|
|
|
|
}
|