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.'
|
2022-09-25 17:09:08 +02:00
|
|
|
pkgver=0.2.1
|
2022-08-29 20:03:39 +02:00
|
|
|
# Uncomment for releases with hyphens
|
|
|
|
# _pkgver=$(echo "$pkgver" | tr '~' -)
|
2022-09-25 17:09:08 +02:00
|
|
|
pkgrel=1
|
2022-08-29 20:03:39 +02:00
|
|
|
arch=('x86_64')
|
|
|
|
url='https://github.com/svt/vivictpp'
|
|
|
|
license=('GPL2')
|
2022-09-25 17:22:17 +02:00
|
|
|
depends=('cmake'
|
|
|
|
'sdl2'
|
2022-09-25 17:09:08 +02:00
|
|
|
'sdl2_ttf'
|
|
|
|
'ffmpeg'
|
2022-09-25 17:33:20 +02:00
|
|
|
'spdlog'
|
2022-09-25 17:09:08 +02:00
|
|
|
'cli11'
|
2022-09-25 17:33:20 +02:00
|
|
|
'fmt'
|
|
|
|
'catch2')
|
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"
|
2022-09-25 17:09:08 +02:00
|
|
|
"disable-logPacket.patch"
|
|
|
|
"dependencies-meson.build.patch")
|
|
|
|
sha256sums=('eb99feb8757a82c7b291d1ade4e152487a6fbb838fa765f444f4c6ae1fb86143'
|
|
|
|
'fe42b5a7ff5f13eb221ef4eba1dbfcf82f9b64e109a120b6c6774c1a6e5fb801'
|
2022-09-25 17:33:20 +02:00
|
|
|
'3cb4a2368b197126456891934851eb98d982adc38dbfc395da37a323f342da4e')
|
2022-09-25 16:22:47 +02:00
|
|
|
|
|
|
|
prepare() {
|
2022-09-25 17:09:08 +02:00
|
|
|
patch --directory="${pkgname}-${pkgver}" --forward --strip=2 --input="${srcdir}/disable-logPacket.patch"
|
|
|
|
patch --directory="${pkgname}-${pkgver}" --forward --strip=2 --input="${srcdir}/dependencies-meson.build.patch"
|
2022-09-25 16:22:47 +02:00
|
|
|
}
|
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"
|
|
|
|
}
|