mirror of
https://gitlab.freedesktop.org/uchardet/uchardet.git
synced 2025-12-08 01:36:41 +08:00
README: adding a flatpak-builder manifest example.
Thanks to Sébastien Wilmet for the example.
This commit is contained in:
parent
119fed7e8d
commit
d90d01bc9e
20
README.md
20
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user