-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from savonet/dune
Convert to dune!
- Loading branch information
Showing
37 changed files
with
808 additions
and
4,094 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Build | ||
on: [push] | ||
jobs: | ||
build: | ||
runs-on: ${{ matrix.operating-system }} | ||
strategy: | ||
matrix: | ||
operating-system: [ubuntu-latest, macos-latest] | ||
ocaml-version: ['4.09.0'] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: avsm/setup-ocaml@master | ||
with: | ||
ocaml-version: ${{ matrix.ocaml-version }} | ||
- run: opam pin add -n . | ||
- run: opam depext -yt theora | ||
- run: opam install -t . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,7 @@ | ||
Makefile | ||
aclocal.m4 | ||
autom4te.cache/ | ||
config.guess | ||
config.log | ||
config.status | ||
config.sub | ||
configure | ||
install-sh | ||
src/META | ||
src/Makefile | ||
src/._bcdi/ | ||
src/._d/ | ||
src/._ncdi/ | ||
src/*.a | ||
src/*.cm* | ||
src/*.o | ||
src/*.so | ||
.*sw* | ||
*~ | ||
_build | ||
*.byte | ||
*.native | ||
_tests | ||
.merlin | ||
*.install |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
profile = conventional | ||
break-separators = after | ||
space-around-lists = false | ||
doc-comments = before | ||
match-indent = 2 | ||
match-indent-nested = always | ||
parens-ite | ||
exp-grouping = preserve | ||
module-item-spacing = compact |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
ocaml-theora | ||
============ | ||
|
||
This package contains an OCaml interface for the `theora` library | ||
|
||
Please read the COPYING file before using this software. | ||
|
||
Prerequisites: | ||
============== | ||
|
||
- ocaml | ||
- libtheora | ||
- findlib | ||
- ocaml-ogg >= 0.7.0 | ||
- dune >= 2.0 | ||
|
||
Compilation: | ||
============ | ||
|
||
``` | ||
$ dune build | ||
``` | ||
|
||
This should build both the native and the byte-code version of the | ||
extension library. | ||
|
||
Installation: | ||
============= | ||
|
||
Via `opam`: | ||
|
||
``` | ||
$ opam install theora | ||
``` | ||
|
||
Via `dune` (for developers): | ||
``` | ||
$ dune install | ||
``` | ||
|
||
This should install the library file in the appropriate place. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
(lang dune 2.0) | ||
(version 0.4.0) | ||
(name theora) | ||
(source (github savonet/ocaml-theora)) | ||
(license GPL-2.0) | ||
(authors "The Savonet Team <[email protected]>") | ||
(maintainers "The Savonet Team <[email protected]>") | ||
|
||
(generate_opam_files true) | ||
|
||
(package | ||
(name theora) | ||
(synopsis "Bindings to libtheora") | ||
(depends | ||
conf-libtheora | ||
conf-pkg-config | ||
(dune (>= 2.0)) | ||
dune-configurator | ||
(ogg (>= 0.7.0))) | ||
) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.