this repo has no description

Merge pull request #20358 from toots/liquidsoap.2.0.2-1

Add liquidsoap.2.0.2-1 with bugfix patch, switch to s3 hosted tarball.

Kate 9fa20588 8fd7b086

Changed files
+207 -5
packages
liquidsoap
liquidsoap.2.0.0
liquidsoap.2.0.1
liquidsoap.2.0.2
liquidsoap.2.0.2-1
+1 -1
packages/liquidsoap/liquidsoap.2.0.0/opam
···
"camomile" {>= "1.0.0"}
"dtools" {>= "0.4.4"}
"duppy" {>= "0.9.1"}
-
"menhir" {>= "20180703"}
"mm" {>= "0.7.0"}
"ocamlfind" {build}
"conf-pkg-config" {build}
···
"camomile" {>= "1.0.0"}
"dtools" {>= "0.4.4"}
"duppy" {>= "0.9.1"}
+
"menhir" {>= "20180703" & <= "20211128"}
"mm" {>= "0.7.0"}
"ocamlfind" {build}
"conf-pkg-config" {build}
+1 -1
packages/liquidsoap/liquidsoap.2.0.1/opam
···
"camomile" {>= "1.0.0"}
"dtools" {>= "0.4.4"}
"duppy" {>= "0.9.1"}
-
"menhir" {>= "20180703"}
"mm" {>= "0.7.0"}
"ocamlfind" {build}
"conf-pkg-config" {build}
···
"camomile" {>= "1.0.0"}
"dtools" {>= "0.4.4"}
"duppy" {>= "0.9.1"}
+
"menhir" {>= "20180703" & <= "20211128"}
"mm" {>= "0.7.0"}
"ocamlfind" {build}
"conf-pkg-config" {build}
+19
packages/liquidsoap/liquidsoap.2.0.2-1/files/fix-last-metadata.diff
···
···
+
commit c067439d9fc04046b9e8996b4b07f822c6873403
+
Author: Romain Beauxis <toots@rastageeks.org>
+
Date: Sun Jan 2 10:19:50 2022 -0600
+
+
Bump windows ffmpeg packages, install tsdl-image with fix in docker images, fix type for last_metadata.
+
+
diff --git a/src/lang/lang.ml b/src/lang/lang.ml
+
index 2dc4e28e..490ef04a 100644
+
--- a/src/lang/lang.ml
+
+++ b/src/lang/lang.ml
+
@@ -608,7 +608,7 @@ let source_methods =
+
initialized.",
+
fun s -> val_fun [] (fun _ -> bool s#is_ready) );
+
( "last_metadata",
+
- ([], fun_t [(false, "", fun_t [] (nullable_t metadata_t))] unit_t),
+
+ ([], fun_t [] (nullable_t metadata_t)),
+
"Return the last metadata from the source.",
+
fun s ->
+
val_fun [] (fun _ ->
+183
packages/liquidsoap/liquidsoap.2.0.2-1/opam
···
···
+
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"
+
patches: [
+
"fix-last-metadata.diff"
+
]
+
extra-files: [
+
["fix-last-metadata.diff" "md5=bcd8f7659e1e935233e025bd39728670"]
+
]
+
depends: [
+
"conf-autoconf" {dev}
+
"conf-automake" {dev}
+
"ocaml" {>= "4.08.0"}
+
"camomile" {>= "1.0.0"}
+
"dtools" {>= "0.4.4"}
+
"duppy" {>= "0.9.1"}
+
"menhir" {>= "20180703" & <= "20211128"}
+
"mm" {>= "0.7.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"
+
"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"}
+
"dssi" {< "0.1.3"}
+
"faad" {< "0.5.0"}
+
"fdkaac" {< "0.3.1"}
+
"ffmpeg" {< "1.1.1"}
+
"flac" {< "0.3.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"}
+
"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.2.0"}
+
"theora" {< "0.4.0"}
+
"vorbis" {< "0.8.0"}
+
"xmlplaylist" {< "0.1.3"}
+
]
+
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"]
+
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 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-opam-archives/raw/main/liquidsoap-2.0.2.tar.bz2"
+
checksum: [
+
"md5=3ab39586ed5c35f415db4f347bfab2f6"
+
"sha512=260e3a0d3d32ef878129f47df322a3e2b72834b1e8ee2fcc1f140b22c0e3ac22b9f03891290b01755a809fbc56c3b5329734aa5ea2bb76a5b6fcdfcbafe35dc3"
+
]
+
}
+3 -3
packages/liquidsoap/liquidsoap.2.0.2/opam
···
"camomile" {>= "1.0.0"}
"dtools" {>= "0.4.4"}
"duppy" {>= "0.9.1"}
-
"menhir" {>= "20180703"}
"mm" {>= "0.7.0"}
"ocamlfind" {build}
"conf-pkg-config" {build}
···
dev-repo: "git+https://github.com/savonet/liquidsoap.git"
url {
src:
-
"https://github.com/savonet/liquidsoap/releases/download/v2.0.2/liquidsoap-2.0.2.tar.bz2"
checksum: [
"md5=3ab39586ed5c35f415db4f347bfab2f6"
"sha512=260e3a0d3d32ef878129f47df322a3e2b72834b1e8ee2fcc1f140b22c0e3ac22b9f03891290b01755a809fbc56c3b5329734aa5ea2bb76a5b6fcdfcbafe35dc3"
]
-
}
···
"camomile" {>= "1.0.0"}
"dtools" {>= "0.4.4"}
"duppy" {>= "0.9.1"}
+
"menhir" {>= "20180703" & <= "20211128"}
"mm" {>= "0.7.0"}
"ocamlfind" {build}
"conf-pkg-config" {build}
···
dev-repo: "git+https://github.com/savonet/liquidsoap.git"
url {
src:
+
"https://github.com/savonet/liquidsoap-opam-archives/raw/main/liquidsoap-2.0.2.tar.bz2"
checksum: [
"md5=3ab39586ed5c35f415db4f347bfab2f6"
"sha512=260e3a0d3d32ef878129f47df322a3e2b72834b1e8ee2fcc1f140b22c0e3ac22b9f03891290b01755a809fbc56c3b5329734aa5ea2bb76a5b6fcdfcbafe35dc3"
]
+
}