2022-08-29 20:03:39 +02:00
|
|
|
# Maintainer: RealStickman <mrc+aur@frm01.net>
|
|
|
|
|
|
|
|
pkgname=vivictpp
|
|
|
|
pkgdesc='An easy to use tool for subjective comparison of the visual quality of different encodings of the same video source.'
|
|
|
|
pkgver=0.2.0
|
|
|
|
# Uncomment for releases with hyphens
|
|
|
|
# _pkgver=$(echo "$pkgver" | tr '~' -)
|
2022-09-25 16:22:47 +02:00
|
|
|
pkgrel=2
|
2022-08-29 20:03:39 +02:00
|
|
|
arch=('x86_64')
|
|
|
|
url='https://github.com/svt/vivictpp'
|
|
|
|
license=('GPL2')
|
|
|
|
depends=('ffmpeg'
|
2022-08-29 20:39:32 +02:00
|
|
|
'sdl2_ttf')
|
2022-08-29 20:03:39 +02:00
|
|
|
makedepends=('meson')
|
|
|
|
provides=("${pkgname}")
|
|
|
|
conflicts=("${pkgname}")
|
2022-09-25 16:22:47 +02:00
|
|
|
source=("https://github.com/svt/vivictpp/archive/refs/tags/v${pkgver}.zip"
|
|
|
|
"disable-logPacket.patch")
|
|
|
|
sha256sums=('348b213245d0d29b71a600f7b75ea3f0c487836dfb423f954e0ac3cce3cbad58'
|
|
|
|
'208f4c60aa94c85fa18bb6e532c2c983462f4e17cf04fe371f1def0275c09636')
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
patch --directory="${pkgname}-${pkgver}" --forward --strip=1 --input="${srcdir}/disable-logPacket.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"
|
|
|
|
}
|