From cffc71be53833b6b17c5f2638845d44e501c4708 Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Tue, 23 Jan 2018 14:27:03 +0100 Subject: pcr/peek: updated to 1.2.1 --- pcr/peek/PKGBUILD | 47 +++++++++++++++++++++++++++++------------------ 1 file changed, 29 insertions(+), 18 deletions(-) (limited to 'pcr') diff --git a/pcr/peek/PKGBUILD b/pcr/peek/PKGBUILD index 99e0e4cb2..9c5327403 100644 --- a/pcr/peek/PKGBUILD +++ b/pcr/peek/PKGBUILD @@ -1,35 +1,46 @@ -# Maintainer: Philipp Wolfer +# Maintainer (AUR): Philipp Wolfer + +# parabola changes and rationale: +# no changes. + pkgname=peek -pkgver=1.0.0 +pkgver=1.2.1 pkgrel=1 -pkgdesc="An animated GIF recorder" -arch=('i686' 'x86_64') +pkgdesc="Simple screen recorder with an easy to use interface" +arch=('i686' 'x86_64' 'armv7h') url="https://github.com/phw/peek" license=('GPL3') -depends=(gtk3 libkeybinder3 ffmpeg imagemagick) -makedepends=(cmake vala gettext) +depends=(gtk3 libkeybinder3 ffmpeg) +makedepends=(cmake vala gettext txt2man) optdepends=( 'gst-plugins-good: WebM output under Gnome Shell' 'gst-plugins-ugly: MP4 output under Gnome Shell' + 'gifski: High quality GIF animations with thousands of colors' ) -source=("https://github.com/phw/peek/archive/v$pkgver.tar.gz") -sha512sums=('0a152f3c5301dad33dd64a9291ba05408d08e0c378790ae2777069d0d6f3f13bf38b15b66117f253afe9e0829c7442b1eeef046686830b4698b1d3ca5c0b8e2f') -whirlpoolsums=('b9483a0d725fc4c9480a7876420b9f771599e5f80d13bf59b33bcf663d6e952554ce0f45b1cc56b5f820fb28ac370b8c7ee58ffab4f7e9f3e1c7c31176f48e48') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/phw/${pkgname}/archive/${pkgver}.tar.gz) +sha256sums=('7035ad6817306bf93b0052bf989120793e26b3fbcba51dda3cdf345342214af5') + +prepare() { + mkdir -p build +} build() { - cd "${srcdir}/peek-$pkgver" - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DBUILD_TESTS=ON \ - -DGSETTINGS_COMPILE=OFF . - make + cd "build" + cmake "${srcdir}/${pkgname}-${pkgver}" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_TESTS=ON \ + -DCMAKE_BUILD_TYPE=Release \ + -DGSETTINGS_COMPILE=OFF \ + -DENABLE_FILECHOOSERNATIVE=ON + make } check() { - cd "${srcdir}/peek-$pkgver" - #make test + cd "build" + make test } package() { - cd "${srcdir}/peek-$pkgver" - make DESTDIR=${pkgdir} install + cd "build" + make DESTDIR=${pkgdir} install } -- cgit v1.2.3