vivictpp/PKGBUILD

43 lines
1.4 KiB
Bash
Raw Normal View History

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.1
2022-08-29 20:03:39 +02:00
# Uncomment for releases with hyphens
# _pkgver=$(echo "$pkgver" | tr '~' -)
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'
'sdl2_ttf'
'ffmpeg'
2022-09-25 17:33:20 +02:00
'spdlog'
'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}")
source=("https://github.com/svt/vivictpp/archive/refs/tags/v${pkgver}.zip"
"disable-logPacket.patch"
"dependencies-meson.build.patch")
sha256sums=('eb99feb8757a82c7b291d1ade4e152487a6fbb838fa765f444f4c6ae1fb86143'
'fe42b5a7ff5f13eb221ef4eba1dbfcf82f9b64e109a120b6c6774c1a6e5fb801'
2022-09-25 17:33:20 +02:00
'3cb4a2368b197126456891934851eb98d982adc38dbfc395da37a323f342da4e')
prepare() {
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-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"
}