History

provide an easier to use install script

Sigrid Solveig Haflínudóttir committed 6 years ago

Commit 204f2bb1 parent db8bb1c2 files · +72 −11Browse files

Unified · Split

2 files
  1. README.md +2 −11
  2. install.rc +70 −0
README.md+2−11
@@ -23,18 +23,9 @@ More is coming. Patches are very welcome, too. · 22 unmodified lines
23Install [git9](https://github.com/oridb/git9), then:23Install [git9](https://github.com/oridb/git9), then:
24 24
25 cd /tmp25 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/treason26 git/clone https://git.sr.ht/~ft/treason
32 cd libvpx && mk27 cd treason
33 cd ../dav1d/src && mk28 ./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
39For opus decoding see [adding opus support to 9front](http://nopenopenope.net/posts/audcomp)30For 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).
install.rc+70−0
@@ -0,0 +1,70 @@
1#!/bin/rc
2rfork ne
3flag e +
4
5cd ..
6
7test -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
14test -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
22test -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
29test -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
36test -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
42test -d opus || { hget https://github.com/xiph/opus/archive/master.tar.gz | tar xz && \
43 mv opus-master opus
44}
45
46test -d libopusenc || { hget https://github.com/xiph/libopusenc/archive/master.tar.gz | tar xz && \
47 mv libopusenc-master libopusenc
48}
49
50test -d opusfile || { hget https://github.com/xiph/opusfile/archive/master.tar.gz | tar xz && \
51 mv opusfile-master opusfile
52}
53
54test -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
58test -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
68cd treason && \
69 mk install && \
70 rm -rf ../^(dav1d faad2-master h264bsd libvpx mcfs-master opus libopusenc opusfile opus-tools alienpatch)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t