[arch-commits] Commit in peek/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Tue Sep 24 10:59:45 UTC 2019


    Date: Tuesday, September 24, 2019 @ 10:59:44
  Author: ffy00
Revision: 511650

upgpkg: peek 1.4.0-1

Modified:
  peek/trunk/PKGBUILD

----------+
 PKGBUILD |   36 ++++++++++++++++--------------------
 1 file changed, 16 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-24 10:50:57 UTC (rev 511649)
+++ PKGBUILD	2019-09-24 10:59:44 UTC (rev 511650)
@@ -2,44 +2,40 @@
 # Contributor: Philipp Wolfer <ph.wolfer at gmail.com>
 
 pkgname=peek
-pkgver=1.3.1
-pkgrel=3
-pkgdesc="Simple screen recorder with an easy to use interface"
+pkgver=1.4.0
+pkgrel=1
+pkgdesc='Simple screen recorder with an easy to use interface'
 arch=('x86_64')
-url="https://github.com/phw/peek"
+url='https://github.com/phw/peek'
 license=('GPL3')
 depends=('gtk3' 'libkeybinder3' 'ffmpeg')
-makedepends=('cmake' 'vala' 'gst-plugins-good' 'gst-plugins-ugly')
-#checkdepends=('xorg-server-xvfb')
+makedepends=('meson' 'vala' 'appstream-glib' 'txt2man'
+             'gst-plugins-good' 'gst-plugins-ugly')
+checkdepends=('xorg-server-xvfb')
 optdepends=('gst-plugins-good: Recording under Gnome Shell'
             'gst-plugins-ugly: MP4 output under Gnome Shell'
             'gifski: High quality GIF animations with thousands of colors')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha512sums=('cdf4190c555b0a40051862038c04dc7c164bf8bccf47202d0fcb74f527a8a7d5605bc2e112847e262e51a5a95c3d2b3497e4ec56834880564e8e4127869ad9df')
+sha512sums=('ef1723f72d1c575493b2e9192cee6038807d37d875a797781169e5f4640635deda947362dcf2e1a9149fcfe88de532b8ea05c665b14b1befaa9aa8c982d9aa31')
 
 build() {
   mkdir -p $pkgname-$pkgver/build
   cd $pkgname-$pkgver/build
 
-  cmake .. \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DBUILD_TESTS=OFF \
-    -DGSETTINGS_COMPILE=ON \
-    -DENABLE_FILECHOOSERNATIVE=ON
+  arch-meson ..
 
-  make
+  ninja
 }
 
-#check() {
-#  cd $pkgname-$pkgver/build
-#
-#  xvfb-run make test
-#}
+check() {
+  cd $pkgname-$pkgver/build
 
+  xvfb-run meson test
+}
+
 package() {
   cd $pkgname-$pkgver/build
 
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" ninja install
 }
 


More information about the arch-commits mailing list