-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnet.filebot.FileBot.yml
96 lines (96 loc) · 3.37 KB
/
net.filebot.FileBot.yml
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
app-id: net.filebot.FileBot
runtime: org.freedesktop.Platform
runtime-version: "24.08"
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.openjdk
command: filebot.sh
separate-locales: false
finish-args:
- --share=ipc
- --socket=x11
- --env=PATH=/usr/bin:/app/bin:/app/jre/bin
- --env=JAVA_HOME=/app/jre
- --share=network
- --filesystem=xdg-download
- --filesystem=xdg-videos
- --filesystem=xdg-music
modules:
- name: openjdk
buildsystem: simple
build-commands:
- /usr/lib/sdk/openjdk/install.sh
- name: chromaprint
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
sources:
- type: archive
url: https://github.com/acoustid/chromaprint/releases/download/v1.5.1/chromaprint-1.5.1.tar.gz
sha256: a1aad8fa3b8b18b78d3755b3767faff9abb67242e01b478ec9a64e190f335e1c
x-checker-data:
type: anitya
project-id: 286
url-template: https://github.com/acoustid/chromaprint/releases/download/v$version/chromaprint-$version.tar.gz
- name: libzen
subdir: Project/GNU/Library
config-opts:
- --enable-shared
- --disable-static
cleanup:
- /bin
- /include
- /lib/pkgconfig
- /lib/*.la
sources:
- type: archive
url: https://mediaarea.net/download/source/libzen/0.4.41/libzen_0.4.41.tar.xz
sha256: 933bad3b7ecd29dc6bdc88a83645c83dfd098c15b0b90d6177a37fa1536704e8
x-checker-data:
type: anitya
project-id: 1810
url-template: https://mediaarea.net/download/source/libzen/$version/libzen_$version.tar.xz
- name: libmediainfo
subdir: Project/GNU/Library
config-opts:
- --enable-shared
- --disable-static
- --with-libcurl
cleanup:
- /bin
- /include
- /lib/pkgconfig
- /lib/*.la
sources:
- type: archive
url: https://mediaarea.net/download/source/libmediainfo/24.12/libmediainfo_24.12.tar.xz
sha256: 1f4986207f75deb290915e6bf0b33e3e455774305dd266ffe8997c01aad65b27
x-checker-data:
type: anitya
project-id: 16249
url-template: https://mediaarea.net/download/source/libmediainfo/$version/libmediainfo_$version.tar.xz
- name: filebot
buildsystem: simple
build-commands:
- cp -r share/filebot/* ${FLATPAK_DEST}
- install -Dm755 filebot.sh ${FLATPAK_DEST}/bin/filebot.sh
- install -Dm644 net.filebot.FileBot.appdata.xml /app/share/appdata/net.filebot.FileBot.appdata.xml
- install -Dm644 net.filebot.FileBot.svg /app/share/icons/hicolor/scalable/apps/net.filebot.FileBot.svg
- install -Dm644 net.filebot.FileBot.desktop /app/share/applications/net.filebot.FileBot.desktop
sources:
- type: file
path: net.filebot.FileBot.appdata.xml
- type: file
path: filebot.sh
- type: file
path: net.filebot.FileBot.desktop
- type: file
path: net.filebot.FileBot.svg
- type: archive
url: https://get.filebot.net/filebot/FileBot_5.1.6/FileBot_5.1.6-aur.tar.xz
sha256: 7b729146cf9f295eb505d789e4c30688626e21aa750f712ae8e85f28de3a91b0
x-checker-data:
type: html
url: https://www.filebot.net/update.xml
version-pattern: <name>FileBot ([\d\.-]*)</name>
url-template: https://get.filebot.net/filebot/FileBot_$version/FileBot_$version-aur.tar.xz