libgpod: libplist 2.3.0 compatibility
This commit is contained in:
parent
1928cd3026
commit
9af2cd6fb9
@ -1,6 +1,7 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, perlPackages
|
||||
, intltool
|
||||
, autoreconfHook
|
||||
@ -24,11 +25,19 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/gtkpod/libgpod-${version}.tar.bz2";
|
||||
sha256 = "0pcmgv1ra0ymv73mlj4qxzgyir026z9jpl5s5bkg35afs1cpk2k3";
|
||||
hash = "sha256-Y4p5WdBOlfHmKrrQK9M3AuTo3++YSFrH2dUDlcN+lV0=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "libplist-2.3.0-compatibility.patch";
|
||||
url = "https://sourceforge.net/p/gtkpod/patches/48/attachment/libplist-2.3.0-compatibility.patch";
|
||||
hash = "sha256-aVkuYE1N/jdEhVhiXEVhApvOC+8csIMMpP20rAJwEVQ=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# support libplist 2.2
|
||||
substituteInPlace configure.ac --replace 'libplist >= 1.0' 'libplist-2.0 >= 2.2'
|
||||
|
Loading…
Reference in New Issue
Block a user