diff options
author | JP-Ellis | 2022-04-10 23:16:48 +1000 |
---|---|---|
committer | GitHub | 2022-04-10 15:16:48 +0200 |
commit | 112e1c7437221adb7bc971f749d064696b20a46f (patch) | |
tree | 04fef8877b84c2f90c3fdd548bedb5afb168a086 /PKGBUILD | |
parent | 0bdde0a35e42ca9020ef592ab44a545b603eee74 (diff) | |
download | aur-112e1c7437221adb7bc971f749d064696b20a46f.tar.gz |
upgpkg: mivisionx 5.1.0-1 (#690)
* upgpkg: mivisionx 5.1.0-1
Signed-off-by: JP-Ellis <josh@jpellis.me>
* Add Torsten as maintainer
Co-authored-by: Akash Patel <17132214+acxz@users.noreply.github.com>
Co-authored-by: Akash Patel <17132214+acxz@users.noreply.github.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 14 insertions, 8 deletions
@@ -1,22 +1,27 @@ -# Maintainer: acxz <akashpatel2008 at yahoo dot com> +# Maintainer: Torsten Keßler <t dot kessler at posteo dot de> +# Contributor: acxz <akashpatel2008 at yahoo dot com> +# Contributer: JP-Ellis <josh@jpellis.me> + pkgname=mivisionx -pkgver=3.10.0 +pkgver=5.1.0 pkgrel=1 -pkgdesc="Set of comprehensive computer vision and machine intelligence -libraries, utilities, and applications bundled into a single toolkit" +pkgdesc="Set of comprehensive computer vision and machine intelligence libraries, utilities, and applications bundled into a single toolkit" arch=('x86_64') url="https://gpuopen-professionalcompute-libraries.github.io/MIVisionX/" license=('MIT') -depends=('rocm' 'rocm-cmake' 'miopengemm' 'miopen' 'protobuf' 'opencv' 'ffmpeg') +depends=('rocm-core' 'rocm-cmake' 'miopengemm' 'miopen' 'protobuf' 'opencv' 'ffmpeg4.4') makedepends=('cmake') source=("$pkgname-$pkgver.tar.gz::https://github.com/GPUOpen-ProfessionalCompute-Libraries/MIVisionX/archive/rocm-$pkgver.tar.gz") -sha256sums=('8a67fae77a05ef60a501e64a572a7bd2ccb9243518b1414112ccd1d1f78d08c8') +sha256sums=('e082415cc2fb859c53a6d6e5d72ca4529f6b4d56a4abe274dc374faaa5910513') build() { mkdir -p "$srcdir/build" cd "$srcdir/build" - cmake -DCMAKE_INSTALL_PREFIX=/opt/rocm/mivisionx \ + export CXXFLAGS="${CXXFLAGS} -fcf-protection=none -fPIC -isystem /usr/include/ffmpeg4.4" + + cmake -DBACKEND=HIP \ + -DCMAKE_INSTALL_PREFIX=/opt/rocm/mivisionx \ "$srcdir/MIVisionX-rocm-$pkgver" make } @@ -29,7 +34,8 @@ package() { # add links install -d "$pkgdir/usr/bin" local _fn - for _fn in mivisionx; do + for _file in bin/* ; do + _fn="$(basename -- $_file)" ln -s "/opt/rocm/mivisionx/bin/$_fn" "$pkgdir/usr/bin/$_fn" done } |