diff options
author | Maarten Baert | 2018-05-21 16:30:30 +0200 |
---|---|---|
committer | Maarten Baert | 2018-05-21 16:30:30 +0200 |
commit | 9f16b1802af564d625b147591401a0c70f952fb8 (patch) | |
tree | a6344e621c64878de37c9fe318ea0e0cde542599 | |
parent | 6c25d3d55ff46958fc0fa5ba84ee051352b3d0b7 (diff) | |
download | aur-9f16b1802af564d625b147591401a0c70f952fb8.tar.gz |
Switch to Qt5.
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 25 insertions, 16 deletions
@@ -1,15 +1,16 @@ pkgbase = simplescreenrecorder-git pkgdesc = A feature-rich screen recorder that supports X11 and OpenGL. (Git version) - pkgver = 0.3.8.r89.g2edb032 + pkgver = 0.3.10.r21.g00decd5 pkgrel = 1 url = http://www.maartenbaert.be/simplescreenrecorder/ install = simplescreenrecorder-git.install - arch = i686 arch = x86_64 license = GPL3 makedepends = git makedepends = cmake - depends = qt4 + makedepends = qt5-tools + depends = qt5-base + depends = qt5-x11extras depends = ffmpeg depends = alsa-lib depends = libpulse @@ -17,9 +18,11 @@ pkgbase = simplescreenrecorder-git depends = libgl depends = glu depends = libx11 - depends = libxfixes depends = libxext + depends = libxfixes depends = libxi + depends = desktop-file-utils + depends = gtk-update-icon-cache optdepends = lib32-simplescreenrecorder-git: OpenGL recording of 32-bit applications provides = simplescreenrecorder conflicts = simplescreenrecorder @@ -1,34 +1,40 @@ # Maintainer: Maarten Baert <maarten-baert@hotmail.com> pkgname=simplescreenrecorder-git -pkgver=0.3.8.r89.g2edb032 +pkgver=0.3.10.r21.g00decd5 pkgrel=1 pkgdesc="A feature-rich screen recorder that supports X11 and OpenGL. (Git version)" -arch=("i686" "x86_64") +arch=("x86_64") url="http://www.maartenbaert.be/simplescreenrecorder/" license=("GPL3") +depends=("qt5-base" "qt5-x11extras" + "ffmpeg" "alsa-lib" "libpulse" "jack" "libgl" "glu" + "libx11" "libxext" "libxfixes" "libxi" + "desktop-file-utils" "gtk-update-icon-cache") +optdepends=("lib32-simplescreenrecorder-git: OpenGL recording of 32-bit applications") +makedepends=("git" "cmake" "qt5-tools") source=("git+https://github.com/MaartenBaert/ssr.git") md5sums=("SKIP") -depends=("qt4" "ffmpeg" "alsa-lib" "libpulse" "jack" "libgl" "glu" "libx11" "libxfixes" "libxext" "libxi") -if test "$CARCH" == x86_64; then - optdepends=("lib32-simplescreenrecorder-git: OpenGL recording of 32-bit applications") -fi -makedepends=("git" "cmake") conflicts=("simplescreenrecorder") provides=("simplescreenrecorder") + install=simplescreenrecorder-git.install pkgver() { - cd "${srcdir}/ssr" + cd ssr # Use the tag of the last commit git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g' } +prepare() { + cd ssr + mkdir -p build +} build() { - cd "${srcdir}/ssr" - cmake -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_LIBDIR="/usr/lib" -DCMAKE_BUILD_TYPE=Release . + cd ssr/build + cmake -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_BUILD_TYPE=Release -DWITH_QT5=TRUE .. make } package() { - cd "${srcdir}/ssr" - make DESTDIR="${pkgdir}" install + cd ssr/build + make DESTDIR="$pkgdir" install } |