Skip to content

Commit

Permalink
Merge pull request #209081 from Homebrew/bump-libgit2-glib-1.2.1
Browse files Browse the repository at this point in the history
libgit2-glib 1.2.1
  • Loading branch information
BrewTestBot authored Feb 27, 2025
2 parents 1c89a43 + c9e735b commit 935e7ed
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 22 deletions.
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1814,6 +1814,7 @@ libgee
libgeotiff
libgetdata
libgit2
libgit2-glib
[email protected]
libgpg-error
libgr
Expand Down
30 changes: 8 additions & 22 deletions Formula/lib/libgit2-glib.rb
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
class Libgit2Glib < Formula
desc "Glib wrapper library around libgit2 git access library"
homepage "https://gitlab.gnome.org/GNOME/libgit2-glib"
url "https://gitlab.gnome.org/GNOME/libgit2-glib/-/archive/v1.2.0/libgit2-glib-v1.2.0.tar.bz2"
sha256 "421ac5c99e02c5b6235842e60eb7f9fa8dc580d2500fb1eb521ced8a22de9f29"
url "https://gitlab.gnome.org/GNOME/libgit2-glib/-/archive/v1.2.1/libgit2-glib-v1.2.1.tar.bz2"
sha256 "e15d98cf15cd9dc8aaae8a11ab44f51f3a0da3ad4ace80ede3831c934e1897d7"
license "LGPL-2.1-only"
revision 4
head "https://gitlab.gnome.org/GNOME/libgit2-glib.git", branch: "master"

bottle do
sha256 cellar: :any, arm64_sequoia: "a0185be8ea66d71580b5eeb82b5417f9563c37ce4b12ddae075395c1347501a4"
sha256 cellar: :any, arm64_sonoma: "8569ef1c3abb80763bd596308e7aaf17a51d5f642a3166f9c2231581198b54c0"
sha256 cellar: :any, arm64_ventura: "c9bbaac6aecfaf70a9ab0005ed14c5e7437efd5d521b97b27275878360a8bf9f"
sha256 cellar: :any, sonoma: "3c4ecaa523d209e3e37100f9f91f9e2e5adfd52d15fd78c48a3aaca2135d8f9d"
sha256 cellar: :any, ventura: "af630b4af55f3493cffcab70d7ce8e538f608af504ed2f83468de616d0ce8bb6"
sha256 x86_64_linux: "1c163d0e7768610588c54ed99bd28109b312933ce5154d826a29a364027e9bdf"
sha256 cellar: :any, arm64_sequoia: "627c83def62678ab65731f86805ddc7bc12150d9d9ef53d8e15e6f5d49d237ed"
sha256 cellar: :any, arm64_sonoma: "2c356b58f8c0b00b4297e63722a0cca3e66566388a0afb1c3ce6b09c9343760b"
sha256 cellar: :any, arm64_ventura: "e4b0903ca8b7080e5b2b18e30154d4f4d77fdc1fa78d1851401e0814f79f0cc9"
sha256 cellar: :any, sonoma: "a08109665a8ba8789748dfdf2ba84b08bc8013e7cd59eaae676bd06d80382b9a"
sha256 cellar: :any, ventura: "56b91a0d776f8c8fe39cf89e02553075d64df05217b809291d7c0d34f6a29302"
sha256 x86_64_linux: "9720677ca97a144f7d851f9068e8fe5304968f6bc627f8af4a6fac30705f6029"
end

depends_on "gobject-introspection" => :build
Expand All @@ -28,19 +27,6 @@ class Libgit2Glib < Formula
depends_on "gettext"
end

# Support libgit2 1.8+.
# https://gitlab.gnome.org/GNOME/libgit2-glib/-/merge_requests/40
patch do
url "https://gitlab.gnome.org/GNOME/libgit2-glib/-/commit/a76fdf96c3af9ce9d21a3985c4be8a1aa6eea661.diff"
sha256 "24d32bfc972959c054794917f4043226fc267fafaaf8d8fc7d4128cfa9b5b231"
end

# Support libgit2 1.9, upstream pr ref, https://gitlab.gnome.org/GNOME/libgit2-glib/-/merge_requests/46
patch do
url "https://gitlab.gnome.org/GNOME/libgit2-glib/-/commit/93685d4297e425af67ac6888d6b66dfbcd4b95c8.diff"
sha256 "338a51bb04f89a2f53994db206b179e4f20ba69d7aaf38d06ae899dd1c44dab1"
end

def install
ENV.append "LDFLAGS", "-Wl,-rpath,#{rpath}"
system "meson", "setup", "build", "-Dpython=false", "-Dvapi=true", *std_meson_args
Expand Down

0 comments on commit 935e7ed

Please sign in to comment.