Update to v0.3.1
This update includes two patchfiles again. VideoInputMessage.patch is required to build the program without errors. meson_build.patch makes freetype2 and zlib external dependencies. Otherwise system packages might be overwritten.
This commit is contained in:
parent
c35882fa4f
commit
a525ce1529
12
.SRCINFO
12
.SRCINFO
@ -1,6 +1,6 @@
|
|||||||
pkgbase = vivictpp
|
pkgbase = vivictpp
|
||||||
pkgdesc = An easy to use tool for subjective comparison of the visual quality of different encodings of the same video source.
|
pkgdesc = An easy to use tool for subjective comparison of the visual quality of different encodings of the same video source.
|
||||||
pkgver = 0.2.4
|
pkgver = 0.3.1
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/vivictorg/vivictpp
|
url = https://github.com/vivictorg/vivictpp
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
@ -9,9 +9,15 @@ pkgbase = vivictpp
|
|||||||
makedepends = meson
|
makedepends = meson
|
||||||
depends = sdl2_ttf
|
depends = sdl2_ttf
|
||||||
depends = ffmpeg
|
depends = ffmpeg
|
||||||
|
depends = freetype2
|
||||||
|
depends = zlib
|
||||||
provides = vivictpp
|
provides = vivictpp
|
||||||
conflicts = vivictpp
|
conflicts = vivictpp
|
||||||
source = https://github.com/vivictorg/vivictpp/archive/refs/tags/v0.2.4.zip
|
source = https://github.com/vivictorg/vivictpp/archive/refs/tags/v0.3.1.zip
|
||||||
sha256sums = c05fdec2936c7e0b0d2c3447ffe700835abad359b6064cac60a524472b14d97c
|
source = meson_build.patch
|
||||||
|
source = VideoInputMessage.patch
|
||||||
|
sha256sums = 8706f0911747729b33afc5c7845cae2044b8030bc33473cb57af9f2c083d3631
|
||||||
|
sha256sums = 51766406570144fac60b77ae9adc7ba459775c02482d1cde85db50e73bb8366c
|
||||||
|
sha256sums = d9cee025ae4ccc65c3fac77b68922336bef00fa0f1b0de98e3e398ef74afa0ca
|
||||||
|
|
||||||
pkgname = vivictpp
|
pkgname = vivictpp
|
||||||
|
21
PKGBUILD
21
PKGBUILD
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
pkgname=vivictpp
|
pkgname=vivictpp
|
||||||
pkgdesc='An easy to use tool for subjective comparison of the visual quality of different encodings of the same video source.'
|
pkgdesc='An easy to use tool for subjective comparison of the visual quality of different encodings of the same video source.'
|
||||||
pkgver=0.2.4
|
pkgver=0.3.1
|
||||||
# Uncomment for releases with hyphens
|
# Uncomment for releases with hyphens
|
||||||
# _pkgver=$(echo "$pkgver" | tr '~' -)
|
# _pkgver=$(echo "$pkgver" | tr '~' -)
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
@ -10,13 +10,26 @@ arch=('x86_64')
|
|||||||
url='https://github.com/vivictorg/vivictpp'
|
url='https://github.com/vivictorg/vivictpp'
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
depends=('sdl2_ttf'
|
depends=('sdl2_ttf'
|
||||||
'ffmpeg')
|
'ffmpeg'
|
||||||
|
'freetype2'
|
||||||
|
'zlib')
|
||||||
makedepends=('cmake'
|
makedepends=('cmake'
|
||||||
'meson')
|
'meson')
|
||||||
provides=("${pkgname}")
|
provides=("${pkgname}")
|
||||||
conflicts=("${pkgname}")
|
conflicts=("${pkgname}")
|
||||||
source=("https://github.com/vivictorg/vivictpp/archive/refs/tags/v${pkgver}.zip")
|
source=("https://github.com/vivictorg/vivictpp/archive/refs/tags/v${pkgver}.zip"
|
||||||
sha256sums=('c05fdec2936c7e0b0d2c3447ffe700835abad359b6064cac60a524472b14d97c')
|
"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
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
meson --prefix=/usr --buildtype=plain "$srcdir/${pkgname}-${pkgver}" "builddir"
|
meson --prefix=/usr --buildtype=plain "$srcdir/${pkgname}-${pkgver}" "builddir"
|
||||||
|
11
VideoInputMessage.patch
Normal file
11
VideoInputMessage.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
diff '--color=auto' --unified --recursive --text --color src/vivictpp-0.3.1-original/include/workers/VideoInputMessage.hh src/vivictpp-0.3.1/include/workers/VideoInputMessage.hh
|
||||||
|
--- src/vivictpp-0.3.1-original/include/workers/VideoInputMessage.hh 2023-05-19 12:56:35.683822444 +0200
|
||||||
|
+++ src/vivictpp-0.3.1/include/workers/VideoInputMessage.hh 2023-05-19 12:57:35.496794950 +0200
|
||||||
|
@@ -12,6 +12,7 @@
|
||||||
|
#include <atomic>
|
||||||
|
#include <condition_variable>
|
||||||
|
#include <functional>
|
||||||
|
+#include <stdexcept>
|
||||||
|
|
||||||
|
namespace vivictpp {
|
||||||
|
namespace workers {
|
24
meson_build.patch
Normal file
24
meson_build.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
diff '--color=auto' --unified --recursive --text --color src/vivictpp-0.3.1-original/meson.build src/vivictpp-0.3.1/meson.build
|
||||||
|
--- src/vivictpp-0.3.1-original/meson.build 2023-05-19 12:56:35.674821846 +0200
|
||||||
|
+++ src/vivictpp-0.3.1/meson.build 2023-05-19 13:14:37.148825157 +0200
|
||||||
|
@@ -10,8 +10,6 @@
|
||||||
|
spdlog_proj = subproject('spdlog', default_options: 'warning_level=0')
|
||||||
|
cli11_proj = subproject('cli11', default_options: 'warning_level=0')
|
||||||
|
catch2_proj = subproject('catch2', default_options: 'warning_level=0')
|
||||||
|
-freetype2_proj = subproject('freetype2', default_options: 'warning_level=0')
|
||||||
|
-zlib_proj = subproject('zlib', default_options: 'warning_level=0')
|
||||||
|
|
||||||
|
if build_machine.system() == 'windows'
|
||||||
|
|
||||||
|
@@ -61,9 +59,8 @@
|
||||||
|
deps = [
|
||||||
|
sdl2_dep,
|
||||||
|
sdl2_ttf_dep,
|
||||||
|
- # dependency('freetype2', version: '>=2.8.1'),
|
||||||
|
- zlib_proj.get_variable('zlib_dep'),
|
||||||
|
- # freetype2_proj.get_variable('freetype2_dep'),
|
||||||
|
+ dependency('freetype2', version: '>=2.8.1'),
|
||||||
|
+ dependency('zlib'),
|
||||||
|
dependency('threads'),
|
||||||
|
libavformat_dep,
|
||||||
|
libavcodec_dep,
|
Loading…
Reference in New Issue
Block a user