Latest VLC source code tarball (2.2.6):
VLC source code tar.xz source package
Older versions can be found by browsing our FTP archive
Please have a look at VLC's sub-page on the developers website. There are detailed descriptions for most systems, supported by VLC. If something is not mentioned there, searching the forum is worth a try.