README: adding a flatpak-builder manifest example.

Thanks to Sébastien Wilmet for the example.
This commit is contained in:
Jehan 2017-03-24 23:22:40 +01:00
parent 119fed7e8d
commit d90d01bc9e

View File

@ -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