summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJehan <jehan@girinstud.io>2017-03-24 23:22:40 +0100
committerJehan <jehan@girinstud.io>2017-03-24 23:22:40 +0100
commitd90d01bc9e7f1704655034aedd483dc5b09a35fe (patch)
tree8b6b6059ffc9bba510a063b9df9812f198f8d9be
parent119fed7e8dcb7b9e72457ff2b268a61d2264f12d (diff)
README: adding a flatpak-builder manifest example.
Thanks to Sébastien Wilmet for the example.
-rw-r--r--README.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1078a9b..daaf52c 100644
--- a/README.md
+++ b/README.md
@@ -193,6 +193,26 @@ The source can be browsed at: https://cgit.freedesktop.org/uchardet/uchardet/
make
make install
+### Build with flatpak-builder
+
+Here is a working "module" section to include in your Flatpak's json manifest:
+
+```
+"modules": [
+ {
+ "name": "uchardet",
+ "buildsystem": "cmake",
+ "builddir": true,
+ "config-opts": [ "-DCMAKE_INSTALL_LIBDIR=lib" ],
+ "sources": [
+ {
+ ...
+ }
+ ]
+ }
+]
+```
+
## Usage
### Command Line