~ft/treason

ref: 6fa1efaa45e7a80e2883502bcf15122ad0245bce treason/mkfile -rw-r--r-- 1.1 KiB
6fa1efaaIgor Böhm install.rc: faad2 → aacdec, to follow the new name of the repo 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
</$objtype/mkfile

CFLAGS=$CFLAGS -D__plan9__ -p -D__${objtype}__\
 -I../dav1d/include/dav1d -I../dav1d/src/plan9\
 -I../libvpx/vpx\
 -I../openh264/codec -I../openh264/codec/api/svc -I../openh264/codec/common/inc -I../openh264/codec/decoder/core/inc

TARG=treason
BIN=/$objtype/bin
CLEANFILES=$TARG.gz

HFILES=\
	decoder.h\
	frame.h\
	misc.h\
	stream.h\

OFILES=\
	decoder.$O\
	decoder_av1.$O\
	decoder_h264.$O\
	decoder_vpx.$O\
	frame.$O\
	main.$O\
	misc.$O\
	stream.$O\
	stream_audio.$O\
	stream_ivf.$O\
	stream_mc.$O\
	stream_sub.$O\
	yuv.$O\

default:V:	all

release:V: $TARG.gz

../opus:
	mkdir -p ../opus
	cd ../opus
	hget https://github.com/qwx9/alienpatch/archive/master.tar.gz | tar zx
	for(o in opus libopusenc opusfile opus-tools){
		hget https://github.com/xiph/$o/archive/master.tar.gz | tar zx && \
		@{mv $o-master $o && cd $o && ape/patch -p0 <../alienpatch-master/$o}
	}
	cd opus-tools && \
		ape/patch -p0 <../alienpatch-master/opus-tools-defaults && \
		ape/patch -p0 <../alienpatch-master/opus-tools-seek && \
		cd ..
	rm -r alienpatch-master

$TARG.gz: ../opus
	disk/mkfs -a -s .. proto | gzip -9 > $target
	du -hs $target

</sys/src/cmd/mkone