-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,11 @@ | ||
class LibimobiledeviceGlue < Formula | ||
desc "Common code used by the libimobiledevice project" | ||
homepage "https://github.com/libimobiledevice/libimobiledevice-glue" | ||
url "https://github.com/libimobiledevice/libimobiledevice-glue.git", | ||
revision: "d2ff7969dcd0a12e4f18f63dab03e6cd03054fcb" | ||
version "1.0.0-35-gd2ff796" | ||
url "https://github.com/libimobiledevice/libimobiledevice-glue/archive/refs/tags/1.1.0.tar.gz" | ||
sha256 "a4c44537070181fc2cad593e54fa8014ef13616d27f3525bdc492e84aceff250" | ||
license "LGPL-2.1-or-later" | ||
head "https://github.com/libimobiledevice/libimobiledevice-glue.git", branch: "master" | ||
|
||
livecheck do | ||
skip "upstream has inconsistent tags" | ||
end | ||
|
||
bottle do | ||
root_url "https://ghcr.io/v2/stek29/idevice" | ||
rebuild 2 | ||
|
@@ -26,13 +21,17 @@ class LibimobiledeviceGlue < Formula | |
depends_on "libtool" => :build | ||
depends_on "pkg-config" => :build | ||
|
||
depends_on "stek29/idevice/libplist" | ||
depends_on "libplist" | ||
|
||
def install | ||
Check warning on line 26 in Formula/libimobiledevice-glue.rb GitHub Actions / test-bot (macos-13)`brew install --verbose --build-bottle stek29/idevice/libimobiledevice-glue` failed on macOS Ventura (13)!
Check warning on line 26 in Formula/libimobiledevice-glue.rb GitHub Actions / test-bot (macos-14)`brew install --verbose --build-bottle stek29/idevice/libimobiledevice-glue` failed on macOS Sonoma (14) on Apple Silicon!
|
||
system "./autogen.sh", "--disable-debug", | ||
"--disable-dependency-tracking", | ||
"--disable-silent-rules", | ||
"--prefix=#{prefix}" | ||
args = %w[ | ||
--disable-debug | ||
--disable-dependency-tracking | ||
--disable-silent-rules | ||
] | ||
|
||
system "./autogen.sh", *std_configure_args, *args | ||
|
||
system "make" | ||
system "make", "install" | ||
end | ||
|