Skip to content

Commit

Permalink
Merge pull request #25442 from dra27/windows-native-depexts
Browse files Browse the repository at this point in the history
Initial depexts for native Windows
  • Loading branch information
mseri authored Mar 12, 2024
2 parents d83a62a + 3e07192 commit 035f72c
Show file tree
Hide file tree
Showing 8 changed files with 126 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/conf-mingw-w64-g++-i686/conf-mingw-w64-g++-i686.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
opam-version: "2.0"
synopsis: "Virtual package for g++ on i686 mingw-w64 (32-bit x86)"
description: "Ensures the i686 version of g++ from the mingw-w64 project is available"
maintainer: "David Allsopp <david@tarides.com>"
authors: "David Allsopp"
license: "GPL-3.0-or-later"
homepage: "https://www.mingw-w64.org"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: conf
available: os = "win32"
build: ["i686-w64-mingw32-g++" "--version"]
depends: ["conf-mingw-w64-gcc-i686" {build}]
depexts: [
["mingw64-i686-gcc-g++"] {os = "win32" & os-distribution = "cygwin"}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
opam-version: "2.0"
synopsis: "Virtual package for g++ on x86_64 mingw-w64 (64-bit x86_64)"
description: "Ensures the x86_64 version of g++ from the mingw-w64 project is available"
maintainer: "David Allsopp <david@tarides.com>"
authors: "David Allsopp"
license: "GPL-3.0-or-later"
homepage: "https://www.mingw-w64.org"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: conf
available: os = "win32"
build: ["x86_64-w64-mingw32-g++" "--version"]
depends: ["conf-mingw-w64-gcc-x86_64" {build}]
depexts: [
["mingw64-x86_64-gcc-g++"] {os = "win32" & os-distribution = "cygwin"}
]
15 changes: 15 additions & 0 deletions packages/conf-mingw-w64-gcc-i686/conf-mingw-w64-gcc-i686.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
opam-version: "2.0"
synopsis: "Virtual package for GCC on i686 mingw-w64 (32-bit x86)"
description: "Ensures the i686 version of GCC from the mingw-w64 project is available"
maintainer: "David Allsopp <david@tarides.com>"
authors: "David Allsopp"
license: "GPL-3.0-or-later"
homepage: "https://www.mingw-w64.org"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: conf
available: os = "win32"
build: ["i686-w64-mingw32-gcc" "--version"]
depexts: [
["mingw64-i686-gcc-core"] {os = "win32" & os-distribution = "cygwin"}
["mingw-w64-i686-gcc"] {os = "win32" & os-distribution = "msys2"}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
opam-version: "2.0"
synopsis: "Virtual package for GCC on x86_64 mingw-w64 (64-bit x86_64)"
description: "Ensures the x86_64 version of GCC from the mingw-w64 project is available"
maintainer: "David Allsopp <david@tarides.com>"
authors: "David Allsopp"
license: "GPL-3.0-or-later"
homepage: "https://www.mingw-w64.org"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: conf
available: os = "win32"
build: ["x86_64-w64-mingw32-gcc" "--version"]
depexts: [
["mingw64-x86_64-gcc-core"] {os = "win32" & os-distribution = "cygwin"}
["mingw-w64-x86_64-gcc"] {os = "win32" & os-distribution = "msys2"}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
opam-version: "2.0"
synopsis: "Virtual package for pkgconf on i686 mingw-w64 (32-bit x86)"
description: "Ensures the i686 version of pkgconf for the mingw-w64 project is available"
maintainer: "David Allsopp <david@tarides.com>"
authors: "Ariadne Conill et al"
license: "ISC"
homepage: "http://pkgconf.org"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: conf
available: os = "win32"
build: ["i686-w64-mingw32-pkgconf" "--version"]
depexts: [
["mingw-w64-i686-pkgconf"] {os = "win32" & os-distribution = "msys2"}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
opam-version: "2.0"
synopsis: "Virtual package for pkgconf on x86_64 mingw-w64 (64-bit x86_64)"
description: "Ensures the x86_64 version of pkgconf for the mingw-w64 project is available"
maintainer: "David Allsopp <david@tarides.com>"
authors: "Ariadne Conill et al"
license: "ISC"
homepage: "http://pkgconf.org"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: conf
available: os = "win32"
build: ["x86_64-w64-mingw32-pkgconf" "--version"]
depexts: [
["mingw-w64-x86_64-pkgconf"] {os = "win32" & os-distribution = "msys2"}
]
19 changes: 19 additions & 0 deletions packages/conf-mingw-w64-zstd-i686/conf-mingw-w64-zstd-i686.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
opam-version: "2.0"
synopsis: "Virtual package for libzstd on i686 mingw-w64 (32-bit x86)"
description: "Ensures the i686 version of libzstd for the mingw-w64 project is available"
maintainer: "David Allsopp <david@tarides.com>"
authors: "Facebook"
license: "BSD-3-Clause"
homepage: "http://zstd.net"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: conf
available: os = "win32"
build: ["pkgconf" "--personality=i686-w64-mingw32" {os-distribution = "cygwin"} "libzstd"]
depends: [
"conf-pkg-config" {build}
"conf-mingw-w64-gcc-i686" {build}
]
depexts: [
["mingw64-i686-zstd"] {os = "win32" & os-distribution = "cygwin"}
["mingw-w64-i686-zstd"] {os = "win32" & os-distribution = "msys2"}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
opam-version: "2.0"
synopsis: "Virtual package for libzstd on x86_64 mingw-w64 (64-bit x86_64)"
description: "Ensures the x86_64 version of libzstd for the mingw-w64 project is available"
maintainer: "David Allsopp <david@tarides.com>"
authors: "Facebook"
license: "BSD-3-Clause"
homepage: "http://zstd.net"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
flags: conf
available: os = "win32"
build: ["pkgconf" "--personality=x86_64-w64-mingw32" {os-distribution = "cygwin"} "libzstd"]
depends: [
"conf-pkg-config" {build}
"conf-mingw-w64-gcc-x86_64" {build}
]
depexts: [
["mingw64-x86_64-zstd"] {os = "win32" & os-distribution = "cygwin"}
["mingw-w64-x86_64-zstd"] {os = "win32" & os-distribution = "msys2"}
]

0 comments on commit 035f72c

Please sign in to comment.