-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathorg.jdownloader.JDownloader.yaml
71 lines (65 loc) · 2.07 KB
/
org.jdownloader.JDownloader.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
app-id: org.jdownloader.JDownloader
default-branch: stable
runtime: org.freedesktop.Platform
runtime-version: &runtime-version "24.08"
x-openh264-version: &openh264-version "2.4.1"
sdk: org.freedesktop.Sdk
command: jd-wrapper
tags:
- proprietary
finish-args:
- --socket=x11
- --share=ipc
- --filesystem=xdg-download
- --filesystem=/run/media
- --filesystem=/media
- --share=network
- --env=PATH=/app/bin:/app/jre/bin:/usr/bin
- --env=LD_LIBRARY_PATH=/app/lib/ffmpeg:/app/lib/openh264/extra
- --env=JAVA_HOME=/app/jre
sdk-extensions:
- org.freedesktop.Sdk.Extension.openjdk
add-extensions:
org.freedesktop.Platform.ffmpeg-full:
directory: lib/ffmpeg
add-ld-path: .
version: *runtime-version
autodelete: false
org.freedesktop.Platform.openh264:
directory: lib/openh264
add-ld-path: .
version: *openh264-version
autodelete: false
modules:
- name: bootstrap
buildsystem: simple
build-commands:
- set -e
- mkdir -p /app/lib/ffmpeg
- mkdir -p /app/lib/openh264
- /usr/lib/sdk/openjdk/install.sh
- name: jdownloader
buildsystem: simple
build-commands:
- set -e
- install -D jd-wrapper.sh /app/bin/jd-wrapper
- install -Dm644 -t /app/share/metainfo org.jdownloader.JDownloader.metainfo.xml
- install -Dm644 -t /app/share/applications org.jdownloader.JDownloader.desktop
- install -Dm644 -t /app/share/icons/hicolor/512x512/apps org.jdownloader.JDownloader.png
# Allows backward compatibility
- ln -srv /usr/bin/ffmpeg /app/bin/ffmpeg
- ln -srv /usr/bin/ffprobe /app/bin/ffprobe
sources:
- type: file
path: jd-wrapper.sh
- type: file
path: org.jdownloader.JDownloader.desktop
- type: file
path: org.jdownloader.JDownloader.png
- type: file
path: org.jdownloader.JDownloader.metainfo.xml
- type: extra-data
filename: JD2Setup.sh
url: https://installer.jdownloader.org/JD2Setup_x64.sh
sha256: ddd1a997afaf60c981fbfb1a1f3a600ff7bad7fccece9f2508fb695b8c2f153d
size: 50621986