From 479e02e824312441c513da0aaffd020f9f080673 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Mon, 29 Aug 2022 20:03:39 +0200 Subject: [PATCH] Initial PKGBUILD --- .SRCINFO | 17 +++++++++++++++++ .gitignore | 8 ++++++++ PKGBUILD | 28 ++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 .SRCINFO create mode 100644 .gitignore create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..1bd48c5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = 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.0 + pkgrel = 1 + url = https://github.com/svt/vivictpp + arch = x86_64 + license = GPL2 + makedepends = meson + depends = ffmpeg + depends = sdl_image + depends = freetype2 + provides = vivictpp + conflicts = vivictpp + source = https://github.com/svt/vivictpp/archive/refs/tags/v0.2.0.zip + sha256sums = 348b213245d0d29b71a600f7b75ea3f0c487836dfb423f954e0ac3cce3cbad58 + +pkgname = vivictpp diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..28dd69a --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +# ignore everything +* + +# except these files +!.gitignore +!PKGBUILD +!.SRCINFO +!app-update.yml diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..4f4c93f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: RealStickman + +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.0 +# Uncomment for releases with hyphens +# _pkgver=$(echo "$pkgver" | tr '~' -) +pkgrel=1 +arch=('x86_64') +url='https://github.com/svt/vivictpp' +license=('GPL2') +depends=('ffmpeg' + 'sdl_image' + 'freetype2') +makedepends=('meson') +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("https://github.com/svt/vivictpp/archive/refs/tags/v${pkgver}.zip") +sha256sums=('348b213245d0d29b71a600f7b75ea3f0c487836dfb423f954e0ac3cce3cbad58') + +build() { + meson --prefix=/usr --buildtype=plain "$srcdir/${pkgname}-${pkgver}" "builddir" + meson compile -C builddir +} + +package() { + meson install -C builddir --destdir "$pkgdir" +}