[gnome-build-meta/valentindavid/git-lfs: 2/2] Add git lfs in development tree




commit d2b981b0bca0965b59090d145e06b35b0e6971e1
Author: Valentin David <valentin david codethink co uk>
Date:   Mon Aug 17 10:26:27 2020 +0200

    Add git lfs in development tree

 elements/vm/deps-devel.bst |  1 +
 elements/vm/git-lfs.bst    | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)
---
diff --git a/elements/vm/deps-devel.bst b/elements/vm/deps-devel.bst
index 4342177a..705f5f84 100644
--- a/elements/vm/deps-devel.bst
+++ b/elements/vm/deps-devel.bst
@@ -7,4 +7,5 @@ runtime-depends:
 - vm/initramfs.bst
 - vm/buildstream/buildstream.bst
 - vm/buildstream/bst-external.bst
+- vm/git-lfs.bst
 - freedesktop-sdk.bst:components/podman.bst
diff --git a/elements/vm/git-lfs.bst b/elements/vm/git-lfs.bst
new file mode 100644
index 00000000..a6f36220
--- /dev/null
+++ b/elements/vm/git-lfs.bst
@@ -0,0 +1,33 @@
+kind: make
+
+sources:
+- kind: tar
+  url: github_com:git-lfs/git-lfs/releases/download/v2.11.0/git-lfs-v2.11.0.tar.gz
+
+build-depends:
+- freedesktop-sdk.bst:components/go.bst
+- freedesktop-sdk.bst:components/which.bst
+
+depends:
+- freedesktop-sdk.bst:components/git.bst
+
+variables:
+  optimize-debug: "false"
+
+environment:
+  MAKEFLAGS: -j%{max-jobs}
+  GO111MODULE: on
+  GOFLAGS: -mod=vendor
+  LDFLAGS: ''
+
+config:
+  build-commands:
+  - make VERSION=v2.11.0
+
+  install-commands:
+  - install -Dm755 -t "%{install-root}%{bindir}" bin/git-lfs
+
+public:
+  bst:
+    integration-commands:
+    - git lfs install --system


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]