summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Exequiel Pedone2016-12-03 23:59:26 -0300
committerGonzalo Exequiel Pedone2016-12-03 23:59:26 -0300
commit9b66398726d58a427b6d5442ecd1a670d6c68543 (patch)
tree44ca4d2fc7d25862a94c619b01dbaec810024800
parent064e6acd37ee4ebc451722de94a722116f150da0 (diff)
downloadaur-9b66398726d58a427b6d5442ecd1a670d6c68543.tar.gz
Added options for selecting preferred libraries and frameworks.
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD30
-rw-r--r--webcamoid.install13
3 files changed, 40 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4a20a73c25f..be7032ba6e7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,29 @@
# Generated by mksrcinfo v8
-# mar nov 22 18:25:11 UTC 2016
+# dom dic 4 02:53:31 UTC 2016
pkgbase = webcamoid-git
pkgdesc = Webcamoid is a full featured webcam capture application.
- pkgver = 7.2.1.r63.g12002ec
+ pkgver = 7.2.1.r81.g5d28278
pkgrel = 1
url = https://webcamoid.github.io/
+ install = webcamoid.install
arch = i686
arch = x86_64
arch = armv6h
license = GPL
makedepends = git
makedepends = qt5-tools
+ makedepends = ffmpeg
+ makedepends = gst-plugins-base-libs
depends = qt5-quickcontrols
depends = qt5-svg
depends = libpulse
depends = v4l-utils
- depends = ffmpeg
optdepends = v4l2loopback-dkms: Virtual camera support
+ optdepends = ffmpeg: Video playing/recording/conversion (Recommended)
+ optdepends = gst-plugins-base: Video playing/recording/conversion
+ optdepends = gst-plugins-good: Video playing/recording/conversion
+ optdepends = gst-plugins-bad: Video playing/recording/conversion
+ optdepends = gst-plugins-ugly: Video playing/recording/conversion
provides = webcamoid
source = git://github.com/webcamoid/webcamoid.git
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index c5d739dce15..79aed1bf128 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,24 +2,28 @@
pkgrealname=webcamoid
pkgname=webcamoid-git
-pkgver=7.2.1.r63.g12002ec
+pkgver=7.2.1.r81.g5d28278
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-svg' 'libpulse' 'v4l-utils' 'ffmpeg')
-# Enable this lines if you want to use GStreamer instead of FFmpeg.
-# WARNING: GStreamer support is experimental.
-#depends=('qt5-quickcontrols' 'qt5-svg' 'libpulse' 'v4l-utils' 'gst-plugins-base-libs')
-optdepends=('v4l2loopback-dkms: Virtual camera support')
-#optdepends=('v4l2loopback-dkms: Virtual camera support'
-# 'gst-plugins-base'
-# 'gst-plugins-good'
-# 'gst-plugins-bad'
-# 'gst-plugins-ugly')
-makedepends=('git' 'qt5-tools')
+depends=('qt5-quickcontrols'
+ 'qt5-svg'
+ 'libpulse'
+ 'v4l-utils')
+optdepends=('v4l2loopback-dkms: Virtual camera support'
+ 'ffmpeg: Video playing/recording/conversion (Recommended)'
+ 'gst-plugins-base: Video playing/recording/conversion'
+ 'gst-plugins-good: Video playing/recording/conversion'
+ 'gst-plugins-bad: Video playing/recording/conversion'
+ 'gst-plugins-ugly: Video playing/recording/conversion')
+makedepends=('git'
+ 'qt5-tools'
+ 'ffmpeg'
+ 'gst-plugins-base-libs')
provides=('webcamoid')
+install="${pkgrealname}.install"
source=("git://github.com/${pkgrealname}/${pkgrealname}.git")
md5sums=('SKIP')
@@ -34,7 +38,7 @@ pkgver() {
build() {
cd "$srcdir/${pkgrealname}"
- qmake-qt5 Webcamoid.pro #USE_GSTREAMER=1
+ qmake-qt5 Webcamoid.pro
make
}
diff --git a/webcamoid.install b/webcamoid.install
new file mode 100644
index 00000000000..29e9b636041
--- /dev/null
+++ b/webcamoid.install
@@ -0,0 +1,13 @@
+post_install() {
+ cat << EOF
+
+Webcamoid requires at least one of the packages from each of the
+following groups to be installed for fully functioning.
+
+Codec frameworks:
+
+ - ffmpeg (RECOMMENDED)
+ - gst-plugins-base-libs
+
+ EOF
+}