Unified · Split
| @@ -23,18 +23,9 @@ More is coming. Patches are very welcome, too. · 22 unmodified lines | |||
| 23 | Install [git9](https://github.com/oridb/git9), then: | 23 | Install [git9](https://github.com/oridb/git9), then: |
| 24 | 24 | ||
| 25 | cd /tmp | 25 | cd /tmp |
| 26 | git/clone https://git.sr.ht/~ft/dav1d | ||
| 27 | git/clone https://git.sr.ht/~ft/faad2 | ||
| 28 | git/clone https://git.sr.ht/~ft/h264bsd | ||
| 29 | git/clone https://git.sr.ht/~ft/libvpx | ||
| 30 | git/clone https://git.sr.ht/~ft/mcfs | ||
| 31 | git/clone https://git.sr.ht/~ft/treason | 26 | git/clone https://git.sr.ht/~ft/treason |
| 32 | cd libvpx && mk | 27 | cd treason |
| 33 | cd ../dav1d/src && mk | 28 | ./install.rc |
| 34 | cd ../../h264bsd/src && mk install | ||
| 35 | cd ../../treason && mk install | ||
| 36 | cd ../mcfs && mk install | ||
| 37 | cd ../faad2/libfaad && mk install && cd ../frontend && mk install | ||
| 38 | 29 | ||
| 39 | For opus decoding see [adding opus support to 9front](http://nopenopenope.net/posts/audcomp) | 30 | For opus decoding see [adding opus support to 9front](http://nopenopenope.net/posts/audcomp) |
| 40 | (scroll down on the post). | 31 | (scroll down on the post). |
| @@ -0,0 +1,70 @@ | |||
| 1 | #!/bin/rc | ||
| 2 | rfork ne | ||
| 3 | flag e + | ||
| 4 | |||
| 5 | cd .. | ||
| 6 | |||
| 7 | test -d dav1d || { hget https://git.sr.ht/~ft/dav1d/archive/master.tar.gz | tar xz && \ | ||
| 8 | mv dav1d-master dav1d && \ | ||
| 9 | cd dav1d/src && \ | ||
| 10 | mk && \ | ||
| 11 | cd ../../ | ||
| 12 | } | ||
| 13 | |||
| 14 | test -d faad2-master || { hget https://git.sr.ht/~ft/faad2/archive/master.tar.gz | tar xz && \ | ||
| 15 | cd faad2-master/libfaad && \ | ||
| 16 | mk install && \ | ||
| 17 | cd ../frontend && \ | ||
| 18 | mk install && \ | ||
| 19 | cd ../.. | ||
| 20 | } | ||
| 21 | |||
| 22 | test -d h264bsd || { hget https://git.sr.ht/~ft/h264bsd/archive/master.tar.gz | tar xz && \ | ||
| 23 | mv h264bsd-master h264bsd && \ | ||
| 24 | cd h264bsd/src && \ | ||
| 25 | mk && \ | ||
| 26 | cd ../.. | ||
| 27 | } | ||
| 28 | |||
| 29 | test -d libvpx || { hget https://git.sr.ht/~ft/libvpx/archive/master.tar.gz | tar xz && \ | ||
| 30 | mv libvpx-master libvpx && \ | ||
| 31 | cd libvpx && \ | ||
| 32 | mk && \ | ||
| 33 | cd .. | ||
| 34 | } | ||
| 35 | |||
| 36 | test -d mcfs-master || { hget https://git.sr.ht/~ft/mcfs/archive/master.tar.gz | tar xz && \ | ||
| 37 | cd mcfs-master && \ | ||
| 38 | mk install && \ | ||
| 39 | cd .. | ||
| 40 | } | ||
| 41 | |||
| 42 | test -d opus || { hget https://github.com/xiph/opus/archive/master.tar.gz | tar xz && \ | ||
| 43 | mv opus-master opus | ||
| 44 | } | ||
| 45 | |||
| 46 | test -d libopusenc || { hget https://github.com/xiph/libopusenc/archive/master.tar.gz | tar xz && \ | ||
| 47 | mv libopusenc-master libopusenc | ||
| 48 | } | ||
| 49 | |||
| 50 | test -d opusfile || { hget https://github.com/xiph/opusfile/archive/master.tar.gz | tar xz && \ | ||
| 51 | mv opusfile-master opusfile | ||
| 52 | } | ||
| 53 | |||
| 54 | test -d opus-tools || { hget https://github.com/xiph/opus-tools/archive/master.tar.gz | tar xz && \ | ||
| 55 | mv opus-tools-master opus-tools | ||
| 56 | } | ||
| 57 | |||
| 58 | test -d alienpatch || { hget https://github.com/qwx9/alienpatch/archive/master.tar.gz | tar xz && \ | ||
| 59 | mv alienpatch-master alienpatch && \ | ||
| 60 | for(i in opus libopusenc opusfile opus-tools) { \ | ||
| 61 | cd $i; \ | ||
| 62 | ape/patch -p0 <../alienpatch/$i || echo failed; \ | ||
| 63 | mk install; \ | ||
| 64 | cd ..; \ | ||
| 65 | } | ||
| 66 | } | ||
| 67 | |||
| 68 | cd treason && \ | ||
| 69 | mk install && \ | ||
| 70 | rm -rf ../^(dav1d faad2-master h264bsd libvpx mcfs-master opus libopusenc opusfile opus-tools alienpatch) | ||