summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorhaawda2021-06-20 23:36:21 +0200
committerhaawda2021-06-20 23:36:21 +0200
commite1f43c02b1f4e0b9e891e9dd02358841b0647c0e (patch)
treef0917797cf30aca2f1f7df6a7f9b75356428207d /PKGBUILD
parentcda85d7b8d8da69e41eb61c1f104d747ec9c5617 (diff)
downloadaur-e1f43c02b1f4e0b9e891e9dd02358841b0647c0e.tar.gz
add patch for missing include in C++-code
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d503789d99e..bbf6db66716 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}