From 377548e66a06e6c114ec5f0e0ffb31593495ce96 Mon Sep 17 00:00:00 2001 From: Viktor Oreshkin Date: Wed, 6 Mar 2024 23:01:37 +0300 Subject: [PATCH] libimobiledevice-glue 1.1.0 Closes #55. Signed-off-by: Viktor Oreshkin --- Formula/libimobiledevice-glue.rb | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Formula/libimobiledevice-glue.rb b/Formula/libimobiledevice-glue.rb index e69e2ed..c87bebe 100644 --- a/Formula/libimobiledevice-glue.rb +++ b/Formula/libimobiledevice-glue.rb @@ -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/releases/download/1.1.0/libimobiledevice-glue-1.1.0.tar.bz2" + sha256 "e7f93c1e6ceacf617ed78bdca92749d15a9dac72443ccb62eb59e4d606d87737" 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,18 @@ class LibimobiledeviceGlue < Formula depends_on "libtool" => :build depends_on "pkg-config" => :build - depends_on "stek29/idevice/libplist" + depends_on "libplist" def install - 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 if build.head? + system "./configure", *std_configure_args, *args if build.stable? + system "make" system "make", "install" end