ref: 7b98be7fa1d53ad1e1d2edb3a9e4f8ca432ff438
dir: /install.rc/
#!/bin/rc rfork ne flag e + cd .. echo downloading and building 3rd party libraries test -d dav1d || { hget https://ftrv.se/_/treason3rd.tar.gz | tar xz && \ cd dav1d/src && \ mk && \ cd ../../faad2/libfaad && \ mk install && \ cd ../frontend && \ mk install && \ cd ../../openh264/codec && \ mk && \ cd ../../libvpx && \ mk && \ cd .. } echo downloading and building mcfs test -d mcfs-master || { hget https://git.sr.ht/~ft/mcfs/archive/master.tar.gz | tar xz && \ cd mcfs-master && \ mk install && \ cd .. } echo downloading opus test -d opus || { hget https://github.com/xiph/opus/archive/master.tar.gz | tar xz && \ mv opus-master opus } echo downloading libopusenc test -d libopusenc || { hget https://github.com/xiph/libopusenc/archive/master.tar.gz | tar xz && \ mv libopusenc-master libopusenc } echo downloading opusfile test -d opusfile || { hget https://github.com/xiph/opusfile/archive/master.tar.gz | tar xz && \ mv opusfile-master opusfile } echo downloading opus-tools test -d opus-tools || { hget https://github.com/xiph/opus-tools/archive/master.tar.gz | tar xz && \ mv opus-tools-master opus-tools } echo downloading alienpatch and building all things opus test -d alienpatch || { hget https://github.com/qwx9/alienpatch/archive/master.tar.gz | tar xz && \ mv alienpatch-master alienpatch && \ for(i in opus libopusenc opusfile opus-tools) { \ cd $i; \ ape/patch -p0 <../alienpatch/$i || echo failed; \ mk install; \ cd ..; \ } } echo committing treason cd treason && \ mk install && \ rm -rf ../^(dav1d faad2-master openh264 libvpx mcfs-master opus libopusenc opusfile opus-tools alienpatch) echo treason has been committed