Debian Codegraph @

examples/dune

raw
1 (executable
2 (name meta)
3 (modules meta)
4 (libraries str metadata))
5
6 (executable
7 (name artist_title)
8 (modules artist_title)
9 (libraries str metadata))
10
11 (executable
12 (name basic)
13 (modules basic)
14 (libraries metadata))
15
16 (executable
17 (name dump)
18 (modules dump)
19 (libraries metadata))
20
21 (executable
22 (name mimetype)
23 (modules mimetype)
24 (libraries metadata))
25
26 (executable
27 (name test)
28 (modules test)
29 (optional)
30 (libraries metadata))
31
32 (rule
33 (alias citest)
34 (deps
35 test.mp3
36 test.png
37 test.jpg
38 test.avi
39 test.mp4
40 ; test.mkv
41 ; test.webm
42 test.wav
43 (glob_files id3v2/*.mp3)
44 (glob_files pdf/*.pdf)
45 )
46 (action
47 (progn
48 (run ./basic.exe)
49 (run ./test.exe)
50 (run ./artist_title.exe %{deps})
51 (run ./meta.exe %{deps}))))
52
53 (rule
54 (target test.mp3)
55 (action
56 (run
57 ffmpeg
58 -f
59 lavfi
60 -i
61 "sine=frequency=440:sample_rate=44100:duration=10"
62 -f
63 mp3
64 -write_id3v1
65 true
66 -metadata
67 "title=The title"
68 -metadata
69 "artist=The artist"
70 -metadata
71 "album=The album"
72 test.mp3)))
73
74 (rule
75 (target test.wav)
76 (action
77 (run
78 ffmpeg
79 -f
80 lavfi
81 -i
82 "sine=frequency=440:sample_rate=44100:duration=10"
83 -f
84 wav
85 -metadata
86 "title=The title"
87 -metadata
88 "artist=The artist"
89 -metadata
90 "album=The album"
91 test.wav)))
92
93 (rule
94 (target test.png)
95 (action
96 (run
97 ffmpeg
98 -f
99 lavfi
100 -i
101 color=size=320x240:color=blue
102 -vf
103 "drawtext=fontsize=30:fontcolor=white:x=(w-text_w)/2:y=(h-text_h)/2:text=Testing"
104 -metadata
105 "title=The title"
106 -metadata
107 "artist=The artist"
108 -frames:v
109 1
110 test.png)))
111
112 (rule
113 (target test.jpg)
114 (action
115 (run
116 ffmpeg
117 -f
118 lavfi
119 -i
120 color=size=320x240:color=blue
121 -vf
122 "drawtext=fontsize=30:fontcolor=white:x=(w-text_w)/2:y=(h-text_h)/2:text=Testing"
123 -frames:v
124 1
125 test.jpg)))
126
127 (rule
128 (target test.avi)
129 (action
130 (run
131 ffmpeg
132 -f
133 lavfi
134 -i
135 testsrc=duration=1:size=640x480:rate=25
136 -metadata
137 "title=The title"
138 -metadata
139 "artist=The artist"
140 -metadata
141 "year=2022"
142 test.avi)))
143
144 (rule
145 (target test.mp4)
146 (action
147 (run
148 ffmpeg
149 -f
150 lavfi
151 -i
152 testsrc=duration=1:size=640x480:rate=25
153 -metadata
154 "title=The title"
155 -metadata
156 "artist=The artist"
157 -metadata
158 "year=2022"
159 test.mp4)))
160
161 (rule
162 (target test.mkv)
163 (action
164 (run
165 ffmpeg
166 -f
167 lavfi
168 -i
169 testsrc=duration=1:size=640x480:rate=25
170 -metadata
171 "title=The title"
172 -metadata
173 "artist=The artist"
174 -metadata
175 "year=2022"
176 test.mkv)))
177
178 (rule
179 (target test.webm)
180 (action
181 (run
182 ffmpeg
183 -f
184 lavfi
185 -i
186 testsrc=duration=1:size=640x480:rate=25
187 -metadata
188 "title=The title"
189 -metadata
190 "artist=The artist"
191 -metadata
192 "year=2022"
193 test.webm)))