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

Kyle Keen kkeen at archlinux.org
Wed Jan 17 17:50:09 UTC 2018


    Date: Wednesday, January 17, 2018 @ 17:50:07
  Author: kkeen
Revision: 283748

upgpkg: simplescreenrecorder 0.3.9-1

Modified:
  simplescreenrecorder/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-17 17:25:47 UTC (rev 283747)
+++ PKGBUILD	2018-01-17 17:50:07 UTC (rev 283748)
@@ -3,7 +3,7 @@
 # Contributor: Maarten Baert
 
 pkgname=simplescreenrecorder
-pkgver=0.3.8
+pkgver=0.3.9
 pkgrel=1
 pkgdesc="A feature-rich screen recorder that supports X11 and OpenGL."
 arch=("x86_64")
@@ -15,7 +15,7 @@
     "libx11" "libxext" "libxfixes" "libxi"
     "desktop-file-utils" "gtk-update-icon-cache")
 optdepends=("lib32-simplescreenrecorder: OpenGL recording of 32-bit applications")
-makedepends=("git")
+makedepends=("git" "cmake")
 source=("git+https://github.com/MaartenBaert/ssr.git#tag=$pkgver")
 md5sums=("SKIP")
 
@@ -22,15 +22,22 @@
 options=("!libtool")
 install=simplescreenrecorder.install
 
+prepare() {
+  cd ssr
+  mkdir -p build
+}
+
 build() {
-  cd ssr
+  cd ssr/build
   # fPIC is only required for qt5 + gcc5
   #CXXFLAGS="$CXXFLAGS -fPIC"
   #./configure --prefix=/usr --disable-assert --with-qt5
-  ./configure --prefix=/usr --disable-assert
+  #./configure --prefix=/usr --disable-assert
+  cmake -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_LIBDIR='lib' ../
   make
 }
 package() {
-  cd ssr
+  cd ssr/build
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list