[packages/gnome-tour] - trying more

qboosh qboosh at pld-linux.org
Sat Apr 24 19:14:22 CEST 2021


commit 2cbe506fa95b9af020b0dff2598638fc866148b2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Apr 24 19:15:56 2021 +0200

    - trying more

 gnome-tour-x32.patch | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/gnome-tour-x32.patch b/gnome-tour-x32.patch
index 0d37cbb..75d0162 100644
--- a/gnome-tour-x32.patch
+++ b/gnome-tour-x32.patch
@@ -4,9 +4,8 @@
  
  export MESON_BUILD_ROOT="$1"
  export MESON_SOURCE_ROOT="$2"
--export CARGO_TARGET_DIR="$MESON_BUILD_ROOT"/target
 +export CARGO_TARGET_OPT="--target x86_64-unknown-linux-gnux32"
-+export CARGO_TARGET_DIR="$MESON_BUILD_ROOT"/target/x86_64-unknown-linux-gnux32
+ export CARGO_TARGET_DIR="$MESON_BUILD_ROOT"/target
  export CARGO_HOME="$CARGO_TARGET_DIR"/cargo-home
  FEATURES="$6"
  
@@ -17,11 +16,13 @@
 -    cargo build --manifest-path \
 +    cargo build $CARGO_TARGET_OPT --manifest-path \
          "$MESON_SOURCE_ROOT"/Cargo.toml $FEATURES && \
-         cp "$CARGO_TARGET_DIR"/debug/$5 $3
+-        cp "$CARGO_TARGET_DIR"/debug/$5 $3
++        cp "$CARGO_TARGET_DIR"/debug/x86_64-unknown-linux-gnux32/$5 $3
  else
      echo "RELEASE MODE"
 -    cargo build --manifest-path \
 +    cargo build $CARGO_TARGET_OPT --manifest-path \
          "$MESON_SOURCE_ROOT"/Cargo.toml $FEATURES --release && \
-         cp "$CARGO_TARGET_DIR"/release/$5 $3
+-        cp "$CARGO_TARGET_DIR"/release/$5 $3
++        cp "$CARGO_TARGET_DIR"/release/x86_64-unknown-linux-gnux32/$5 $3
  fi
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gnome-tour.git/commitdiff/2cbe506fa95b9af020b0dff2598638fc866148b2



More information about the pld-cvs-commit mailing list