diff options
author | Slávek Banko <[email protected]> | 2019-06-29 12:51:05 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-06-29 12:51:34 +0200 |
commit | 9a9e66a3568d96da571e1f5743faecb107df7a9c (patch) | |
tree | 0b801ed7b051ba2ca5228a6d27faf285cb4ca642 /ubuntu/_base/applications/kima/debian/rules | |
parent | 8bb18621b7b62ef46fda3b24483e28baaaf9d1eb (diff) | |
download | tde-packaging-9a9e66a3568d96da571e1f5743faecb107df7a9c.tar.gz tde-packaging-9a9e66a3568d96da571e1f5743faecb107df7a9c.zip |
DEB kima: Build nvidia support only for amd64 and i386.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 93cb16b7a2ae2dc1daac2bf54efd7db89d97a420)
Diffstat (limited to 'ubuntu/_base/applications/kima/debian/rules')
-rwxr-xr-x | ubuntu/_base/applications/kima/debian/rules | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ubuntu/_base/applications/kima/debian/rules b/ubuntu/_base/applications/kima/debian/rules index cee2a3058..5598f7f9f 100755 --- a/ubuntu/_base/applications/kima/debian/rules +++ b/ubuntu/_base/applications/kima/debian/rules @@ -7,6 +7,8 @@ include debian/cdbs/debian-tde.mk DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) +WITH_NVCONTROL = $(if $(filter $(DEB_HOST_ARCH_CPU),amd64 i386),ON,OFF) + DEB_CMAKE_EXTRA_FLAGS := \ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ @@ -16,4 +18,5 @@ DEB_CMAKE_EXTRA_FLAGS := \ -DCMAKE_VERBOSE_MAKEFILE="ON" \ -DCMAKE_SKIP_RPATH="OFF" \ -DBUILD_ALL="ON" \ - -DWITH_ALL_OPTIONS="ON" + -DWITH_ALL_OPTIONS="ON" \ + -DWITH_NVCONTROL="$(WITH_NVCONTROL)" |