From d90d01bc9e7f1704655034aedd483dc5b09a35fe Mon Sep 17 00:00:00 2001 From: Jehan Date: Fri, 24 Mar 2017 23:22:40 +0100 Subject: [PATCH] README: adding a flatpak-builder manifest example. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to Sébastien Wilmet for the example. --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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