diff --git a/flatpak/com.DaAppLab.DaKanji.yml b/flatpak/com.DaAppLab.DaKanji.yml index 651a5344..2b888618 100644 --- a/flatpak/com.DaAppLab.DaKanji.yml +++ b/flatpak/com.DaAppLab.DaKanji.yml @@ -14,105 +14,6 @@ finish-args: - --env=LD_LIBRARY_PATH=/app/lib modules: -# These are the required dependencies -- name: libmpv - cleanup: - - /include - - /lib/pkgconfig - - /share/man - buildsystem: simple - build-commands: - - python3 waf configure --prefix=/app --enable-libmpv-shared --disable-cplayer --disable-build-date - --disable-alsa - - python3 waf build - - python3 waf install - sources: - - type: git - url: https://github.com/mpv-player/mpv.git - tag: v0.35.1 - - type: file - url: https://waf.io/waf-2.0.25 - sha256: 21199cd220ccf60434133e1fd2ab8c8e5217c3799199c82722543970dc8e38d5 - dest-filename: waf - modules: - - name: libass - cleanup: - - /include - - /lib/*.la - - /lib/pkgconfig - config-opts: - - --disable-static - sources: - - type: archive - url: https://github.com/libass/libass/releases/download/0.17.1/libass-0.17.1.tar.xz - sha256: f0da0bbfba476c16ae3e1cfd862256d30915911f7abaa1b16ce62ee653192784 - modules: - - name: fribidi - cleanup: - - /bin - - /include - - /lib/pkgconfig - - /lib/*.la - - /share/man - buildsystem: meson - config-opts: - - --buildtype=release - - -Ddocs=false - sources: - - type: git - url: https://github.com/fribidi/fribidi.git - tag: v1.0.13 - commit: b54871c339dabb7434718da3fed2fa63320997e5 - - name: x264 - cleanup: - - /include - - /lib/pkgconfig - - /share/man - config-opts: - - --disable-cli - - --enable-shared - sources: - - type: git - url: https://code.videolan.org/videolan/x264.git - commit: a8b68ebfaa68621b5ac8907610d3335971839d52 - x-checker-data: - type: json - url: https://code.videolan.org/api/v4/projects/536/repository/commits - commit-query: first( .[].id ) - version-query: first( .[].id ) - timestamp-query: first( .[].committed_date ) - - name: nv-codec-headers - cleanup: - - '*' - no-autogen: true - make-install-args: - - PREFIX=/app - sources: - - type: git - url: https://github.com/FFmpeg/nv-codec-headers.git - commit: 855f8263d97bbdcaeabaaaa2997e1ccad7c52dc3 - - name: ffmpeg - cleanup: - - /include - - /lib/pkgconfig - - /share/ffmpeg/examples - config-opts: - - --enable-shared - - --disable-static - - --enable-gnutls - - --disable-doc - - --disable-programs - - --disable-encoders - - --disable-muxers - - --enable-encoder=png - - --enable-libv4l2 - - --enable-libdav1d - sources: - - type: git - url: https://git.ffmpeg.org/ffmpeg.git - commit: 3d5edb89e75fe3ab3a6757208ef121fa2b0f54c7 -# ----------------------------------------------------------------------------------- - - name: DaKanji buildsystem: simple build-commands: @@ -123,7 +24,6 @@ modules: - install -Dm644 DaKanji/LaunchImage@2x.png /app/share/icons/hicolor/512x512/apps/com.DaAppLab.DaKanji.png - install -Dm644 DaKanji/DaKanji.desktop /app/share/applications/com.DaAppLab.DaKanji.desktop - install -dm755 /app/bin /app/DaKanji - - cp /app/lib/libmpv.so /app/lib/libmpv.so.1 - cp -R DaKanji/ /app - ln -s /app/DaKanji/DaKanji /app/bin/DaKanji sources: