aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2024-05-02 06:12:30 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-05-04 21:45:13 +0700
commit2b25e7479c1c9005c8a45dd4e397904433ad4821 (patch)
treea181f836b0f9374221538fa0471a882915afed1b /graphics
parent8a4fffaaee11983a2535fc300d5c5f41a21ca73f (diff)
graphics/veles: Require updated rust for 32bit build.
This build requires network access and currently when building on 32bit it pulls a version of python cryptography that requires a newer rust than the one included in 15.0. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/veles/README2
-rw-r--r--graphics/veles/veles.SlackBuild9
-rw-r--r--graphics/veles/veles.info2
3 files changed, 11 insertions, 2 deletions
diff --git a/graphics/veles/README b/graphics/veles/README
index 67aa361a89837..b1b2d4b1792a2 100644
--- a/graphics/veles/README
+++ b/graphics/veles/README
@@ -10,3 +10,5 @@ binary data - all at a glance.
Warning: This SlackBuild requires network access when it runs, meaning
it downloads files from the Internet with root access. YMMV on whether
this is a good idea.
+
+NOTE: Upstream project is now archived
diff --git a/graphics/veles/veles.SlackBuild b/graphics/veles/veles.SlackBuild
index 058d5f6a292a4..bcaf3c427aaeb 100644
--- a/graphics/veles/veles.SlackBuild
+++ b/graphics/veles/veles.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=veles
VERSION=${VERSION:-2018.05.0.TIF}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,6 +79,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+export PATH="/opt/rust16/bin:$PATH"
+if [ -z "$LD_LIBRARY_PATH" ]; then
+ export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX"
+else
+ export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH"
+fi
+
mkdir -p build
cd build
cmake \
diff --git a/graphics/veles/veles.info b/graphics/veles/veles.info
index 5fda33da35195..cd8cd095b7f90 100644
--- a/graphics/veles/veles.info
+++ b/graphics/veles/veles.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/codilime/veles/archive/2018.05.0.TIF/veles-2018.05.
MD5SUM="f10259c5d85700f45e36b629090efed7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="msgpack-c"
+REQUIRES="msgpack-c rust16"
MAINTAINER="Fernando Lopez Jr."
EMAIL="fernando.lopezjr@gmail.com"