summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosip Ponjavic2017-06-04 00:47:12 +0200
committerJosip Ponjavic2017-06-04 00:47:12 +0200
commit03a5151abb1e9b91e20248a0142f6400c380181c (patch)
treea23db0852f9375ed18c72dea15b3a32e3e6fc462
parent3f1b8ed5eb1f5b81390bd96895a30e130a3df7f1 (diff)
downloadaur-03a5151abb1e9b91e20248a0142f6400c380181c.tar.gz
add optional dependencies
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
2 files changed, 4 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 12c64f1586d5..fc19f08765eb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -10,6 +10,8 @@ pkgbase = mpc-qt-git
makedepends = qt5-tools
depends = mpv
depends = qt5-x11extras
+ optdepends = libva-vdpau-driver: backend for Nvidia and AMD cards
+ optdepends = libva-intel-driver: backend for Intel cards
provides = mpc-qt
conflicts = mpc-qt
source = git+https://github.com/cmdrkotori/mpc-qt.git
diff --git a/PKGBUILD b/PKGBUILD
index 1fee8c40a121..6717dfe02a9e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,6 +10,8 @@ arch=('i686' 'x86_64')
license=('GPL2')
depends=('mpv' 'qt5-x11extras')
makedepends=('git' 'qt5-tools')
+optdepends=('libva-vdpau-driver: backend for Nvidia and AMD cards'
+ 'libva-intel-driver: backend for Intel cards')
provides=('mpc-qt')
conflicts=('mpc-qt')
source=("git+${url}.git"