diff .builds/linux.yml @ 249:6b2441c776dd

*: merge
author Paper <mrpapersonic@gmail.com>
date Wed, 24 Jan 2024 20:18:59 -0500
parents f475e168fac8
children 862d0d8619f6
line wrap: on
line diff
--- a/.builds/linux.yml	Wed Jan 24 20:18:14 2024 -0500
+++ b/.builds/linux.yml	Wed Jan 24 20:18:59 2024 -0500
@@ -2,7 +2,9 @@
 packages:
   - qtbase5-dev
   - qttools5-dev
-  - cmake
+  - automake
+  - autoconf
+  - libtool
   - clang
   - libcurl4-openssl-dev
   - wget
@@ -11,32 +13,32 @@
   - xorg-dev # shouldn't install Xorg!
   - libwayland-dev
   - pkg-config
+  - libglib2.0-dev
 sources:
   - https://hg.sr.ht/~mrpapersonic/minori
-environment:
-  BUILD_SUBMITTER: hg.sr.ht
 tasks:
   - build: |
+      # build
       cd minori
       autoreconf -i
-      cd dep/animia
-      autoreconf -i
-      cd ../anitomy
-      autoreconf -i
-      cd ../pugixml
-      autoreconf -i
-      cd ../..
       mkdir build
       cd build
       ../configure
       make
+      sudo make install
 
+      # resources
+      mkdir -p rc
+      cp ../rc/linux/Minori.desktop rc/Minori.desktop
+      cp ../rc/linux/Minori.png rc/Minori.png
+
+      # use linuxdeploy to make an appimage
       wget -O linuxdeploy "https://github.com/linuxdeploy/linuxdeploy/releases/download/1-alpha-20231026-1/linuxdeploy-x86_64.AppImage"
       chmod +x linuxdeploy
-      ./linuxdeploy --appdir Minori --executable minori -d rc/Minori.desktop -i rc/Minori.png --output appimage
+      LD_LIBRARY_PATH=/usr/local/lib ./linuxdeploy --appdir Minori --executable $(which minori) -d rc/Minori.desktop -i rc/Minori.png --output appimage
 artifacts:
   - minori/build/Minori-x86_64.AppImage
 triggers:
   - action: email
     condition: failure
-    to: Paper <mrpapersonic@gmail.com>
+    to: Paper <paper@paper.us.eu.org>