All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.jreleaser.templates.java-binary.flatpak.cli-app.yml.tpl Maven / Gradle / Ivy

# {{jreleaserCreationStamp}}
app-id: {{flatpakComponentId}}
runtime: {{flatpakRuntime}}
runtime-version: '{{flatpakRuntimeVersion}}'
sdk: {{flatpakSdk}}
{{#flatpakHasSdkExtensions}}
sdk-extensions:
  {{#flatpakSdkExtensions}}
  - {{.}}
  {{/flatpakSdkExtensions}}
{{/flatpakHasSdkExtensions}}
command: {{distributionExecutableUnix}}
{{#flatpakHasFinishArgs}}
finish-args:
  {{#flatpakFinishArgs}}
  - {{.}}
  {{/flatpakFinishArgs}}
{{/flatpakHasFinishArgs}}
modules:
{{#flatpakIncludeOpenJdk}}
  - name: openjdk
    buildsystem: simple
    build-commands:
      - /usr/lib/sdk/openjdk/install.sh
{{/flatpakIncludeOpenJdk}}
  - name: {{distributionExecutable}}
    buildsystem: simple
    build-commands:
      {{#flatpakBinaries}}
      - install -Dm755 {{.}} /app/{{.}}
      {{/flatpakBinaries}}
      {{#flatpakFiles}}
      - install -Dm644 {{.}} /app/{{.}}
      {{/flatpakFiles}}
      - install -Dm644 {{flatpakComponentId}}.metainfo.xml -t /app/share/metainfo
      {{#flatpakIcons}}
      - install -Dm644 icons/{{width}}x{{height}}/{{distributionExecutable}}.png /app/share/icons/hicolor/{{width}}x{{height}}/apps/{{flatpakComponentId}}.png
      {{/flatpakIcons}}
    sources:
      - type: archive
        url: {{distributionUrl}}
        sha256: {{distributionChecksumSha256}}
      - type: file
        path: {{flatpakComponentId}}.metainfo.xml
      {{#flatpakIcons}}
      - type: file
        path: icons/{{width}}x{{height}}/{{distributionExecutable}}.png
        dest: icons/{{width}}x{{height}}
      {{/flatpakIcons}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy