diff options
author | haawda | 2021-06-20 23:36:21 +0200 |
---|---|---|
committer | haawda | 2021-06-20 23:36:21 +0200 |
commit | e1f43c02b1f4e0b9e891e9dd02358841b0647c0e (patch) | |
tree | f0917797cf30aca2f1f7df6a7f9b75356428207d | |
parent | cda85d7b8d8da69e41eb61c1f104d747ec9c5617 (diff) | |
download | aur-e1f43c02b1f4e0b9e891e9dd02358841b0647c0e.tar.gz |
add patch for missing include in C++-code
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 14 | ||||
-rw-r--r-- | QtPainterPath.patch | 12 |
3 files changed, 26 insertions, 7 deletions
@@ -1,6 +1,6 @@ pkgbase = vokoscreen-git pkgdesc = An easy to use screencast creator. Development version. - pkgver = 3.0.7.r46.g600669e0 + pkgver = 3.0.9.r43.ga4e3f291 pkgrel = 1 epoch = 1 url = http://linuxecke.volkoh.de/vokoscreen/vokoscreen.html @@ -18,10 +18,11 @@ pkgbase = vokoscreen-git depends = pulseaudio optdepends = gst-plugins-ugly: for x264 video codec optdepends = gst-plugins-bad: for faac - provides = vokoscreen=3.0.7.r46.g600669e0 + provides = vokoscreen=3.0.9.r43.ga4e3f291 conflicts = vokoscreen source = git+https://github.com/vkohaupt/vokoscreenNG.git + source = QtPainterPath.patch sha256sums = SKIP + sha256sums = e2088c1e461e86d96c77f3014ffa88ed1b2f90595d909248bb176da3efafb61f pkgname = vokoscreen-git - @@ -5,7 +5,7 @@ _pkgname=vokoscreenNG pkgname=vokoscreen-git -pkgver=3.0.7.r46.g600669e0 +pkgver=3.0.9.r43.ga4e3f291 pkgrel=1 epoch=1 pkgdesc='An easy to use screencast creator. Development version.' @@ -19,14 +19,20 @@ optdepends=('gst-plugins-ugly: for x264 video codec' 'gst-plugins-bad: for faac') provides=("${_pkgname%NG}=${pkgver}") conflicts=("${_pkgname%NG}") -source=("git+https://github.com/vkohaupt/${_pkgname}.git") -sha256sums=('SKIP') +source=("git+https://github.com/vkohaupt/${_pkgname}.git" QtPainterPath.patch) +sha256sums=('SKIP' + 'e2088c1e461e86d96c77f3014ffa88ed1b2f90595d909248bb176da3efafb61f') pkgver() { cd ${_pkgname} git describe --long --tags 2>/dev/null | sed -r 's/-/.r/' | tr - . } +prepare() { + cd ${_pkgname} + git apply "$srcdir"/QtPainterPath.patch +} + build() { [[ -d "${srcdir}"/build ]] || mkdir -p "${srcdir}"/build cd build @@ -35,7 +41,7 @@ build() { QMAKE_CXXFLAGS="${CXXFLAGS}" \ QMAKE_LDFLAGS="${LDFLAGS} -lbz2" \ CONFIG+=release \ - CONFIG+=c++14 + CONFIG+=c++14 make } diff --git a/QtPainterPath.patch b/QtPainterPath.patch new file mode 100644 index 000000000000..2eb53d470cda --- /dev/null +++ b/QtPainterPath.patch @@ -0,0 +1,12 @@ +diff --git a/src/spezialCheckBox/QvkSpezialCheckbox.h b/src/spezialCheckBox/QvkSpezialCheckbox.h +index 51322246..389f4dd5 100644 +--- a/src/spezialCheckBox/QvkSpezialCheckbox.h ++++ b/src/spezialCheckBox/QvkSpezialCheckbox.h +@@ -4,6 +4,7 @@ + + #include <QWidget> + #include <QPainter> ++#include <QPainterPath> + + class QvkSpezialCheckbox : public QWidget + { |