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