Skip to content

Commit

Permalink
openjazz 20240919
Browse files Browse the repository at this point in the history
autobump: add openjazz

Signed-off-by: Rui Chen <rui@chenrui.dev>

openjazz: remove build patch and update test

Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
chenrui333 committed Sep 19, 2024
1 parent ef97324 commit 916f63a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1986,6 +1986,7 @@ openh264
openimageio
openiothub-server
openj9
openjazz
openjdk
openjdk@11
openjdk@17
Expand Down
7 changes: 3 additions & 4 deletions Formula/o/openjazz.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Openjazz < Formula
desc "Open source Jazz Jackrabit engine"
homepage "https://www.alister.eu/jazz/oj/"
url "https://github.com/AlisterT/openjazz/archive/refs/tags/20231028.tar.gz"
sha256 "c45ff414dc846563ad7ae4b6c848f938ab695eb4ae6f958856b3fa409da0b8ac"
url "https://github.com/AlisterT/openjazz/archive/refs/tags/20240919.tar.gz"
sha256 "c50193b630c375840026d729bb9dda6c7210b1523e62d7ae019ce2e37f806627"
license "GPL-2.0-only"
head "https://github.com/AlisterT/openjazz.git", branch: "master"

Expand Down Expand Up @@ -33,8 +33,6 @@ class Openjazz < Formula
end

def install
# see https://github.com/AlisterT/openjazz/pull/100, can be removed once merged
inreplace "ext/psmplug/stdafx.h", "#include <malloc.h>", ""
system "cmake", "-S", ".", "-B", "build", "-DDATAPATH=#{pkgshare}", *std_cmake_args
system "cmake", "--build", "build"
system "cmake", "--install", "build"
Expand All @@ -54,5 +52,6 @@ def caveats

test do
system bin/"OpenJazz", "--version"
assert_predicate testpath/"openjazz.log", :exist?
end
end

0 comments on commit 916f63a

Please sign in to comment.