Skip to content

Commit ac7d1bb

Browse files
committed
Add post install message on error.
1 parent afeba4f commit ac7d1bb

15 files changed

+86
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ ocaml-ffmpeg
77

88
ocaml-ffmpeg is an OCaml interface for the [FFmpeg](http://ffmpeg.org/) Multimedia framework.
99

10+
Currently, it requires FFmpeg 7.0 or later to compile.
11+
1012
The modules currently available are :
1113

1214
`Avutil` : base module containing the share types and utilities

ffmpeg-av.opam

+6
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,9 @@ build: [
3535
]
3636
]
3737
dev-repo: "git+https://github.com/savonet/ocaml-ffmpeg.git"
38+
post-messages: [
39+
"""\
40+
We're sorry that your install failed. Make sure to check the README.md file
41+
to check what minimal version of FFmpeg this package requires."""
42+
{failure}
43+
]

ffmpeg-av.opam.template

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
post-messages: [
2+
"""\
3+
We're sorry that your install failed. Make sure to check the README.md file
4+
to check what minimal version of FFmpeg this package requires."""
5+
{failure}
6+
]

ffmpeg-avcodec.opam

+6
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,9 @@ build: [
3434
]
3535
]
3636
dev-repo: "git+https://github.com/savonet/ocaml-ffmpeg.git"
37+
post-messages: [
38+
"""\
39+
We're sorry that your install failed. Make sure to check the README.md file
40+
to check what minimal version of FFmpeg this package requires."""
41+
{failure}
42+
]

ffmpeg-avcodec.opam.template

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
post-messages: [
2+
"""\
3+
We're sorry that your install failed. Make sure to check the README.md file
4+
to check what minimal version of FFmpeg this package requires."""
5+
{failure}
6+
]

ffmpeg-avdevice.opam

+6
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,9 @@ build: [
3434
]
3535
]
3636
dev-repo: "git+https://github.com/savonet/ocaml-ffmpeg.git"
37+
post-messages: [
38+
"""\
39+
We're sorry that your install failed. Make sure to check the README.md file
40+
to check what minimal version of FFmpeg this package requires."""
41+
{failure}
42+
]

ffmpeg-avdevice.opam.template

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
post-messages: [
2+
"""\
3+
We're sorry that your install failed. Make sure to check the README.md file
4+
to check what minimal version of FFmpeg this package requires."""
5+
{failure}
6+
]

ffmpeg-avfilter.opam

+6
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,9 @@ build: [
3434
]
3535
]
3636
dev-repo: "git+https://github.com/savonet/ocaml-ffmpeg.git"
37+
post-messages: [
38+
"""\
39+
We're sorry that your install failed. Make sure to check the README.md file
40+
to check what minimal version of FFmpeg this package requires."""
41+
{failure}
42+
]

ffmpeg-avfilter.opam.template

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
post-messages: [
2+
"""\
3+
We're sorry that your install failed. Make sure to check the README.md file
4+
to check what minimal version of FFmpeg this package requires."""
5+
{failure}
6+
]

ffmpeg-avutil.opam

+6
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,9 @@ build: [
3434
]
3535
]
3636
dev-repo: "git+https://github.com/savonet/ocaml-ffmpeg.git"
37+
post-messages: [
38+
"""\
39+
We're sorry that your install failed. Make sure to check the README.md file
40+
to check what minimal version of FFmpeg this package requires."""
41+
{failure}
42+
]

ffmpeg-avutil.opam.template

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
post-messages: [
2+
"""\
3+
We're sorry that your install failed. Make sure to check the README.md file
4+
to check what minimal version of FFmpeg this package requires."""
5+
{failure}
6+
]

ffmpeg-swresample.opam

+6
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,9 @@ build: [
3535
]
3636
]
3737
dev-repo: "git+https://github.com/savonet/ocaml-ffmpeg.git"
38+
post-messages: [
39+
"""\
40+
We're sorry that your install failed. Make sure to check the README.md file
41+
to check what minimal version of FFmpeg this package requires."""
42+
{failure}
43+
]

ffmpeg-swresample.opam.template

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
post-messages: [
2+
"""\
3+
We're sorry that your install failed. Make sure to check the README.md file
4+
to check what minimal version of FFmpeg this package requires."""
5+
{failure}
6+
]

ffmpeg-swscale.opam

+6
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,9 @@ build: [
3434
]
3535
]
3636
dev-repo: "git+https://github.com/savonet/ocaml-ffmpeg.git"
37+
post-messages: [
38+
"""\
39+
We're sorry that your install failed. Make sure to check the README.md file
40+
to check what minimal version of FFmpeg this package requires."""
41+
{failure}
42+
]

ffmpeg-swscale.opam.template

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
post-messages: [
2+
"""\
3+
We're sorry that your install failed. Make sure to check the README.md file
4+
to check what minimal version of FFmpeg this package requires."""
5+
{failure}
6+
]

0 commit comments

Comments
 (0)