vivictpp/PKGBUILD

42 lines
1.2 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.3.1
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"
"meson_build.patch"
"VideoInputMessage.patch")
sha256sums=('8706f0911747729b33afc5c7845cae2044b8030bc33473cb57af9f2c083d3631'
'51766406570144fac60b77ae9adc7ba459775c02482d1cde85db50e73bb8366c'
'd9cee025ae4ccc65c3fac77b68922336bef00fa0f1b0de98e3e398ef74afa0ca')
prepare() {
# patching
cd "$srcdir/$pkgname-$pkgver"
patch --strip=2 < ../../meson_build.patch
patch --strip=2 < ../../VideoInputMessage.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"
}