-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathcom.makemkv.MakeMKV.yaml
More file actions
74 lines (74 loc) · 2.55 KB
/
com.makemkv.MakeMKV.yaml
File metadata and controls
74 lines (74 loc) · 2.55 KB
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
72
73
74
app-id: com.makemkv.MakeMKV
runtime: org.kde.Platform
runtime-version: 5.15-25.08
sdk: org.kde.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.openjdk8
finish-args:
- --filesystem=~/.MakeMKV:create
- --filesystem=xdg-videos
# Wayland access
- --socket=wayland
# X11 access
- --socket=fallback-x11
- --share=ipc
# Network access
- --share=network
# For optical drive access
- --device=all
- --env=JAVA_HOME=/app/jre
- --env=PATH=/app/jre/bin:/app/bin:/usr/bin
command: makemkv
build-options:
append-path: /usr/lib/sdk/openjdk8/bin
rename-desktop-file: makemkv.desktop
rename-icon: makemkv
cleanup:
- /include
- /lib/pkgconfig
modules:
- name: openjdk
buildsystem: simple
build-commands:
- /usr/lib/sdk/openjdk8/install.sh
- name: makemkv-oss
buildsystem: autotools
build-options:
cflags: -D__GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -D __STDC_FORMAT_MACROS
config-opts:
- --enable-allcodecs
make-install-args:
# really just to avoid call to ldconfig
- DESTDIR=/
post-install:
- install -Dp -m 644 com.makemkv.MakeMKV.appdata.xml --target-directory=/app/share/appdata
- install -Dp -m 644 License.txt --target-directory=/app/share/licenses/com.makemkv.MakeMKV
sources:
- type: archive
url: https://www.makemkv.com/download/makemkv-oss-1.18.3.tar.gz
sha256: bc8bb084ae3aabcd503d5bb93efc273e046e4fd4663d39a9836ce0c047fee823
x-checker-data:
type: html
url: https://www.makemkv.com/download
version-pattern: MakeMKV v([\d\.]*)
url-template: https://www.makemkv.com/download/makemkv-oss-$version.tar.gz
- type: file
path: com.makemkv.MakeMKV.appdata.xml
- name: makemkv-bin
buildsystem: simple
build-commands:
# TODO: put eula in appstream data once it supports it
# NOTE: author allows redistribution as long as eula is referenced in package description
- mkdir -p tmp
- echo accepted > tmp/eula_accepted
- make install DESTDIR=/ PREFIX=/app
- install -Dp -m 644 src/eula_en_linux.txt --target-directory=/app/share/licenses/com.makemkv.MakeMKV
sources:
- type: archive
url: https://www.makemkv.com/download/makemkv-bin-1.18.3.tar.gz
sha256: c1ee720ae91b276a7c89be861146c5b934631831e8d6c8f453406435724e92bd
x-checker-data:
type: html
url: https://www.makemkv.com/download
version-pattern: MakeMKV v([\d\.]*)
url-template: https://www.makemkv.com/download/makemkv-bin-$version.tar.gz