blob: e654791c2e54525d336466066a04b57d36c7c879 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: exu <aur _a_ frm01 _d_ 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=1.2.0
# Uncomment for releases with hyphens
# _pkgver=$(echo "$pkgver" | tr '~' -)
pkgrel=2
arch=('x86_64')
url='https://github.com/vivictorg/vivictpp'
license=('GPL2')
depends=('sdl2_ttf'
'ffmpeg'
'freetype2'
'zlib')
makedepends=('cmake'
'meson'
'git')
provides=("${pkgname}")
conflicts=("${pkgname}")
source=("https://github.com/vivictorg/vivictpp/archive/refs/tags/v${pkgver}.zip"
"meson_build.patch")
sha256sums=('48a2fc509ff3e97f6912d49b9e3b0b2f059e6064a3d71a71df40f05b9f9433fd'
'72188070abc23685ac47c48bf2c3ce42232bbdf04ebc6d6092252e9b337df4ed')
options=(!lto)
prepare() {
# patching
cd "$srcdir/$pkgname-$pkgver"
patch --strip=1 <../meson_build.patch
}
build() {
meson --prefix=/usr --buildtype=plain "$srcdir/${pkgname}-${pkgver}" "builddir"
meson compile -C builddir
}
package() {
meson install -C builddir --destdir "$pkgdir"
}
|