From d52bbc26a1a2e2e8d178d1cda6bb72a17989c8d4 Mon Sep 17 00:00:00 2001 From: Tobias Mock Date: Fri, 20 Dec 2024 14:02:09 +0100 Subject: [PATCH 1/4] Release raylib 1.4.0 --- packages/raylib/raygui.1.4.0/opam | 45 ++++++++++++++++++++++++++++ packages/raylib/raylib.1.4.0/opam | 50 +++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 packages/raylib/raygui.1.4.0/opam create mode 100644 packages/raylib/raylib.1.4.0/opam diff --git a/packages/raylib/raygui.1.4.0/opam b/packages/raylib/raygui.1.4.0/opam new file mode 100644 index 00000000000..cff59da995d --- /dev/null +++ b/packages/raylib/raygui.1.4.0/opam @@ -0,0 +1,45 @@ +opam-version: "2.0" +synopsis: "OCaml bindings for raygui" +description: "OCaml bindings for raygui" +maintainer: ["tobiasjammer@gmail.com"] +authors: ["Tobias Mock"] +license: "MIT" +homepage: "https://github.com/tjammer/raylib-ocaml" +bug-reports: "https://github.com/tjammer/raylib-ocaml/issues" +depends: [ + "dune" {>= "3.17" & >= "3.17"} + "dune-configurator" + "ctypes" {>= "0.14"} + "raylib" {>= "1.4.0"} + "patch" {>= "2.0"} + "odoc" {with-doc} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/tjammer/raylib-ocaml.git" +available: [arch != "arm32" & arch != "ppc64"] +x-ci-accept-failures: [ + "centos-7" # C compiler is too old + "oraclelinux-7" # C compiler is too old +] +url { + src: + "https://github.com/tjammer/raylib-ocaml/releases/download/1.4.0/raygui-1.4.0.tbz" + checksum: [ + "sha256=3d07154c040a7933e438e1e4e70dcedd3cf49fb8cbbe4228dd4aefae4eba78cb" + "sha512=289b48640cefae3c4f9b16689ad237ce8d2735c24e88eefa550ce56619c6066d70e682b798f4931ee9d2247e320f6d562f1ce435502abd951319878933536d0c" + ] +} +x-commit-hash: "d9666d5791fded6d9eb59c8671d0c3847ece691d" diff --git a/packages/raylib/raylib.1.4.0/opam b/packages/raylib/raylib.1.4.0/opam new file mode 100644 index 00000000000..b163d18299b --- /dev/null +++ b/packages/raylib/raylib.1.4.0/opam @@ -0,0 +1,50 @@ +opam-version: "2.0" +synopsis: "OCaml bindings for raylib" +description: "OCaml bindings for raylib" +maintainer: ["tobiasjammer@gmail.com"] +authors: ["Tobias Mock"] +license: "MIT" +homepage: "https://github.com/tjammer/raylib-ocaml" +bug-reports: "https://github.com/tjammer/raylib-ocaml/issues" +depends: [ + "dune" {>= "3.17" & >= "3.17"} + "dune-configurator" + "ctypes" {>= "0.14"} + "integers" {>= "0.5"} + "conf-mesa" {os = "linux" | os-family = "bsd"} + "conf-libxcursor" {os = "linux" | os-family = "bsd"} + "conf-libxi" {os = "linux" | os-family = "bsd"} + "conf-libxinerama" {os = "linux" | os-family = "bsd"} + "conf-libxrandr" {os = "linux" | os-family = "bsd"} + "patch" {>= "2.0"} + "odoc" {with-doc} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/tjammer/raylib-ocaml.git" +available: [arch != "arm32" & arch != "ppc64"] +x-ci-accept-failures: [ + "centos-7" # C compiler is too old + "oraclelinux-7" # C compiler is too old +] +url { + src: + "https://github.com/tjammer/raylib-ocaml/releases/download/1.4.0/raylib-1.4.0.tbz" + checksum: [ + "sha256=fd278a8103ab86c02030d93a383019968a4bd262f49557c24f1d6e8265753ffb" + "sha512=e244593d43273fc5085832ee94f1731f57073043c507cbb11a1daed924b79ca0da32dda87e5e72717bd721626c681fecbbc147b5816d0bbf998e3e833ddc7304" + ] +} +x-commit-hash: "d9666d5791fded6d9eb59c8671d0c3847ece691d" From a016699554d482ca81f70d06e44ecfc3c80806db Mon Sep 17 00:00:00 2001 From: Tobias Mock Date: Fri, 20 Dec 2024 14:05:50 +0100 Subject: [PATCH 2/4] Move opam file to correct location --- packages/{raylib => raygui}/raygui.1.4.0/opam | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename packages/{raylib => raygui}/raygui.1.4.0/opam (100%) diff --git a/packages/raylib/raygui.1.4.0/opam b/packages/raygui/raygui.1.4.0/opam similarity index 100% rename from packages/raylib/raygui.1.4.0/opam rename to packages/raygui/raygui.1.4.0/opam From 899f9d5b3757ca8eadd8e379e196df81f3a6fa82 Mon Sep 17 00:00:00 2001 From: Tobias Mock Date: Fri, 20 Dec 2024 19:55:55 +0100 Subject: [PATCH 3/4] Fix upper raylib version for raygui --- packages/raygui/raygui.0.6.0/opam | 2 +- packages/raygui/raygui.1.3.1/opam | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/raygui/raygui.0.6.0/opam b/packages/raygui/raygui.0.6.0/opam index 12b7c4b98b9..be445564892 100644 --- a/packages/raygui/raygui.0.6.0/opam +++ b/packages/raygui/raygui.0.6.0/opam @@ -10,7 +10,7 @@ depends: [ "dune" {>= "2.8"} "dune-configurator" "ctypes" {>= "0.14"} - "raylib" {>= "0.6"} + "raylib" {>= "0.6" & < "1.4.0"} "odoc" {with-doc} ] build: [ diff --git a/packages/raygui/raygui.1.3.1/opam b/packages/raygui/raygui.1.3.1/opam index 1ab8a2d1c04..21565d483d6 100644 --- a/packages/raygui/raygui.1.3.1/opam +++ b/packages/raygui/raygui.1.3.1/opam @@ -10,7 +10,7 @@ depends: [ "dune" {>= "2.8"} "dune-configurator" "ctypes" {>= "0.14"} - "raylib" {>= "0.6"} + "raylib" {>= "0.6" & < "1.4.0"} "patch" {>= "2.0"} "odoc" {with-doc} ] From b5090cdade09f448d057b360600bdd7427e4a92e Mon Sep 17 00:00:00 2001 From: Tobias Mock Date: Sun, 22 Dec 2024 23:24:57 +0100 Subject: [PATCH 4/4] Fix version bounds --- packages/raygui/raygui.1.3.0/opam | 2 +- packages/raygui/raygui.1.4.0/opam | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/raygui/raygui.1.3.0/opam b/packages/raygui/raygui.1.3.0/opam index f71a49b0333..bb5a337266b 100644 --- a/packages/raygui/raygui.1.3.0/opam +++ b/packages/raygui/raygui.1.3.0/opam @@ -10,7 +10,7 @@ depends: [ "dune" {>= "2.8"} "dune-configurator" "ctypes" {>= "0.14"} - "raylib" {>= "0.6"} + "raylib" {>= "0.6" & < "1.4.0"} "odoc" {with-doc} ] build: [ diff --git a/packages/raygui/raygui.1.4.0/opam b/packages/raygui/raygui.1.4.0/opam index cff59da995d..4d8834bbcab 100644 --- a/packages/raygui/raygui.1.4.0/opam +++ b/packages/raygui/raygui.1.4.0/opam @@ -7,6 +7,7 @@ license: "MIT" homepage: "https://github.com/tjammer/raylib-ocaml" bug-reports: "https://github.com/tjammer/raylib-ocaml/issues" depends: [ + "ocaml" {>= "4.05"} "dune" {>= "3.17" & >= "3.17"} "dune-configurator" "ctypes" {>= "0.14"}