vivictpp/PKGBUILD

40 lines
1.0 KiB
Bash
Raw Permalink Normal View History

2024-03-31 16:45:18 +02:00
# Maintainer: exu <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.'
2024-10-17 18:56:03 +02:00
pkgver=1.1.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')
depends=('sdl2_ttf'
2024-10-17 18:56:03 +02:00
'ffmpeg'
'freetype2'
'zlib')
makedepends=('cmake'
2024-10-17 18:56:03 +02:00
'meson'
'git')
2022-08-29 20:03:39 +02:00
provides=("${pkgname}")
conflicts=("${pkgname}")
source=("https://github.com/vivictorg/vivictpp/archive/refs/tags/v${pkgver}.zip"
2024-10-17 18:56:03 +02:00
"meson_build.patch")
sha256sums=('5825d5de534ddb479c2a1c6052e0fd7536b566c0d342dbd9d007e277c2834344'
'72188070abc23685ac47c48bf2c3ce42232bbdf04ebc6d6092252e9b337df4ed')
prepare() {
2024-10-17 18:56:03 +02:00
# patching
cd "$srcdir/$pkgname-$pkgver"
patch --strip=1 <../meson_build.patch
}
2022-08-29 20:03:39 +02:00
build() {
2024-10-17 18:56:03 +02:00
meson --prefix=/usr --buildtype=plain "$srcdir/${pkgname}-${pkgver}" "builddir"
meson compile -C builddir
2022-08-29 20:03:39 +02:00
}
package() {
2024-10-17 18:56:03 +02:00
meson install -C builddir --destdir "$pkgdir"
2022-08-29 20:03:39 +02:00
}