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.0.0"}
19 "camomile" {>= "1.0.0" & < "2.0.0"}
20 "dtools" {>= "0.4.4"}
21 "duppy" {>= "0.9.1" & < "0.9.3"}
22 "menhir" {>= "20180703"}
23 "mm" {>= "0.8.1"}
24 "ocamlfind" {build}
25 "conf-pkg-config" {build}
26 "conf-which" {build}
27 "ocurl"
28 "uri"
29 "pcre" {>= "7.5.0"}
30 "sedlex" {>= "2.2"}
31]
32depopts: [
33 "alsa"
34 "ao"
35 "bjack"
36 "camlimages"
37 "cry"
38 "dssi"
39 "faad"
40 "fdkaac"
41 "ffmpeg"
42 "flac"
43 "frei0r"
44 "gd"
45 "graphics"
46 "gstreamer"
47 "inotify"
48 "irc-client-unix"
49 "ladspa"
50 "lame"
51 "lastfm"
52 "lilv"
53 "lo"
54 "mad"
55 "magic"
56 "memtrace"
57 "mem_usage"
58 "ogg"
59 "opus"
60 "osx-secure-transport"
61 "portaudio"
62 "posix-time2"
63 "pulseaudio"
64 "prometheus-liquidsoap"
65 "samplerate"
66 "shine"
67 "soundtouch"
68 "speex"
69 "srt"
70 "ssl"
71 "taglib"
72 "theora"
73 "sdl-liquidsoap"
74 "tsdl"
75 "tsdl-image"
76 "tsdl-ttf"
77 "vorbis"
78 "xmlplaylist"
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.5"}
90 "ffmpeg" {>= "1.1.8"}
91 "ffmpeg-avutil" {< "1.1.5"}
92 "ffmpeg-avutil" {>= "1.1.8"}
93 "ffmpeg-av" {< "1.1.5"}
94 "ffmpeg-av" {>= "1.1.8"}
95 "ffmpeg-avcodec" {< "1.1.5"}
96 "ffmpeg-avcodec" {>= "1.1.8"}
97 "ffmpeg-avdevice" {< "1.1.5"}
98 "ffmpeg-avdevice" {>= "1.1.8"}
99 "ffmpeg-avfilter" {< "1.1.5"}
100 "ffmpeg-avfilter" {>= "1.1.8"}
101 "ffmpeg-swresample" {< "1.1.5"}
102 "ffmpeg-swresample" {>= "1.1.8"}
103 "ffmpeg-swscale" {< "1.1.5"}
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.10"}
128 "tsdl-image" {< "0.2.0"}
129 "theora" {< "0.4.0"}
130 "vorbis" {< "0.8.0"}
131 "xmlplaylist" {< "0.1.3"}
132]
133build: [
134 ["./bootstrap"] {dev}
135 [
136 "./configure"
137 "--prefix"
138 prefix
139 "--sbindir=%{lib}%/liquidsoap/sbin"
140 "--libexecdir=%{lib}%/liquidsoap/libexec"
141 "--sysconfdir=%{lib}%/liquidsoap/etc"
142 "--sharedstatedir=%{lib}%/liquidsoap/com"
143 "--localstatedir=%{lib}%/liquidsoap/var"
144 "--libdir=%{lib}%/liquidsoap/lib"
145 "--includedir=%{lib}%/liquidsoap/include"
146 "--datarootdir=%{lib}%/liquidsoap/share"
147 "--with-bash-completion-dir=%{lib}%/liquidsoap/etc/bash_completion.d"
148 "--with-user=dummy"
149 "--with-group=dummy"
150 ]
151 [make "clean"] {dev}
152 [make]
153]
154install: [make "install"]
155remove: ["rm" "-rf" "%{lib}%/liquidsoap"]
156post-messages: [
157 """\
158We're sorry that your liquidsoap install failed. Check out our installation
159instructions at: https://www.liquidsoap.info/doc-%{version}%/install.html#opam
160for more information."""
161 {failure}
162 "✨ Congratulations on installing liquidsoap! ✨" {success}
163 """\
164We noticed that you did not install any mp3 decoder. This is a feature most
165users want. You might need to install the mad or ffmpeg package."""
166 {success & !mad-enabled & !ffmpeg-enabled}
167 """\
168We noticed that you did not install any mp3 encoder. This is a feature most
169users want. You might need to install the lame or shine package."""
170 {success & !lame-enabled & !shine-enabled & !ffmpeg-enabled}
171 """\
172We noticed that you did not install the taglib package that provides support
173for reading metatadata in audio files. This is a feature most users want."""
174 {success & !taglib-enabled}
175 """\
176We noticed that you did not install the samplerate package. We strongly
177recommend this package for audio samplerate conversion."""
178 {success & !samperate-enabled}
179 """\
180We noticed that you did not install the cry package that provides icecast
181output. This is a feature most users want."""
182 {success & !cry-enabled}
183 """\
184We noticed that you did not install any ssl support package. Liquidsoap won't
185be able to use any HTTPS feature. You might want to install one of ssl or
186osx-secure-transport package."""
187 {success & !ssl-enabled & !secure-transport-enabled}
188]
189depexts: ["coreutils"] {os = "macos" & os-distribution = "homebrew"}
190dev-repo: "git+https://github.com/savonet/liquidsoap.git"
191url {
192 src:
193 "https://github.com/savonet/liquidsoap-release-assets/releases/download/v2.1.4/liquidsoap-2.1.4.tar.bz2"
194 checksum: [
195 "md5=d235efa31a38fd00f689725455fd7728"
196 "sha512=45e35ea1e0edbdb13d6cdb37cf0034aae55c879f292f9bc3cb879ccb969fd3c358a4a99223fe220b51f0ac25e07f8a100507d2d2a97dda4dbe7502bce3ce7aac"
197 ]
198}
199x-maintenance-intent: ["(latest)"]