summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Exequiel Pedone2021-04-21 19:38:40 -0300
committerGonzalo Exequiel Pedone2021-04-21 19:38:40 -0300
commitb1bb7913e79095900344f4815557b38f781b247f (patch)
tree12f7c046da06a1893ca3e072846d710c43a11099
parentb56e943375c00cced53de90e4c0a6eba8848e561 (diff)
downloadaur-webcamoid-git.tar.gz
Webcamoid now use cmake.
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD27
2 files changed, 22 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 38ef504164c..84f2aa90ac4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = webcamoid-git
pkgdesc = Webcamoid is a full featured webcam capture application.
- pkgver = 8.7.1.r412.g0724e8e3
+ pkgver = 8.7.1.r483.g8bc5dc89
pkgrel = 1
url = https://webcamoid.github.io/
install = webcamoid.install
@@ -8,17 +8,16 @@ pkgbase = webcamoid-git
arch = x86_64
arch = armv6h
license = GPL
- makedepends = git
- makedepends = v4l-utils
- makedepends = qt5-tools
- makedepends = qt5-multimedia
+ makedepends = alsa-lib
+ makedepends = cmake
makedepends = ffmpeg
+ makedepends = git
makedepends = gst-plugins-base-libs
- makedepends = libpulse
- makedepends = alsa-lib
makedepends = jack
+ makedepends = libpulse
makedepends = libuvc
- depends = qt5-quickcontrols
+ makedepends = qt5-tools
+ makedepends = v4l-utils
depends = qt5-quickcontrols2
depends = qt5-svg
optdepends = v4l-utils: Extra formats support for webcams
diff --git a/PKGBUILD b/PKGBUILD
index d8e7e939d3d..e2b73de25b4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,13 @@
pkgrealname=webcamoid
pkgname=webcamoid-git
-pkgver=8.7.1.r412.g0724e8e3
+pkgver=8.7.1.r483.g8bc5dc89
pkgrel=1
pkgdesc="Webcamoid is a full featured webcam capture application."
url='https://webcamoid.github.io/'
license=('GPL')
arch=('i686' 'x86_64' 'armv6h')
-depends=('qt5-quickcontrols'
- 'qt5-quickcontrols2'
+depends=('qt5-quickcontrols2'
'qt5-svg')
optdepends=('v4l-utils: Extra formats support for webcams'
'akvcam-dkms-git: Virtual camera support (Recommended)'
@@ -28,16 +27,16 @@ optdepends=('v4l-utils: Extra formats support for webcams'
'gksu: Root privileges for virtual camera module'
'gtksu-git: Root privileges for virtual camera module'
'kdesudo: Root privileges for virtual camera module')
-makedepends=('git'
- 'v4l-utils'
- 'qt5-tools'
- 'qt5-multimedia'
+makedepends=('alsa-lib'
+ 'cmake'
'ffmpeg'
+ 'git'
'gst-plugins-base-libs'
- 'libpulse'
- 'alsa-lib'
'jack'
- 'libuvc')
+ 'libpulse'
+ 'libuvc'
+ 'qt5-tools'
+ 'v4l-utils')
provides=('webcamoid')
conflicts=('webcamoid')
install="${pkgrealname}.install"
@@ -55,11 +54,15 @@ pkgver() {
build() {
cd "$srcdir/${pkgrealname}"
- qmake-qt5 Webcamoid.pro CONFIG+=silent DAILY_BUILD=1
+ cmake \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DDAILY_BUILD=1 \
+ .
make $MAKEFLAGS
}
package() {
cd "$srcdir/${pkgrealname}"
- make INSTALL_ROOT="${pkgdir}" install
+ make DESTDIR="${pkgdir}" install
}