Skip to content

Commit 1328651

Browse files
authored
Merge pull request ocaml#23449 from toots/opam-publish-liquidsoap.2.1.4
Package liquidsoap.2.1.4
2 parents f35f871 + 4f57aea commit 1328651

File tree

1 file changed

+183
-0
lines changed
  • packages/liquidsoap/liquidsoap.2.1.4

1 file changed

+183
-0
lines changed
Lines changed: 183 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,183 @@
1+
opam-version: "2.0"
2+
synopsis: "Swiss-army knife for multimedia streaming"
3+
description: """\
4+
Liquidsoap is a powerful and flexible language for describing your
5+
streams. It offers a rich collection of operators that you can combine
6+
at will, giving you more power than you need for creating or
7+
transforming streams. But liquidsoap is still very light and easy to
8+
use, in the Unix tradition of simple strong components working
9+
together."""
10+
maintainer: "[email protected]"
11+
authors: "The Savonet Team <[email protected]>"
12+
license: "GPL-2.0-or-later"
13+
homepage: "https://github.com/savonet/liquidsoap"
14+
bug-reports: "https://github.com/savonet/liquidsoap/issues"
15+
depends: [
16+
"conf-autoconf" {dev}
17+
"conf-automake" {dev}
18+
"ocaml" {>= "4.12.0" & < "5.0.0"}
19+
"camomile" {>= "1.0.0"}
20+
"dtools" {>= "0.4.4"}
21+
"duppy" {>= "0.9.1"}
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+
]
32+
depopts: [
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+
]
80+
conflicts: [
81+
"alsa" {< "0.3.0"}
82+
"ao" {< "0.2.0"}
83+
"bjack" {< "0.1.3"}
84+
"cry" {< "0.6.5"}
85+
"dssi" {< "0.1.3"}
86+
"faad" {< "0.5.0"}
87+
"fdkaac" {< "0.3.1"}
88+
"ffmpeg" {< "1.1.5"}
89+
"ffmpeg-avutil" {< "1.1.5"}
90+
"flac" {< "0.3.0"}
91+
"frei0r" {< "0.1.0"}
92+
"gstreamer" {< "0.3.1"}
93+
"inotify" {< "1.0"}
94+
"ladspa" {< "0.2.0"}
95+
"lame" {< "0.3.5"}
96+
"lastfm" {< "0.3.0"}
97+
"lo" {< "0.2.0"}
98+
"mad" {< "0.5.0"}
99+
"magic" {< "0.6"}
100+
"ocurl" {< "0.9.2"}
101+
"ogg" {< "0.7.0"}
102+
"opus" {< "0.2.0"}
103+
"portaudio" {< "0.2.0"}
104+
"pulseaudio" {< "0.1.4"}
105+
"samplerate" {< "0.1.5"}
106+
"sdl-liquidsoap" {< "2"}
107+
"shine" {< "0.2.0"}
108+
"soundtouch" {< "0.1.9"}
109+
"speex" {< "0.4.0"}
110+
"srt" {< "0.3.0"}
111+
"ssl" {< "0.5.2"}
112+
"taglib" {< "0.3.10"}
113+
"tsdl-image" {< "0.2.0"}
114+
"theora" {< "0.4.0"}
115+
"vorbis" {< "0.8.0"}
116+
"xmlplaylist" {< "0.1.3"}
117+
]
118+
build: [
119+
["./bootstrap"] {dev}
120+
[
121+
"./configure"
122+
"--prefix"
123+
prefix
124+
"--sbindir=%{lib}%/liquidsoap/sbin"
125+
"--libexecdir=%{lib}%/liquidsoap/libexec"
126+
"--sysconfdir=%{lib}%/liquidsoap/etc"
127+
"--sharedstatedir=%{lib}%/liquidsoap/com"
128+
"--localstatedir=%{lib}%/liquidsoap/var"
129+
"--libdir=%{lib}%/liquidsoap/lib"
130+
"--includedir=%{lib}%/liquidsoap/include"
131+
"--datarootdir=%{lib}%/liquidsoap/share"
132+
"--with-bash-completion-dir=%{lib}%/liquidsoap/etc/bash_completion.d"
133+
"--with-user=dummy"
134+
"--with-group=dummy"
135+
]
136+
[make "clean"] {dev}
137+
[make]
138+
]
139+
install: [make "install"]
140+
remove: ["rm" "-rf" "%{lib}%/liquidsoap"]
141+
post-messages: [
142+
"""\
143+
We're sorry that your liquidsoap install failed. Check out our installation
144+
instructions at: https://www.liquidsoap.info/doc-%{version}%/install.html#opam
145+
for more information."""
146+
{failure}
147+
"✨ Congratulations on installing liquidsoap! ✨" {success}
148+
"""\
149+
We noticed that you did not install any mp3 decoder. This is a feature most
150+
users want. You might need to install the mad or ffmpeg package."""
151+
{success & !mad-enabled & !ffmpeg-enabled}
152+
"""\
153+
We noticed that you did not install any mp3 encoder. This is a feature most
154+
users want. You might need to install the lame or shine package."""
155+
{success & !lame-enabled & !shine-enabled & !ffmpeg-enabled}
156+
"""\
157+
We noticed that you did not install the taglib package that provides support
158+
for reading metatadata in audio files. This is a feature most users want."""
159+
{success & !taglib-enabled}
160+
"""\
161+
We noticed that you did not install the samplerate package. We strongly
162+
recommend this package for audio samplerate conversion."""
163+
{success & !samperate-enabled}
164+
"""\
165+
We noticed that you did not install the cry package that provides icecast
166+
output. This is a feature most users want."""
167+
{success & !cry-enabled}
168+
"""\
169+
We noticed that you did not install any ssl support package. Liquidsoap won't
170+
be able to use any HTTPS feature. You might want to install one of ssl or
171+
osx-secure-transport package."""
172+
{success & !ssl-enabled & !secure-transport-enabled}
173+
]
174+
depexts: ["coreutils"] {os = "macos" & os-distribution = "homebrew"}
175+
dev-repo: "git+https://github.com/savonet/liquidsoap.git"
176+
url {
177+
src:
178+
"https://github.com/savonet/liquidsoap-release-assets/releases/download/v2.1.4/liquidsoap-2.1.4.tar.bz2"
179+
checksum: [
180+
"md5=d235efa31a38fd00f689725455fd7728"
181+
"sha512=45e35ea1e0edbdb13d6cdb37cf0034aae55c879f292f9bc3cb879ccb969fd3c358a4a99223fe220b51f0ac25e07f8a100507d2d2a97dda4dbe7502bce3ce7aac"
182+
]
183+
}

0 commit comments

Comments
 (0)