summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaarten Baert2017-09-05 01:04:54 +0200
committerMaarten Baert2017-09-05 01:04:54 +0200
commit53c9236795ef3dd5a5f38b0c44f4ba701b9cad72 (patch)
treead47f4be10af278ce8652a6ae6ba1a3df4bace6d
parentb908f598cba12c892c154674bd2a5abcd4d0eb64 (diff)
downloadaur-53c9236795ef3dd5a5f38b0c44f4ba701b9cad72.tar.gz
Switch to cmake.
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 21eed8bcedf..e570b96a7f2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by makepkg 5.0.1
-# Sat Oct 15 23:50:32 UTC 2016
pkgbase = simplescreenrecorder-git
pkgdesc = A feature-rich screen recorder that supports X11 and OpenGL. (Git version)
- pkgver = 0.0.0
+ pkgver = 0.3.8.r89.g2edb032
pkgrel = 1
url = http://www.maartenbaert.be/simplescreenrecorder/
install = simplescreenrecorder-git.install
@@ -10,6 +8,7 @@ pkgbase = simplescreenrecorder-git
arch = x86_64
license = GPL3
makedepends = git
+ makedepends = cmake
depends = qt4
depends = ffmpeg
depends = alsa-lib
@@ -24,7 +23,6 @@ pkgbase = simplescreenrecorder-git
optdepends = lib32-simplescreenrecorder-git: OpenGL recording of 32-bit applications
provides = simplescreenrecorder
conflicts = simplescreenrecorder
- options = !libtool
source = git+https://github.com/MaartenBaert/ssr.git
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 29c37d52e26..62b188445b4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname=simplescreenrecorder-git
-pkgver=0.0.0
+pkgver=0.3.8.r89.g2edb032
pkgrel=1
pkgdesc="A feature-rich screen recorder that supports X11 and OpenGL. (Git version)"
arch=("i686" "x86_64")
@@ -11,10 +11,9 @@ depends=("qt4" "ffmpeg" "alsa-lib" "libpulse" "jack" "libgl" "glu" "libx11" "lib
if test "$CARCH" == x86_64; then
optdepends=("lib32-simplescreenrecorder-git: OpenGL recording of 32-bit applications")
fi
-makedepends=("git")
+makedepends=("git" "cmake")
conflicts=("simplescreenrecorder")
provides=("simplescreenrecorder")
-options=("!libtool")
install=simplescreenrecorder-git.install
pkgver() {
@@ -24,7 +23,7 @@ pkgver() {
}
build() {
cd "${srcdir}/ssr"
- ./configure --prefix=/usr --disable-assert
+ cmake -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_LIBDIR="/usr/lib" -DCMAKE_BUILD_TYPE=Release .
make
}
package() {