Merge pull request #320999 from C0D3-M4513R/master
libimobiledevice: 1.3.0-date=2023-04-30 -> 1.3.0-unstable-2024-05-20, libimobiledevice-glue: 1.2.0 -> 1.3.0
This commit is contained in:
@@ -4,21 +4,24 @@
|
||||
, autoreconfHook
|
||||
, pkg-config
|
||||
, libplist
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libimobiledevice-glue";
|
||||
version = "1.2.0";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libimobiledevice";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-Rfs1i1Tt8uf3WfR+cDlF4L75nFHg9VypjMhHt0TgkyQ=";
|
||||
hash = "sha256-+poCrn2YHeH8RQCfWDdnlmJB4Nf+unWUVwn7YwILHIs=";
|
||||
};
|
||||
|
||||
preAutoreconf = ''
|
||||
export RELEASE_VERSION=${version}
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
@@ -28,9 +31,9 @@ stdenv.mkDerivation rec {
|
||||
libplist
|
||||
];
|
||||
|
||||
preAutoreconf = ''
|
||||
export RELEASE_VERSION=${version}
|
||||
'';
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/libimobiledevice/libimobiledevice-glue";
|
||||
|
||||
@@ -12,30 +12,25 @@
|
||||
, libimobiledevice-glue
|
||||
, SystemConfiguration
|
||||
, CoreFoundation
|
||||
, unstableGitUpdater
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libimobiledevice";
|
||||
version = "1.3.0+date=2023-04-30";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
version = "1.3.0-unstable-2024-05-20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libimobiledevice";
|
||||
repo = pname;
|
||||
rev = "860ffb707af3af94467d2ece4ad258dda957c6cd";
|
||||
hash = "sha256-mIsB+EaGJlGMOpz3OLrs0nAmhOY1BwMs83saFBaejwc=";
|
||||
rev = "9ccc52222c287b35e41625cc282fb882544676c6";
|
||||
hash = "sha256-pNvtDGUlifp10V59Kah4q87TvLrcptrCJURHo+Y+hs4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Pull upstream fix for clang-16 and upcoming gcc-14 support:
|
||||
# https://github.com/libimobiledevice/libimobiledevice/pull/1444
|
||||
(fetchpatch {
|
||||
name = "usleep-decl.patch";
|
||||
url = "https://github.com/libimobiledevice/libimobiledevice/commit/db623184c0aa09c27697f5a2e81025db223075d5.patch";
|
||||
hash = "sha256-TgdgBkEDXzQDSgJxcZc+pZncfmBVXarhHOByGFs6p0Q=";
|
||||
})
|
||||
];
|
||||
preAutoreconf = ''
|
||||
export RELEASE_VERSION=${version}
|
||||
'';
|
||||
|
||||
configureFlags = [ "--without-cython" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
@@ -54,11 +49,10 @@ stdenv.mkDerivation rec {
|
||||
CoreFoundation
|
||||
];
|
||||
|
||||
preAutoreconf = ''
|
||||
export RELEASE_VERSION=${version}
|
||||
'';
|
||||
|
||||
configureFlags = [ "--without-cython" ];
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
passthru.updateScript = unstableGitUpdater { };
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/libimobiledevice/libimobiledevice";
|
||||
|
||||
Reference in New Issue
Block a user