|
| 1 | +# This file is generated by dune, edit dune-project instead |
| 2 | +opam-version: "2.0" |
| 3 | +synopsis: "Swiss-army knife for multimedia streaming" |
| 4 | +description: """ |
| 5 | +Liquidsoap is a powerful and flexible language for describing your |
| 6 | +streams. It offers a rich collection of operators that you can combine |
| 7 | +at will, giving you more power than you need for creating or |
| 8 | +transforming streams. But liquidsoap is still very light and easy to |
| 9 | +use, in the Unix tradition of simple strong components working |
| 10 | +together. |
| 11 | +""" |
| 12 | +maintainer: ["The Savonet Team < [email protected]>"] |
| 13 | +authors: ["The Savonet Team < [email protected]>"] |
| 14 | +license: "GPL-2.0-or-later" |
| 15 | +homepage: "https://github.com/savonet/liquidsoap" |
| 16 | +bug-reports: "https://github.com/savonet/liquidsoap/issues" |
| 17 | +depends: [ |
| 18 | + "dune" {>= "3.6"} |
| 19 | + "ocaml" {>= "4.14"} |
| 20 | + "dtools" {>= "0.4.5"} |
| 21 | + "duppy" {>= "0.9.4"} |
| 22 | + "mm" {>= "0.8.6"} |
| 23 | + "re" {>= "1.11.0"} |
| 24 | + "ocurl" {>= "0.9.2"} |
| 25 | + "cry" {>= "1.0.3"} |
| 26 | + "camomile" {>= "2.0.0"} |
| 27 | + "uri" |
| 28 | + "fileutils" |
| 29 | + "menhirLib" |
| 30 | + "mem_usage" {>= "0.1.1"} |
| 31 | + "metadata" {>= "0.3.0"} |
| 32 | + "magic-mime" |
| 33 | + "dune-build-info" |
| 34 | + "liquidsoap-lang" {= version} |
| 35 | + "ppx_string" {build} |
| 36 | + "odoc" {with-doc} |
| 37 | +] |
| 38 | +depopts: [ |
| 39 | + "alsa" |
| 40 | + "ao" |
| 41 | + "bjack" |
| 42 | + "camlimages" |
| 43 | + "ctypes-foreign" |
| 44 | + "dssi" |
| 45 | + "faad" |
| 46 | + "fdkaac" |
| 47 | + "ffmpeg" |
| 48 | + "flac" |
| 49 | + "frei0r" |
| 50 | + "gd" |
| 51 | + "graphics" |
| 52 | + "imagelib" |
| 53 | + "inotify" |
| 54 | + "irc-client-unix" |
| 55 | + "jemalloc" |
| 56 | + "ladspa" |
| 57 | + "lame" |
| 58 | + "lilv" |
| 59 | + "lo" |
| 60 | + "mad" |
| 61 | + "memtrace" |
| 62 | + "ogg" |
| 63 | + "opus" |
| 64 | + "osc-unix" |
| 65 | + "portaudio" |
| 66 | + "posix-time2" |
| 67 | + "posix-socket" |
| 68 | + "pulseaudio" |
| 69 | + "prometheus-liquidsoap" |
| 70 | + "samplerate" |
| 71 | + "shine" |
| 72 | + "soundtouch" |
| 73 | + "speex" |
| 74 | + "sqlite3" |
| 75 | + "srt" |
| 76 | + "ssl" |
| 77 | + "tls-liquidsoap" |
| 78 | + "theora" |
| 79 | + "sdl-liquidsoap" |
| 80 | + "vorbis" |
| 81 | + "yaml" |
| 82 | + "xmlplaylist" |
| 83 | +] |
| 84 | +conflicts: [ |
| 85 | + "alsa" {< "0.3.0"} |
| 86 | + "ao" {< "0.2.0"} |
| 87 | + "bjack" {< "0.1.3"} |
| 88 | + "camomile" {< "1.0.0"} |
| 89 | + "dssi" {< "0.1.3"} |
| 90 | + "faad" {< "0.5.0"} |
| 91 | + "fdkaac" {< "0.3.1"} |
| 92 | + "ffmpeg" {< "1.2.0"} |
| 93 | + "ffmpeg-avutil" {< "1.2.0"} |
| 94 | + "flac" {< "1.0.0"} |
| 95 | + "frei0r" {< "0.1.0"} |
| 96 | + "inotify" {< "1.0"} |
| 97 | + "ladspa" {< "0.2.0"} |
| 98 | + "lame" {< "0.3.7"} |
| 99 | + "lo" {< "0.2.0"} |
| 100 | + "mad" {< "0.5.0"} |
| 101 | + "magic" {< "0.6"} |
| 102 | + "ogg" {< "1.0.0"} |
| 103 | + "opus" {< "0.2.0"} |
| 104 | + "portaudio" {< "0.2.0"} |
| 105 | + "posix-time2" {< "2.0.2"} |
| 106 | + "posix-socket" {< "2.1.0"} |
| 107 | + "pulseaudio" {< "0.1.4"} |
| 108 | + "samplerate" {< "0.1.5"} |
| 109 | + "shine" {< "0.2.0"} |
| 110 | + "soundtouch" {< "0.1.9"} |
| 111 | + "speex" {< "1.0.0"} |
| 112 | + "srt" {< "0.3.2"} |
| 113 | + "ssl" {< "0.7.0"} |
| 114 | + "tls" {< "1.0.2"} |
| 115 | + "sdl-liquidsoap" {< "2"} |
| 116 | + "theora" {< "1.0.0"} |
| 117 | + "vorbis" {< "1.0.0"} |
| 118 | + "xmlplaylist" {< "0.1.3"} |
| 119 | + "pandoc" {with-doc} |
| 120 | + "pandoc-include" {with-doc} |
| 121 | +] |
| 122 | +build: [ |
| 123 | + ["dune" "subst"] {dev} |
| 124 | + [ |
| 125 | + "dune" |
| 126 | + "build" |
| 127 | + "-p" |
| 128 | + name |
| 129 | + "-j" |
| 130 | + jobs |
| 131 | + "--promote-install-files=false" |
| 132 | + "@install" |
| 133 | + "@runtest" {with-test} |
| 134 | + "@doc" {with-doc} |
| 135 | + ] |
| 136 | + ["dune" "install" "-p" name "--create-install-files" name] |
| 137 | +] |
| 138 | +post-messages: [ |
| 139 | + """\ |
| 140 | +We're sorry that your liquidsoap install failed. Check out our installation |
| 141 | +instructions at: https://www.liquidsoap.info/doc-%{version}%/install.html#opam |
| 142 | +for more information.""" |
| 143 | + {failure} |
| 144 | + "✨ Congratulations on installing liquidsoap! ✨" {success} |
| 145 | + """\ |
| 146 | +We noticed that you did not install the ffmpeg package. This package is |
| 147 | +highly recommended for most users and provides a lot of useful features, |
| 148 | +including decoding and encoding multiple media format, sending and |
| 149 | +receiving from various inputs and outputs and more.""" |
| 150 | + {success & !ffmpeg-enabled} |
| 151 | + """\ |
| 152 | +We noticed that you did not install any ssl or tls support. Liquidsoap won't |
| 153 | +be able to use SSL encryption in its input or output operators. You might want |
| 154 | +to install one of ssl or tls-liquidsoap package.""" |
| 155 | + {success & !ssl-enabled & !tls-enabled} |
| 156 | +] |
| 157 | +x-maintenance-intent: ["(latest)"] |
| 158 | +depexts: ["coreutils"] {os = "macos" & os-distribution = "homebrew"} |
| 159 | +dev-repo: "git+https://github.com/savonet/liquidsoap.git" |
| 160 | +url { |
| 161 | + src: |
| 162 | + "https://github.com/savonet/liquidsoap-release-assets/releases/download/v2.3.1/liquidsoap-2.3.1.tar.gz" |
| 163 | + checksum: [ |
| 164 | + "md5=2ac47f2e67464834c07316a42f0dc4dd" |
| 165 | + "sha512=837034db19491b652457c7b4eb9a37d8f0b5d1b98b66a396814a894e481b87e04cff473ffe2be043d91a5f19e145c37716e98b41f89119b193ae9b628ea404e5" |
| 166 | + ] |
| 167 | +} |
0 commit comments