Current section

Files

Jump to

mix.exs

defmodule Membrane.RTP.VP8.Plugin.Mixfile do
use Mix.Project
@version "0.4.0"
@github_url "https://github.com/membraneframework/membrane_rtp_vp8_plugin"
def project do
[
app: :membrane_rtp_vp8_plugin,
version: @version,
elixir: "~> 1.10",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
# hex
description: "Membrane RTP payloader and depayloader for VP8",
package: package(),
# docs
name: "Membrane RTP VP8 Plugin",
source_url: @github_url,
homepage_url: "https://membraneframework.org",
docs: docs()
]
end
def application do
[
extra_applications: [],
mod: {Membrane.RTP.VP8.Plugin.App, []}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_env), do: ["lib"]
defp deps do
[
{:membrane_core, "~> 0.10.0"},
{:membrane_rtp_format, "~> 0.4.0"},
{:membrane_vp8_format, "~> 0.4.0"},
{:membrane_file_plugin, "~> 0.12.0"},
{:membrane_rtp_plugin, "~> 0.12.0", only: :test},
{:ex_libsrtp, "~> 0.3.0", only: :test},
{:membrane_pcap_plugin,
github: "membraneframework/membrane_pcap_plugin", tag: "v0.6.1", only: :test},
{:membrane_ivf_plugin, "0.4.1", only: :test},
{:ex_doc, "~> 0.24", only: :dev, runtime: false},
{:dialyxir, "~> 1.0.0", only: :dev, runtime: false},
{:credo, "~> 1.4", only: :dev, runtime: false}
]
end
defp package do
[
maintainers: ["Membrane Team"],
licenses: ["Apache-2.0"],
links: %{
"GitHub" => @github_url,
"Membrane Framework Homepage" => "https://membraneframework.org"
}
]
end
defp docs do
[
main: "readme",
extras: ["README.md", "LICENSE"],
source_ref: "v#{@version}",
nest_modules_by_prefix: [Membrane.RTP.VP8]
]
end
end