summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD2
2 files changed, 5 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1979e0f06ce..2ec6bce26a1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,6 +5,9 @@ pkgbase = deepin-nvidia-prime-git
url = https://github.com/linuxdeepin/nvidia-prime
arch = x86_64
license = GPL3
+ depends = nvidia
+ conflicts = bumblebee
+ conflicts = primus
options = debug
source = git+https://github.com/linuxdeepin/nvidia-prime.git
sha512sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index f8763acb9f7..8df078a16fe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,6 +8,8 @@ pkgdesc='nvidia prime for deepin'
arch=('x86_64')
url="https://github.com/linuxdeepin/nvidia-prime"
license=('GPL3')
+depends=('nvidia')
+conflicts=('bumblebee' 'primus')
options=('debug')
source=("git+https://github.com/linuxdeepin/nvidia-prime.git")
sha512sums=('SKIP')