Skip to content

Commit 1dfc026

Browse files
committed
Update recipe for liblsl 1.17.7
1 parent 8ca6c27 commit 1dfc026

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

Formula/lsl.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
class Lsl < Formula
22
desc "Library for multi-modal time-synched data transmission over the network"
33
homepage "https://labstreaminglayer.readthedocs.io/"
4-
url "https://github.com/sccn/liblsl/archive/refs/tags/v1.17.4.tar.gz"
5-
sha256 "43720576b6a568923a68de8f37e894c0e583ff07ed219d3f5121a3a45f009c7b"
4+
url "https://github.com/sccn/liblsl/archive/refs/tags/v1.17.7.tar.gz"
5+
sha256 "19604fb1b30c753457e8bf1430341d84012834c0cf8d2ca921e8151d31220df9"
66
license "MIT"
77
head "https://github.com/sccn/liblsl.git", branch: "main"
88

99
depends_on "cmake" => :build
10+
depends_on "pugixml"
1011

1112
def install
1213
args = %W[
1314
-DLSL_FRAMEWORK=ON
1415
-DCMAKE_INSTALL_FRAMEWORK_DIR=#{frameworks}
16+
-DLSL_FETCH_PUGIXML=OFF
1517
]
1618
system "cmake", "-S", ".", "-B", "build", *std_cmake_args, *args
1719
system "cmake", "--build", "build", "--target", "install", "--config", "Release", "-j"

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,9 @@ Or `brew tap labstreaminglayer/tap` and then `brew install <formula>`.
99
## Documentation
1010

1111
`brew help`, `man brew` or check [Homebrew's documentation](https://docs.brew.sh).
12+
13+
## Developers
14+
15+
Update the tar.gz URL, then download the file and calculate the sha sum:
16+
17+
`curl -sL https://github.com/sccn/liblsl/archive/refs/tags/v1.17.7.tar.gz | shasum -a 256`

0 commit comments

Comments
 (0)