summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-06-30 15:01:59 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-06-30 15:12:38 +0200
commite5776f717786c331a65366c264f0b0ff1f2d17a8 (patch)
tree3bd15073f32cb2eb2c9de00628731f2166692110
parentGet rid of boost dependency for stacktraces (diff)
downloadnheko-e5776f717786c331a65366c264f0b0ff1f2d17a8.tar.xz
Add libevent in flatpak
-rw-r--r--io.github.NhekoReborn.Nheko.yaml25
1 files changed, 15 insertions, 10 deletions
diff --git a/io.github.NhekoReborn.Nheko.yaml b/io.github.NhekoReborn.Nheko.yaml
index 3ce69e72..bfc25c5c 100644
--- a/io.github.NhekoReborn.Nheko.yaml
+++ b/io.github.NhekoReborn.Nheko.yaml
@@ -37,6 +37,19 @@ modules:
       - prefix=/app
     no-autogen: true
     subdir: libraries/liblmdb
+  - name: libevent
+    buildsystem: autotools
+    config-opts:
+      - --disable-shared
+      - --prefix=/app
+      - --disable-openssl
+    sources:
+      - sha256: 92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb
+        type: archive
+        url: https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz
+    make-install-args:
+      - prefix=/app
+    no-autogen: true
   - name: cmark
     buildsystem: cmake-ninja
     builddir: true
@@ -87,16 +100,6 @@ modules:
       - sha256: d51a3a8d3efbb1139d7608e28782ea9efea7e7933157e8ff8184901efd8ee760
         type: archive
         url: https://github.com/nlohmann/json/archive/v3.7.0.tar.gz
-  - build-commands:
-      - ./bootstrap.sh --with-libraries=thread,system,iostreams --prefix=/app
-      - ./b2 -d0 variant=release link=static threading=multi --layout=system
-      - ./b2 -d0 install
-    buildsystem: simple
-    name: boost
-    sources:
-      - sha256: 59c9b274bc451cf91a9ba1dd2c7fdcaf5d60b1b3aa83f2c9fa143417cc660722
-        type: archive
-        url: https://sourceforge.net/projects/boost/files/boost/1.72.0/boost_1_72_0.tar.bz2
   - buildsystem: meson
     name: gstreamer
     sources:
@@ -143,6 +146,8 @@ modules:
         type: git
         url: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad.git
   - buildsystem: meson
+    config-opts:
+      - -Ddefault_library=static
     name: coeurl
     sources:
       - commit: 417821a07cfe4429b08a2efed5e480a498087afd