-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
203 lines (203 loc) · 5.54 KB
/
opam
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
opam-version: "2.0"
synopsis: "Swiss-army knife for multimedia streaming"
description: """\
Liquidsoap is a powerful and flexible language for describing your
streams. It offers a rich collection of operators that you can combine
at will, giving you more power than you need for creating or
transforming streams. But liquidsoap is still very light and easy to
use, in the Unix tradition of simple strong components working
together."""
maintainer: "romain.beauxis@gmail.com"
authors: "The Savonet Team <savonet-users@lists.sourceforge.net>"
license: "GPL-2.0-or-later"
homepage: "https://github.com/savonet/liquidsoap"
bug-reports: "https://github.com/savonet/liquidsoap/issues"
depends: [
"conf-autoconf" {dev}
"conf-automake" {dev}
"ocaml" {>= "4.12.0"}
"camomile" {>= "1.0.0" & < "2.0.0"}
"dtools" {>= "0.4.4"}
"duppy" {>= "0.9.1" & < "0.9.3"}
"menhir" {>= "20180703" & <= "20211128"}
"mm" {>= "0.8.0"}
"ocamlfind" {build}
"conf-pkg-config" {build}
"conf-which" {build}
"pcre"
"sedlex" {>= "2.2"}
]
depopts: [
"alsa"
"ao"
"bjack"
"camlimages"
"cry"
"dssi"
"faad"
"fdkaac"
"ffmpeg"
"flac"
"frei0r"
"gd"
"graphics"
"gstreamer"
"inotify"
"ladspa"
"lame"
"lastfm"
"lilv"
"lo"
"mad"
"magic"
"mem_usage"
"memtrace"
"mem_usage"
"ocurl"
"ogg"
"opus"
"osx-secure-transport"
"portaudio"
"posix-time2"
"pulseaudio"
"prometheus-liquidsoap"
"samplerate"
"shine"
"soundtouch"
"speex"
"srt"
"ssl"
"taglib"
"theora"
"sdl-liquidsoap"
"tsdl"
"tsdl-image"
"tsdl-ttf"
"vorbis"
"xmlplaylist"
"yojson"
]
conflicts: [
"alsa" {< "0.3.0"}
"ao" {< "0.2.0"}
"bjack" {< "0.1.3"}
"cry" {< "0.6.5"}
"cry" {>= "1.0.0"}
"dssi" {< "0.1.3"}
"faad" {< "0.5.0"}
"fdkaac" {< "0.3.1"}
"ffmpeg" {< "1.1.2"}
"ffmpeg" {>= "1.1.8"}
"ffmpeg-avutil" {< "1.1.2"}
"ffmpeg-avutil" {>= "1.1.8"}
"ffmpeg-av" {< "1.1.2"}
"ffmpeg-av" {>= "1.1.8"}
"ffmpeg-avcodec" {< "1.1.2"}
"ffmpeg-avcodec" {>= "1.1.8"}
"ffmpeg-avdevice" {< "1.1.2"}
"ffmpeg-avdevice" {>= "1.1.8"}
"ffmpeg-avfilter" {< "1.1.2"}
"ffmpeg-avfilter" {>= "1.1.8"}
"ffmpeg-swresample" {< "1.1.2"}
"ffmpeg-swresample" {>= "1.1.8"}
"ffmpeg-swscale" {< "1.1.2"}
"ffmpeg-swscale" {>= "1.1.8"}
"flac" {< "0.3.0" | >= "0.4.0"}
"frei0r" {< "0.1.0"}
"gstreamer" {< "0.3.1"}
"inotify" {< "1.0"}
"ladspa" {< "0.2.0"}
"lame" {< "0.3.5"}
"lastfm" {< "0.3.0"}
"lo" {< "0.2.0"}
"mad" {< "0.5.0"}
"magic" {< "0.6"}
"ocurl" {< "0.9.2"}
"ogg" {< "0.7.0"}
"opus" {< "0.2.0"}
"portaudio" {< "0.2.0"}
"pulseaudio" {< "0.1.4"}
"samplerate" {< "0.1.5"}
"sdl-liquidsoap" {< "2"}
"shine" {< "0.2.0"}
"soundtouch" {< "0.1.9"}
"speex" {< "0.4.0"}
"srt" {< "0.2.1"}
"ssl" {< "0.5.2"}
"taglib" {< "0.3.7"}
"tsdl-image" {< "0.3.2"}
"theora" {< "0.4.0"}
"vorbis" {< "0.8.0"}
"xmlplaylist" {< "0.1.3"}
"camlimages" {>= "5.0.5"}
]
build: [
["./bootstrap"] {dev}
[
"./configure"
"--prefix"
prefix
"--sbindir=%{lib}%/liquidsoap/sbin"
"--libexecdir=%{lib}%/liquidsoap/libexec"
"--sysconfdir=%{lib}%/liquidsoap/etc"
"--sharedstatedir=%{lib}%/liquidsoap/com"
"--localstatedir=%{lib}%/liquidsoap/var"
"--libdir=%{lib}%/liquidsoap/lib"
"--includedir=%{lib}%/liquidsoap/include"
"--datarootdir=%{lib}%/liquidsoap/share"
"--with-bash-completion-dir=%{lib}%/liquidsoap/etc/bash_completion.d"
"--with-user=dummy"
"--with-group=dummy"
]
[make "clean"] {dev}
[make]
]
install: [make "install"]
remove: ["rm" "-rf" "%{lib}%/liquidsoap"]
post-messages: [
"""\
We're sorry that your liquidsoap install failed. Check out our installation
instructions at: https://www.liquidsoap.info/doc-%{version}%/install.html#opam
for more information."""
{failure}
"✨ Congratulations on installing liquidsoap! ✨" {success}
"""\
We noticed that you did not install any mp3 decoder. This is a feature most
users want. You might need to install the mad or ffmpeg package."""
{success & !mad-enabled & !ffmpeg-enabled}
"""\
We noticed that you did not install any mp3 encoder. This is a feature most
users want. You might need to install the lame or shine package."""
{success & !lame-enabled & !shine-enabled & !ffmpeg-enabled}
"""\
We noticed that you did not install the taglib package that provides support
for reading metatadata in audio files. This is a feature most users want."""
{success & !taglib-enabled}
"""\
We noticed that you did not install the samplerate package. We strongly
recommend this package for audio samplerate conversion."""
{success & !samperate-enabled}
"""\
We noticed that you did not install the ocurl package. We strongly
recommend this package for http request resolving support."""
{success & !curl-enabled}
"""\
We noticed that you did not install the cry package that provides icecast
output. This is a feature most users want."""
{success & !cry-enabled}
"""\
We noticed that you did not install any ssl support package. Liquidsoap won't
be able to use any HTTPS feature. You might want to install one of ssl or
osx-secure-transport package."""
{success & !ssl-enabled & !secure-transport-enabled}
]
depexts: ["coreutils"] {os = "macos" & os-distribution = "homebrew"}
dev-repo: "git+https://github.com/savonet/liquidsoap.git"
url {
src:
"https://github.com/savonet/liquidsoap/releases/download/v2.0.4/liquidsoap-2.0.4.tar.bz2"
checksum: [
"md5=24aba1f48cc65c32f99e2b96a5d3230e"
"sha512=66390925266bcd8ac2bc410a9d21a2f8db3a7d64b98fd31e34195d758e42a4ad343627122caf341e2ed4b2e990154cef2961f58d4e67a86f72cc9cf3f59a9a41"
]
}