amule: migrate to wxGTK32
This commit is contained in:
parent
b29350a3ea
commit
7fb3d2a001
1 changed files with 11 additions and 2 deletions
|
@ -3,11 +3,12 @@
|
|||
, httpServer ? false # build web interface for the daemon
|
||||
, client ? false # build amule remote gui
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, stdenv
|
||||
, lib
|
||||
, cmake
|
||||
, zlib
|
||||
, wxGTK30 # WxGTK 3.0 must be used because aMule does not yet work well with 3.1
|
||||
, wxGTK32
|
||||
, perl
|
||||
, cryptopp
|
||||
, libupnp
|
||||
|
@ -37,11 +38,18 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1nm4vxgmisn1b6l3drmz0q04x067j2i8lw5rnf0acaapwlp8qwvi";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://sources.debian.org/data/main/a/amule/1%3A2.3.3-3/debian/patches/wx3.2.patch";
|
||||
hash = "sha256-OX5Ef80bL+dQqHo2OBLZvzMUrU6aOHfsF7AtoE1r7rs=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake gettext makeWrapper pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
zlib
|
||||
wxGTK30
|
||||
wxGTK32
|
||||
perl
|
||||
cryptopp.dev
|
||||
libupnp
|
||||
|
@ -90,6 +98,7 @@ stdenv.mkDerivation rec {
|
|||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = platforms.unix;
|
||||
# Undefined symbols for architecture arm64: "_FSFindFolder"
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue