diff --git a/bin/sunxi-debs/Packages.gz b/bin/sunxi-debs/Packages.gz new file mode 100644 index 0000000000..2ff6b806e6 Binary files /dev/null and b/bin/sunxi-debs/Packages.gz differ diff --git a/bin/sunxi-debs/debhelper_9.20160115ubuntu2_all.deb b/bin/sunxi-debs/debhelper_9.20160115ubuntu2_all.deb new file mode 100644 index 0000000000..7e3c4c0a80 Binary files /dev/null and b/bin/sunxi-debs/debhelper_9.20160115ubuntu2_all.deb differ diff --git a/bin/sunxi-debs/dpkg-dev_1.18.4ubuntu1_all.deb b/bin/sunxi-debs/dpkg-dev_1.18.4ubuntu1_all.deb new file mode 100644 index 0000000000..5ac1b322fd Binary files /dev/null and b/bin/sunxi-debs/dpkg-dev_1.18.4ubuntu1_all.deb differ diff --git a/bin/sunxi-debs/dpkg_1.18.4ubuntu1_armhf.deb b/bin/sunxi-debs/dpkg_1.18.4ubuntu1_armhf.deb new file mode 100644 index 0000000000..df066a551c Binary files /dev/null and b/bin/sunxi-debs/dpkg_1.18.4ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/dri2-utils_1.0.0~git20120510+26fee2e-0ubuntu2_armhf.deb b/bin/sunxi-debs/dri2-utils_1.0.0~git20120510+26fee2e-0ubuntu2_armhf.deb new file mode 100644 index 0000000000..45276dcd5f Binary files /dev/null and b/bin/sunxi-debs/dri2-utils_1.0.0~git20120510+26fee2e-0ubuntu2_armhf.deb differ diff --git a/bin/sunxi-debs/dselect_1.18.4ubuntu1_armhf.deb b/bin/sunxi-debs/dselect_1.18.4ubuntu1_armhf.deb new file mode 100644 index 0000000000..cdd742d798 Binary files /dev/null and b/bin/sunxi-debs/dselect_1.18.4ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/fbturbo_1.0-gitf9a6ed78419f0b98cf2c3ce3cdd4c97fe9a46195.deb b/bin/sunxi-debs/fbturbo_1.0-gitf9a6ed78419f0b98cf2c3ce3cdd4c97fe9a46195.deb new file mode 100644 index 0000000000..da48783fcd Binary files /dev/null and b/bin/sunxi-debs/fbturbo_1.0-gitf9a6ed78419f0b98cf2c3ce3cdd4c97fe9a46195.deb differ diff --git a/bin/sunxi-debs/ffmpeg-dbg_2.8.6-1ubuntu1_armhf.deb b/bin/sunxi-debs/ffmpeg-dbg_2.8.6-1ubuntu1_armhf.deb new file mode 100644 index 0000000000..851307a130 Binary files /dev/null and b/bin/sunxi-debs/ffmpeg-dbg_2.8.6-1ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/ffmpeg-doc_2.8.6-1ubuntu1_all.deb b/bin/sunxi-debs/ffmpeg-doc_2.8.6-1ubuntu1_all.deb new file mode 100644 index 0000000000..9fd3b2fed0 Binary files /dev/null and b/bin/sunxi-debs/ffmpeg-doc_2.8.6-1ubuntu1_all.deb differ diff --git a/bin/sunxi-debs/ffmpeg_2.8.6-1ubuntu1_armhf.deb b/bin/sunxi-debs/ffmpeg_2.8.6-1ubuntu1_armhf.deb new file mode 100644 index 0000000000..1bd0330d6b Binary files /dev/null and b/bin/sunxi-debs/ffmpeg_2.8.6-1ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/fontconfig-config_2.11.1-0ubuntu8_all.deb b/bin/sunxi-debs/fontconfig-config_2.11.1-0ubuntu8_all.deb new file mode 100644 index 0000000000..32a752c324 Binary files /dev/null and b/bin/sunxi-debs/fontconfig-config_2.11.1-0ubuntu8_all.deb differ diff --git a/bin/sunxi-debs/fontconfig-udeb_2.11.1-0ubuntu8_armhf.udeb b/bin/sunxi-debs/fontconfig-udeb_2.11.1-0ubuntu8_armhf.udeb new file mode 100644 index 0000000000..3bedffbc3f Binary files /dev/null and b/bin/sunxi-debs/fontconfig-udeb_2.11.1-0ubuntu8_armhf.udeb differ diff --git a/bin/sunxi-debs/fontconfig_2.11.1-0ubuntu8_armhf.deb b/bin/sunxi-debs/fontconfig_2.11.1-0ubuntu8_armhf.deb new file mode 100644 index 0000000000..b037783f7c Binary files /dev/null and b/bin/sunxi-debs/fontconfig_2.11.1-0ubuntu8_armhf.deb differ diff --git a/bin/sunxi-debs/libav-tools_2.8.6-1ubuntu1_all.deb b/bin/sunxi-debs/libav-tools_2.8.6-1ubuntu1_all.deb new file mode 100644 index 0000000000..1a9e6e0c7f Binary files /dev/null and b/bin/sunxi-debs/libav-tools_2.8.6-1ubuntu1_all.deb differ diff --git a/bin/sunxi-debs/libavcodec-dev_2.8.6-1ubuntu1_armhf.deb b/bin/sunxi-debs/libavcodec-dev_2.8.6-1ubuntu1_armhf.deb new file mode 100644 index 0000000000..6a158a6add Binary files /dev/null and b/bin/sunxi-debs/libavcodec-dev_2.8.6-1ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/libavcodec-extra_2.8.6-1ubuntu1_all.deb b/bin/sunxi-debs/libavcodec-extra_2.8.6-1ubuntu1_all.deb new file mode 100644 index 0000000000..b66faa3201 Binary files /dev/null and b/bin/sunxi-debs/libavcodec-extra_2.8.6-1ubuntu1_all.deb differ diff --git a/bin/sunxi-debs/libavcodec-ffmpeg-extra56_2.8.6-1ubuntu1_armhf.deb b/bin/sunxi-debs/libavcodec-ffmpeg-extra56_2.8.6-1ubuntu1_armhf.deb new file mode 100644 index 0000000000..767803a2d3 Binary files /dev/null and b/bin/sunxi-debs/libavcodec-ffmpeg-extra56_2.8.6-1ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/libavcodec-ffmpeg56_2.8.6-1ubuntu1_armhf.deb b/bin/sunxi-debs/libavcodec-ffmpeg56_2.8.6-1ubuntu1_armhf.deb new file mode 100644 index 0000000000..2e2bf97bd2 Binary files /dev/null and b/bin/sunxi-debs/libavcodec-ffmpeg56_2.8.6-1ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/libavdevice-dev_2.8.6-1ubuntu1_armhf.deb b/bin/sunxi-debs/libavdevice-dev_2.8.6-1ubuntu1_armhf.deb new file mode 100644 index 0000000000..bd290018e9 Binary files /dev/null and b/bin/sunxi-debs/libavdevice-dev_2.8.6-1ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/libavdevice-ffmpeg56_2.8.6-1ubuntu1_armhf.deb b/bin/sunxi-debs/libavdevice-ffmpeg56_2.8.6-1ubuntu1_armhf.deb new file mode 100644 index 0000000000..f1d4eb9d3e Binary files /dev/null and b/bin/sunxi-debs/libavdevice-ffmpeg56_2.8.6-1ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/libavfilter-dev_2.8.6-1ubuntu1_armhf.deb b/bin/sunxi-debs/libavfilter-dev_2.8.6-1ubuntu1_armhf.deb new file mode 100644 index 0000000000..304ca0e37d Binary files /dev/null and b/bin/sunxi-debs/libavfilter-dev_2.8.6-1ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/libavfilter-ffmpeg5_2.8.6-1ubuntu1_armhf.deb b/bin/sunxi-debs/libavfilter-ffmpeg5_2.8.6-1ubuntu1_armhf.deb new file mode 100644 index 0000000000..402bbe3b83 Binary files /dev/null and b/bin/sunxi-debs/libavfilter-ffmpeg5_2.8.6-1ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/libavformat-dev_2.8.6-1ubuntu1_armhf.deb b/bin/sunxi-debs/libavformat-dev_2.8.6-1ubuntu1_armhf.deb new file mode 100644 index 0000000000..360a06ddf8 Binary files /dev/null and b/bin/sunxi-debs/libavformat-dev_2.8.6-1ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/libavformat-ffmpeg56_2.8.6-1ubuntu1_armhf.deb b/bin/sunxi-debs/libavformat-ffmpeg56_2.8.6-1ubuntu1_armhf.deb new file mode 100644 index 0000000000..d6b2ccc64e Binary files /dev/null and b/bin/sunxi-debs/libavformat-ffmpeg56_2.8.6-1ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/libavresample-dev_2.8.6-1ubuntu1_armhf.deb b/bin/sunxi-debs/libavresample-dev_2.8.6-1ubuntu1_armhf.deb new file mode 100644 index 0000000000..35b9e740a1 Binary files /dev/null and b/bin/sunxi-debs/libavresample-dev_2.8.6-1ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/libavresample-ffmpeg2_2.8.6-1ubuntu1_armhf.deb b/bin/sunxi-debs/libavresample-ffmpeg2_2.8.6-1ubuntu1_armhf.deb new file mode 100644 index 0000000000..9d0b80b2e3 Binary files /dev/null and b/bin/sunxi-debs/libavresample-ffmpeg2_2.8.6-1ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/libavutil-dev_2.8.6-1ubuntu1_armhf.deb b/bin/sunxi-debs/libavutil-dev_2.8.6-1ubuntu1_armhf.deb new file mode 100644 index 0000000000..2a4dae219a Binary files /dev/null and b/bin/sunxi-debs/libavutil-dev_2.8.6-1ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/libavutil-ffmpeg54_2.8.6-1ubuntu1_armhf.deb b/bin/sunxi-debs/libavutil-ffmpeg54_2.8.6-1ubuntu1_armhf.deb new file mode 100644 index 0000000000..55ab7da3ab Binary files /dev/null and b/bin/sunxi-debs/libavutil-ffmpeg54_2.8.6-1ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/libcedrus_1.0-gite129e79337fc9073ddaf56fc680f2338dac8960b.deb b/bin/sunxi-debs/libcedrus_1.0-gite129e79337fc9073ddaf56fc680f2338dac8960b.deb new file mode 100644 index 0000000000..e38616c106 Binary files /dev/null and b/bin/sunxi-debs/libcedrus_1.0-gite129e79337fc9073ddaf56fc680f2338dac8960b.deb differ diff --git a/bin/sunxi-debs/libdpkg-dev_1.18.4ubuntu1_armhf.deb b/bin/sunxi-debs/libdpkg-dev_1.18.4ubuntu1_armhf.deb new file mode 100644 index 0000000000..76e348c9a5 Binary files /dev/null and b/bin/sunxi-debs/libdpkg-dev_1.18.4ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/libdpkg-perl_1.18.4ubuntu1_all.deb b/bin/sunxi-debs/libdpkg-perl_1.18.4ubuntu1_all.deb new file mode 100644 index 0000000000..3e1f495994 Binary files /dev/null and b/bin/sunxi-debs/libdpkg-perl_1.18.4ubuntu1_all.deb differ diff --git a/bin/sunxi-debs/libdri2-1_1.0.0~git20120510+26fee2e-0ubuntu2_armhf.deb b/bin/sunxi-debs/libdri2-1_1.0.0~git20120510+26fee2e-0ubuntu2_armhf.deb new file mode 100644 index 0000000000..dce9d00d4d Binary files /dev/null and b/bin/sunxi-debs/libdri2-1_1.0.0~git20120510+26fee2e-0ubuntu2_armhf.deb differ diff --git a/bin/sunxi-debs/libdri2-dbg_1.0.0~git20120510+26fee2e-0ubuntu2_armhf.deb b/bin/sunxi-debs/libdri2-dbg_1.0.0~git20120510+26fee2e-0ubuntu2_armhf.deb new file mode 100644 index 0000000000..94b7987d19 Binary files /dev/null and b/bin/sunxi-debs/libdri2-dbg_1.0.0~git20120510+26fee2e-0ubuntu2_armhf.deb differ diff --git a/bin/sunxi-debs/libdri2-dev_1.0.0~git20120510+26fee2e-0ubuntu2_armhf.deb b/bin/sunxi-debs/libdri2-dev_1.0.0~git20120510+26fee2e-0ubuntu2_armhf.deb new file mode 100644 index 0000000000..179b0c2ebb Binary files /dev/null and b/bin/sunxi-debs/libdri2-dev_1.0.0~git20120510+26fee2e-0ubuntu2_armhf.deb differ diff --git a/bin/sunxi-debs/libfontconfig1-dbg_2.11.1-0ubuntu8_armhf.deb b/bin/sunxi-debs/libfontconfig1-dbg_2.11.1-0ubuntu8_armhf.deb new file mode 100644 index 0000000000..21b5c66d21 Binary files /dev/null and b/bin/sunxi-debs/libfontconfig1-dbg_2.11.1-0ubuntu8_armhf.deb differ diff --git a/bin/sunxi-debs/libfontconfig1-dev_2.11.1-0ubuntu8_armhf.deb b/bin/sunxi-debs/libfontconfig1-dev_2.11.1-0ubuntu8_armhf.deb new file mode 100644 index 0000000000..e4c4a16f3d Binary files /dev/null and b/bin/sunxi-debs/libfontconfig1-dev_2.11.1-0ubuntu8_armhf.deb differ diff --git a/bin/sunxi-debs/libfontconfig1_2.11.1-0ubuntu8_armhf.deb b/bin/sunxi-debs/libfontconfig1_2.11.1-0ubuntu8_armhf.deb new file mode 100644 index 0000000000..eeae44f2e6 Binary files /dev/null and b/bin/sunxi-debs/libfontconfig1_2.11.1-0ubuntu8_armhf.deb differ diff --git a/bin/sunxi-debs/libpostproc-dev_2.8.6-1ubuntu1_armhf.deb b/bin/sunxi-debs/libpostproc-dev_2.8.6-1ubuntu1_armhf.deb new file mode 100644 index 0000000000..6bf6759073 Binary files /dev/null and b/bin/sunxi-debs/libpostproc-dev_2.8.6-1ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/libpostproc-ffmpeg53_2.8.6-1ubuntu1_armhf.deb b/bin/sunxi-debs/libpostproc-ffmpeg53_2.8.6-1ubuntu1_armhf.deb new file mode 100644 index 0000000000..1cba05b059 Binary files /dev/null and b/bin/sunxi-debs/libpostproc-ffmpeg53_2.8.6-1ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/libswresample-dev_2.8.6-1ubuntu1_armhf.deb b/bin/sunxi-debs/libswresample-dev_2.8.6-1ubuntu1_armhf.deb new file mode 100644 index 0000000000..64ad4abf39 Binary files /dev/null and b/bin/sunxi-debs/libswresample-dev_2.8.6-1ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/libswresample-ffmpeg1_2.8.6-1ubuntu1_armhf.deb b/bin/sunxi-debs/libswresample-ffmpeg1_2.8.6-1ubuntu1_armhf.deb new file mode 100644 index 0000000000..12519ccc10 Binary files /dev/null and b/bin/sunxi-debs/libswresample-ffmpeg1_2.8.6-1ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/libswscale-dev_2.8.6-1ubuntu1_armhf.deb b/bin/sunxi-debs/libswscale-dev_2.8.6-1ubuntu1_armhf.deb new file mode 100644 index 0000000000..2cb31d0002 Binary files /dev/null and b/bin/sunxi-debs/libswscale-dev_2.8.6-1ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/libswscale-ffmpeg3_2.8.6-1ubuntu1_armhf.deb b/bin/sunxi-debs/libswscale-ffmpeg3_2.8.6-1ubuntu1_armhf.deb new file mode 100644 index 0000000000..5c8232aee8 Binary files /dev/null and b/bin/sunxi-debs/libswscale-ffmpeg3_2.8.6-1ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/libump-dbg_3.0-0sunxi1_armhf.deb b/bin/sunxi-debs/libump-dbg_3.0-0sunxi1_armhf.deb new file mode 100644 index 0000000000..fa89b01dd0 Binary files /dev/null and b/bin/sunxi-debs/libump-dbg_3.0-0sunxi1_armhf.deb differ diff --git a/bin/sunxi-debs/libump-dev_3.0-0sunxi1_armhf.deb b/bin/sunxi-debs/libump-dev_3.0-0sunxi1_armhf.deb new file mode 100644 index 0000000000..aeecb45148 Binary files /dev/null and b/bin/sunxi-debs/libump-dev_3.0-0sunxi1_armhf.deb differ diff --git a/bin/sunxi-debs/libump_3.0-0sunxi1_armhf.deb b/bin/sunxi-debs/libump_3.0-0sunxi1_armhf.deb new file mode 100644 index 0000000000..7e01e3ef7e Binary files /dev/null and b/bin/sunxi-debs/libump_3.0-0sunxi1_armhf.deb differ diff --git a/bin/sunxi-debs/libvdpau-dev_1.1.1-3ubuntu1_armhf.deb b/bin/sunxi-debs/libvdpau-dev_1.1.1-3ubuntu1_armhf.deb new file mode 100644 index 0000000000..35aa8c28db Binary files /dev/null and b/bin/sunxi-debs/libvdpau-dev_1.1.1-3ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/libvdpau-doc_1.1.1-3ubuntu1_all.deb b/bin/sunxi-debs/libvdpau-doc_1.1.1-3ubuntu1_all.deb new file mode 100644 index 0000000000..0e7afcec03 Binary files /dev/null and b/bin/sunxi-debs/libvdpau-doc_1.1.1-3ubuntu1_all.deb differ diff --git a/bin/sunxi-debs/libvdpau-sunxi_1.0-gitcba127cf8457a7e4a2e02832f0b653e85f2c97c7.deb b/bin/sunxi-debs/libvdpau-sunxi_1.0-gitcba127cf8457a7e4a2e02832f0b653e85f2c97c7.deb new file mode 100644 index 0000000000..c920e87a79 Binary files /dev/null and b/bin/sunxi-debs/libvdpau-sunxi_1.0-gitcba127cf8457a7e4a2e02832f0b653e85f2c97c7.deb differ diff --git a/bin/sunxi-debs/libvdpau1-dbg_1.1.1-3ubuntu1_armhf.deb b/bin/sunxi-debs/libvdpau1-dbg_1.1.1-3ubuntu1_armhf.deb new file mode 100644 index 0000000000..a570752c6d Binary files /dev/null and b/bin/sunxi-debs/libvdpau1-dbg_1.1.1-3ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/libvdpau1_1.1.1-3ubuntu1_armhf.deb b/bin/sunxi-debs/libvdpau1_1.1.1-3ubuntu1_armhf.deb new file mode 100644 index 0000000000..606848ead1 Binary files /dev/null and b/bin/sunxi-debs/libvdpau1_1.1.1-3ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/libvlc-dev_2.2.2-4_armhf.deb b/bin/sunxi-debs/libvlc-dev_2.2.2-4_armhf.deb new file mode 100644 index 0000000000..f1ae361cb4 Binary files /dev/null and b/bin/sunxi-debs/libvlc-dev_2.2.2-4_armhf.deb differ diff --git a/bin/sunxi-debs/libvlc5_2.2.2-4_armhf.deb b/bin/sunxi-debs/libvlc5_2.2.2-4_armhf.deb new file mode 100644 index 0000000000..ef7fcc56ec Binary files /dev/null and b/bin/sunxi-debs/libvlc5_2.2.2-4_armhf.deb differ diff --git a/bin/sunxi-debs/libvlccore-dev_2.2.2-4_armhf.deb b/bin/sunxi-debs/libvlccore-dev_2.2.2-4_armhf.deb new file mode 100644 index 0000000000..7f935e0a59 Binary files /dev/null and b/bin/sunxi-debs/libvlccore-dev_2.2.2-4_armhf.deb differ diff --git a/bin/sunxi-debs/libvlccore8_2.2.2-4_armhf.deb b/bin/sunxi-debs/libvlccore8_2.2.2-4_armhf.deb new file mode 100644 index 0000000000..2af59fdd21 Binary files /dev/null and b/bin/sunxi-debs/libvlccore8_2.2.2-4_armhf.deb differ diff --git a/bin/sunxi-debs/libx265-79_1.9-3_armhf.deb b/bin/sunxi-debs/libx265-79_1.9-3_armhf.deb new file mode 100644 index 0000000000..d69bfed888 Binary files /dev/null and b/bin/sunxi-debs/libx265-79_1.9-3_armhf.deb differ diff --git a/bin/sunxi-debs/libx265-dev_1.9-3_armhf.deb b/bin/sunxi-debs/libx265-dev_1.9-3_armhf.deb new file mode 100644 index 0000000000..cda88139b6 Binary files /dev/null and b/bin/sunxi-debs/libx265-dev_1.9-3_armhf.deb differ diff --git a/bin/sunxi-debs/libx265-doc_1.9-3_all.deb b/bin/sunxi-debs/libx265-doc_1.9-3_all.deb new file mode 100644 index 0000000000..8c26d7f3b2 Binary files /dev/null and b/bin/sunxi-debs/libx265-doc_1.9-3_all.deb differ diff --git a/bin/sunxi-debs/mpv_0.16.0_armhf.deb b/bin/sunxi-debs/mpv_0.16.0_armhf.deb new file mode 100644 index 0000000000..7b4a2eab44 Binary files /dev/null and b/bin/sunxi-debs/mpv_0.16.0_armhf.deb differ diff --git a/bin/sunxi-debs/sunxi-mali-r3p0_4.0.0.0_armhf.deb b/bin/sunxi-debs/sunxi-mali-r3p0_4.0.0.0_armhf.deb new file mode 100644 index 0000000000..cdcad3e5b8 Binary files /dev/null and b/bin/sunxi-debs/sunxi-mali-r3p0_4.0.0.0_armhf.deb differ diff --git a/bin/sunxi-debs/vdpau-driver-all_1.1.1-3ubuntu1_armhf.deb b/bin/sunxi-debs/vdpau-driver-all_1.1.1-3ubuntu1_armhf.deb new file mode 100644 index 0000000000..48b0ed3a47 Binary files /dev/null and b/bin/sunxi-debs/vdpau-driver-all_1.1.1-3ubuntu1_armhf.deb differ diff --git a/bin/sunxi-debs/vlc-data_2.2.2-4_all.deb b/bin/sunxi-debs/vlc-data_2.2.2-4_all.deb new file mode 100644 index 0000000000..0629cab64b Binary files /dev/null and b/bin/sunxi-debs/vlc-data_2.2.2-4_all.deb differ diff --git a/bin/sunxi-debs/vlc-nox_2.2.2-4_armhf.deb b/bin/sunxi-debs/vlc-nox_2.2.2-4_armhf.deb new file mode 100644 index 0000000000..d55b5de083 Binary files /dev/null and b/bin/sunxi-debs/vlc-nox_2.2.2-4_armhf.deb differ diff --git a/bin/sunxi-debs/vlc-plugin-fluidsynth_2.2.2-4_armhf.deb b/bin/sunxi-debs/vlc-plugin-fluidsynth_2.2.2-4_armhf.deb new file mode 100644 index 0000000000..f1e7344394 Binary files /dev/null and b/bin/sunxi-debs/vlc-plugin-fluidsynth_2.2.2-4_armhf.deb differ diff --git a/bin/sunxi-debs/vlc-plugin-jack_2.2.2-4_armhf.deb b/bin/sunxi-debs/vlc-plugin-jack_2.2.2-4_armhf.deb new file mode 100644 index 0000000000..077a1be37e Binary files /dev/null and b/bin/sunxi-debs/vlc-plugin-jack_2.2.2-4_armhf.deb differ diff --git a/bin/sunxi-debs/vlc-plugin-notify_2.2.2-4_armhf.deb b/bin/sunxi-debs/vlc-plugin-notify_2.2.2-4_armhf.deb new file mode 100644 index 0000000000..9e3af0a9e0 Binary files /dev/null and b/bin/sunxi-debs/vlc-plugin-notify_2.2.2-4_armhf.deb differ diff --git a/bin/sunxi-debs/vlc-plugin-samba_2.2.2-4_armhf.deb b/bin/sunxi-debs/vlc-plugin-samba_2.2.2-4_armhf.deb new file mode 100644 index 0000000000..a6c8bbaa76 Binary files /dev/null and b/bin/sunxi-debs/vlc-plugin-samba_2.2.2-4_armhf.deb differ diff --git a/bin/sunxi-debs/vlc-plugin-sdl_2.2.2-4_armhf.deb b/bin/sunxi-debs/vlc-plugin-sdl_2.2.2-4_armhf.deb new file mode 100644 index 0000000000..da61add4af Binary files /dev/null and b/bin/sunxi-debs/vlc-plugin-sdl_2.2.2-4_armhf.deb differ diff --git a/bin/sunxi-debs/vlc-plugin-svg_2.2.2-4_armhf.deb b/bin/sunxi-debs/vlc-plugin-svg_2.2.2-4_armhf.deb new file mode 100644 index 0000000000..d95bddd0d1 Binary files /dev/null and b/bin/sunxi-debs/vlc-plugin-svg_2.2.2-4_armhf.deb differ diff --git a/bin/sunxi-debs/vlc-plugin-zvbi_2.2.2-4_armhf.deb b/bin/sunxi-debs/vlc-plugin-zvbi_2.2.2-4_armhf.deb new file mode 100644 index 0000000000..2f4ecb8b94 Binary files /dev/null and b/bin/sunxi-debs/vlc-plugin-zvbi_2.2.2-4_armhf.deb differ diff --git a/bin/sunxi-debs/vlc_2.2.2-4_armhf.deb b/bin/sunxi-debs/vlc_2.2.2-4_armhf.deb new file mode 100644 index 0000000000..7631295b75 Binary files /dev/null and b/bin/sunxi-debs/vlc_2.2.2-4_armhf.deb differ diff --git a/bin/sunxi-debs/x265_1.9-3_armhf.deb b/bin/sunxi-debs/x265_1.9-3_armhf.deb new file mode 100644 index 0000000000..fe9d30ab58 Binary files /dev/null and b/bin/sunxi-debs/x265_1.9-3_armhf.deb differ diff --git a/config/mpv.conf.sunxi b/config/mpv.conf.sunxi new file mode 100644 index 0000000000..a2dd2eebd9 --- /dev/null +++ b/config/mpv.conf.sunxi @@ -0,0 +1,3 @@ +vo=vdpau +hwdec=vdpau +hwdec-codecs=all diff --git a/desktop.sh b/desktop.sh index edb7b92d06..0d85c112d1 100644 --- a/desktop.sh +++ b/desktop.sh @@ -69,61 +69,103 @@ sed "s/NODM_ENABLED=\(.*\)/NODM_ENABLED=false/g" -i $DEST/cache/sdcard/etc/defau if [[ $LINUXFAMILY == *sun* && $BRANCH == "default" ]]; then mkdir -p $DEST/cache/sdcard/etc/udev/rules.d cp $SRC/lib/config/sunxi-udev/* $DEST/cache/sdcard/etc/udev/rules.d/ - - grep "CONFIG_MALI is not set" $SOURCES/$LINUXSOURCEDIR/.config 2>&1 >/dev/null - local error_num=$? - grep "CONFIG_UMP is not set" $SOURCES/$LINUXSOURCEDIR/.config 2>&1 >/dev/null - if [[ $? -eq 1 && $error_num -eq 1 ]] - then - error_num=0 - display_alert "Adding support for Mali - acceleration" "sunxi" "info" - git clone -q https://github.com/WereCatf/armbian-debs.git $DEST/cache/sdcard/tmp/armbian-debs - chroot $DEST/cache/sdcard /bin/bash -c "apt-get -y install mesa-utils-extra 2>&1 >/dev/null" - chroot $DEST/cache/sdcard /bin/bash -c "apt-get -y install libdri2-1 libdri2-dev 2>&1 >/dev/null" - if [ $? -gt 0 ]; then - chroot $DEST/cache/sdcard /bin/bash -c "cd /tmp/armbian-debs && dpkg -i libdri2-1_1.0-1_armhf.deb 2>&1 >/dev/null" - error_num=$(($error_num+$?)) - fi - if [ $error_num -gt 0 ]; then display_alert "Installation failed" "Mali - libdri2-1" "err"; exit 1 - else - chroot $DEST/cache/sdcard /bin/bash -c "cd /tmp/armbian-debs && dpkg -i libump_3.0-0sunxi1_armhf.deb libump-dev_3.0-0sunxi1_armhf.deb 2>&1 >/dev/null" - error_num=$(($error_num+$?)) - if [ $error_num -gt 0 ]; then display_alert "Installation failed" "Mali - libump" "err"; exit 1 - else - chroot $DEST/cache/sdcard /bin/bash -c "cd /tmp/armbian-debs && dpkg -i sunxi-mali-r3p0_4.0.0.0_armhf.deb 2>&1 >/dev/null" - error_num=$(($error_num+$?)) - chroot $DEST/cache/sdcard /bin/bash -c "ldconfig" - if [ $error_num -gt 0 ]; then display_alert "Installation failed" "Mali r3p0" "err"; exit 1;fi - fi - fi - fi - - display_alert "Compiling FB Turbo" "sunxi" "info" - - error_num=0 - - # quemu bug walkaround - git clone -q https://github.com/ssvb/xf86-video-fbturbo.git $DEST/cache/sdcard/tmp/xf86-video-fbturbo - chroot $DEST/cache/sdcard /bin/bash -c "cd /tmp/xf86-video-fbturbo && autoreconf -vi >/dev/null 2>&1" - error_num=$(($error_num+$?)) - chroot $DEST/cache/sdcard /bin/bash -c "cd /tmp/xf86-video-fbturbo && ./configure --prefix=/usr >/dev/null 2>&1" - error_num=$(($error_num+$?)) - chroot $DEST/cache/sdcard /bin/bash -c "cd /tmp/xf86-video-fbturbo && make $CTHREADS && make install >/dev/null 2>&1" - error_num=$(($error_num+$?)) - - # use Armbian prepared config cp $SRC/lib/config/xorg.conf.sunxi $DEST/cache/sdcard/etc/X11/xorg.conf - - # compile video acceleration - git clone -q https://github.com/linux-sunxi/libvdpau-sunxi.git $DEST/cache/sdcard/tmp/libvdpau-sunxi - - # with temporaly fix - chroot $DEST/cache/sdcard /bin/bash -c "cd /tmp/libvdpau-sunxi; git checkout 906c36ed45ceb53fecd5fc72e821c11849eeb1a3; make $CTHREADS" >/dev/null 2>&1 - error_num=$(($error_num+$?)) - - d=$DEST/cache/sdcard/usr/lib/arm-linux-gnueabihf/vdpau - test -d "$d" || mkdir -p "$d" && cp $DEST/cache/sdcard/tmp/libvdpau-sunxi/libvdpau_sunxi.so.1 "$d" - ln -s $d/libvdpau_sunxi.so.1 $d/libvdpau_sunxi.so + + if [[ $RELEASE == "jessie" || $RELEASE == "xenial" ]]; then + cp -R $SRC/lib/bin/sunxi-debs $DEST/cache/sdcard/tmp/debs + error_num=0 + display_alert "Installing desktop-extras for sunxi" "sunxi" "info" + chroot $DEST/cache/sdcard /bin/bash -c "apt-get -y install libdri2-1 2>&1 >/dev/null" + if [ $? -gt 0 ]; then + chroot $DEST/cache/sdcard /bin/bash -c "cd /tmp/debs && dpkg -i libdri2*.deb 2>&1 >/dev/null" + error_num=$(($error_num+$?)) + fi + chroot $DEST/cache/sdcard /bin/bash -c "apt-get -y install mesa-utils-extra 2>&1 >/dev/null" + error_num=$(($error_num+$?)) + chroot $DEST/cache/sdcard /bin/bash -c "cd /tmp/debs && dpkg -i libump*.deb 2>&1 >/dev/null" + error_num=$(($error_num+$?)) + chroot $DEST/cache/sdcard /bin/bash -c "cd /tmp/debs && dpkg -i libcedrus*.deb 2>&1 >/dev/null" + error_num=$(($error_num+$?)) + chroot $DEST/cache/sdcard /bin/bash -c "cd /tmp/debs && dpkg -i libvdpau*.deb 2>&1 >/dev/null" + error_num=$(($error_num+$?)) + chroot $DEST/cache/sdcard /bin/bash -c "cd /tmp/debs && dpkg -i sunxi-mali*.deb 2>&1 >/dev/null" + error_num=$(($error_num+$?)) + chroot $DEST/cache/sdcard /bin/bash -c "cd /tmp/debs && dpkg -i fbturbo*.deb 2>&1 >/dev/null" + error_num=$(($error_num+$?)) + chroot $DEST/cache/sdcard /bin/bash -c "cd /tmp/debs && dpkg -i mpv_*.deb 2>&1 >/dev/null" + chroot $DEST/cache/sdcard /bin/bash -c "apt-get -y -f install 2>&1 >/dev/null" + error_num=$(($error_num+$?)) + if [ $error_num -gt 0 ]; then display_alert "Installation failed" "desktop-extras for sunxi" "err"; exit 1;fi + # Disable compositing by default + sed 's/name="use_compositing" type="bool" value="true"/name="use_compositing" type="bool" value="false"/' -i $DEST/cache/sdcard/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml + sed 's/name="use_compositing" type="bool" value="true"/name="use_compositing" type="bool" value="false"/' -i $DEST/cache/sdcard/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml + cp $SRC/lib/config/mpv.conf.sunxi $DEST/cache/sdcard/etc/mpv/mpv.conf + chroot $DEST/cache/sdcard /bin/bash -c "ldconfig" + + else + + grep "CONFIG_MALI is not set" $SOURCES/$LINUXSOURCEDIR/.config 2>&1 >/dev/null + local error_num=$? + grep "CONFIG_UMP is not set" $SOURCES/$LINUXSOURCEDIR/.config 2>&1 >/dev/null + if [[ $? -eq 1 && $error_num -eq 1 ]]; then + error_num=0 + display_alert "Adding support for Mali - acceleration" "sunxi" "info" + git clone -q https://github.com/WereCatf/armbian-debs.git $DEST/cache/sdcard/tmp/armbian-debs + chroot $DEST/cache/sdcard /bin/bash -c "apt-get -y install mesa-utils-extra 2>&1 >/dev/null" + chroot $DEST/cache/sdcard /bin/bash -c "apt-get -y install libdri2-1 libdri2-dev 2>&1 >/dev/null" + if [ $? -gt 0 ]; then + chroot $DEST/cache/sdcard /bin/bash -c "cd /tmp/armbian-debs && dpkg -i libdri2-1_1.0-1_armhf.deb 2>&1 >/dev/null" + error_num=$(($error_num+$?)) + fi + if [ $error_num -gt 0 ]; then display_alert "Installation failed" "Mali - libdri2-1" "err"; exit 1 + else + chroot $DEST/cache/sdcard /bin/bash -c "cd /tmp/armbian-debs && dpkg -i libump_3.0-0sunxi1_armhf.deb libump-dev_3.0-0sunxi1_armhf.deb 2>&1 >/dev/null" + error_num=$(($error_num+$?)) + if [ $error_num -gt 0 ]; then display_alert "Installation failed" "Mali - libump" "err"; exit 1 + else + chroot $DEST/cache/sdcard /bin/bash -c "cd /tmp/armbian-debs && dpkg -i sunxi-mali-r3p0_4.0.0.0_armhf.deb 2>&1 >/dev/null" + error_num=$(($error_num+$?)) + chroot $DEST/cache/sdcard /bin/bash -c "ldconfig" + if [ $error_num -gt 0 ]; then display_alert "Installation failed" "Mali r3p0" "err"; exit 1;fi + fi + fi + fi + + display_alert "Compiling FB Turbo" "sunxi" "info" + error_num=0 + # quemu bug walkaround + git clone -q https://github.com/ssvb/xf86-video-fbturbo.git $DEST/cache/sdcard/tmp/xf86-video-fbturbo + chroot $DEST/cache/sdcard /bin/bash -c "cd /tmp/xf86-video-fbturbo && autoreconf -vi >/dev/null 2>&1" + error_num=$(($error_num+$?)) + chroot $DEST/cache/sdcard /bin/bash -c "cd /tmp/xf86-video-fbturbo && ./configure --prefix=/usr >/dev/null 2>&1" + error_num=$(($error_num+$?)) + chroot $DEST/cache/sdcard /bin/bash -c "cd /tmp/xf86-video-fbturbo && make $CTHREADS && make install >/dev/null 2>&1" + error_num=$(($error_num+$?)) + # compile video acceleration + git clone -q https://github.com/linux-sunxi/libvdpau-sunxi.git $DEST/cache/sdcard/tmp/libvdpau-sunxi + # with temporaly fix + chroot $DEST/cache/sdcard /bin/bash -c "cd /tmp/libvdpau-sunxi; git checkout 906c36ed45ceb53fecd5fc72e821c11849eeb1a3; make $CTHREADS" >/dev/null 2>&1 + error_num=$(($error_num+$?)) + + d=$DEST/cache/sdcard/usr/lib/arm-linux-gnueabihf/vdpau + test -d "$d" || mkdir -p "$d" && cp $DEST/cache/sdcard/tmp/libvdpau-sunxi/libvdpau_sunxi.so.1 "$d" + ln -s $d/libvdpau_sunxi.so.1 $d/libvdpau_sunxi.so + # error check + if [ $error_num -gt 0 ]; then display_alert "Compiling failed" "FB Turbo" "err"; exit 1; fi + fi + + # Set default audio-output to HDMI for desktop-images + cat >> $DEST/cache/sdcard/etc/asound.conf << _EOF_ +pcm.!default { + type hw + card 1 +} + +ctl.!default { + type hw + card 1 +} +_EOF_ # That we can just play echo "export VDPAU_DRIVER=sunxi" >> $DEST/cache/sdcard/etc/profile @@ -135,7 +177,5 @@ if [[ $LINUXFAMILY == *sun* && $BRANCH == "default" ]]; then # clean deb cache chroot $DEST/cache/sdcard /bin/bash -c "apt-get -y clean >/dev/null 2>&1" - # error chech - if [ $error_num -gt 0 ]; then display_alert "Compiling failed" "FB Turbo" "err"; exit 1; fi fi }