{
  "patterns": ["\\blibprotobuf\\b"],
  "dependencies": [
    {
      "packages": ["libprotobuf-dev"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "ubuntu"
        },
        {
          "os": "linux",
          "distribution": "debian"
        }
      ]
    },
    {
      "packages": ["protobuf-devel"],
      "pre_install": [
        {
          "command": "yum install -y epel-release"
        }
      ],
      "constraints": [
        {
          "os": "linux",
          "distribution": "centos",
          "versions": ["6"]
        }
      ]
    },
    {
      "packages": ["protobuf-devel"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "centos",
          "versions": ["7"]
        }
      ]
    },
    {
      "pre_install": [
        { "command": "dnf install -y dnf-plugins-core" },
        { "command": "dnf config-manager --set-enabled powertools" }
      ],
      "packages": ["protobuf-devel"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "centos",
          "versions": ["8"]
        }
      ]
    },
    {
      "packages": ["protobuf-devel"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "fedora"
        }
      ]
    },
    {
      "packages": ["protobuf-devel"],
      "pre_install": [
        { "command": "dnf install -y dnf-plugins-core" },
        { "command": "dnf config-manager --set-enabled crb" }
      ],
      "constraints": [
        {
          "os": "linux",
          "distribution": "rockylinux"
        }
      ]
    },
    {
      "packages": ["protobuf"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "redhat",
          "versions": ["7"]
        }
      ]
    },
    {
      "pre_install": [
        { "command": "subscription-manager repos --enable codeready-builder-for-rhel-8-$(arch)-rpms" }
      ],
      "packages": ["protobuf-devel"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "redhat",
          "versions": ["8"]
        }
      ]
    },
    {
      "packages": ["protobuf-devel"],
      "pre_install": [
        { "command": "subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms" }
      ],
      "constraints": [
        {
          "os": "linux",
          "distribution": "redhat",
          "versions": ["9"]
        }
      ]
    },
    {
      "packages": ["protobuf-devel"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "opensuse"
        },
        {
          "os": "linux",
          "distribution": "sle"
        }
      ]
    },
    {
      "packages": ["protobuf-dev"],
      "constraints": [
        {
          "os": "linux",
          "distribution": "alpine"
        }
      ]
    },
    {
      "packages": [
        "mingw-w64-x86_64-protobuf",
        "mingw-w64-i686-protobuf"
      ],
      "constraints": [
        {
          "os": "windows"
        }
      ]
    }
  ]
}
