Skip to content

Commit b1c8f53

Browse files
committed
zint 2.14.0
autobump: add zint Signed-off-by: Rui Chen <[email protected]> zint: update build Signed-off-by: Rui Chen <[email protected]>
1 parent 23a8b3c commit b1c8f53

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/autobump.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3622,6 +3622,7 @@ zfind
36223622
zig
36233623
zigmod
36243624
zim
3625+
zint
36253626
zipkin
36263627
zix
36273628
zizmor

Formula/z/zint.rb

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Zint < Formula
22
desc "Barcode encoding library supporting over 50 symbologies"
33
homepage "https://www.zint.org.uk/"
4-
url "https://downloads.sourceforge.net/project/zint/zint/2.13.0/zint-2.13.0-src.tar.gz"
5-
sha256 "0e957cf17c3eeb4ad619b2890d666d12a5c7adc7e7c39c207739b0f4f5c65fa2"
4+
url "https://downloads.sourceforge.net/project/zint/zint/2.14.0/zint-2.14.0-src.tar.gz"
5+
sha256 "5ceb8a169a315402a99a2493ea42f7b832cf7aea0051da9beaddfbf7e2e64a07"
66
license "GPL-3.0-or-later"
77
head "https://git.code.sf.net/p/zint/code.git", branch: "master"
88

@@ -26,10 +26,7 @@ class Zint < Formula
2626
depends_on "libpng"
2727

2828
def install
29-
# Sandbox fix: install FindZint.cmake in zint's prefix, not cmake's.
30-
inreplace "CMakeLists.txt", "${CMAKE_ROOT}", "#{share}/cmake"
31-
32-
system "cmake", "-S", ".", "-B", "build", *std_cmake_args
29+
system "cmake", "-S", ".", "-B", "build", "-DCMAKE_INSTALL_RPATH=#{rpath}", *std_cmake_args
3330
system "cmake", "--build", "build"
3431
system "cmake", "--install", "build"
3532
end

0 commit comments

Comments
 (0)