summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbartus2021-03-10 10:16:23 +0100
committerbartus2021-03-10 10:16:23 +0100
commit5b5b40edb241b05615b9666118feac82c9dc7a84 (patch)
treec0372c977532f67aea4e8e24adb67358d5b66920
parentae5fba02b5e1fffc6632a2ea2ebda05115380c0b (diff)
downloadaur-5b5b40edb241b05615b9666118feac82c9dc7a84.tar.gz
Revert "Temporary drop libcudart.so from depends array"
This reverts commit ae5fba02b5e1fffc6632a2ea2ebda05115380c0b.
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a62836c3a74..75a5a31c268 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -10,8 +10,8 @@ pkgbase = popsift
makedepends = boost
makedepends = cmake
makedepends = git
- makedepends = expac
makedepends = cuda>=7.0
+ makedepends = expac
source = popsift::git+https://github.com/alicevision/popsift.git
sha256sums = SKIP
@@ -24,5 +24,6 @@ pkgname = popsift
pkgname = popsift-libs
depends = boost-libs>=1.55
+ depends = libcudart.so
provides = popsift-libs=1.0.0
diff --git a/PKGBUILD b/PKGBUILD
index 6634e22d3e9..307f2e08d98 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -54,13 +54,13 @@ package_popsift() {
_cuda_version=$(expac -Q '%v' cuda)
_cuda_version=${_cuda_version%-[0-9]*}
depends=('boost' "popsift-libs=${pkgver}" "cuda${_cuda_version:+=$_cuda_version}")
+ optdepend=('cuda: for static cudart library')
options=('staticlibs')
make -C "$srcdir/build_static" DESTDIR="${pkgdir}" install
}
package_popsift-libs() {
- depends=('boost-libs>=1.55') # 'libcudart.so')
- optdepend=('cuda: for static cudart library')
+ depends=('boost-libs>=1.55' 'libcudart.so')
provides=("popsift-libs=${pkgver}")
cd
make -C "${srcdir}/build_shared" DESTDIR="${pkgdir}" install