summaryrefslogtreecommitdiffstats
path: root/pkg/linux
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2018-06-19 17:20:24 -0700
committerJohn Stebbins <[email protected]>2018-06-19 17:54:03 -0700
commit337cceb17649f50537e16b4fd27ae41884f9ff0a (patch)
treedc50d4aa8d334c57b90340c6fc87584d20d32c4e /pkg/linux
parent695581c81be3a8836d2628bd66bb251dc15b762b (diff)
flatpak: prebuild some dependencies
Rather than using HandBrake's build for libass, fontconfig, freetype, fribidi, harfbuzz. The runtime platform already has fontconfig, freetype and harfbuzz. We just need to add libass and fribidi.
Diffstat (limited to 'pkg/linux')
-rw-r--r--pkg/linux/flatpak/fr.handbrake.HandBrakeCLI.json23
-rw-r--r--pkg/linux/flatpak/fr.handbrake.ghb.json23
2 files changed, 46 insertions, 0 deletions
diff --git a/pkg/linux/flatpak/fr.handbrake.HandBrakeCLI.json b/pkg/linux/flatpak/fr.handbrake.HandBrakeCLI.json
index 13752bda7..9c2414f08 100644
--- a/pkg/linux/flatpak/fr.handbrake.HandBrakeCLI.json
+++ b/pkg/linux/flatpak/fr.handbrake.HandBrakeCLI.json
@@ -9,6 +9,29 @@
],
"modules": [
{
+ "name": "fribidi",
+ "make-args": ["-j1"],
+ "sources": [
+ {
+ "type": "archive",
+ "url": "https://download.handbrake.fr/handbrake/contrib/fribidi-0.19.7.tar.gz",
+ "sha256": "3fc96fa9473bd31dcb5500bdf1aa78b337ba13eb8c301e7c28923fea982453a8"
+ }
+ ]
+ },
+ {
+ "name": "libass",
+ "config-opts": ["--enable-asm", "--enable-harfbuzz",
+ "--enable-fontconfig"],
+ "sources": [
+ {
+ "type": "archive",
+ "url": "https://github.com/libass/libass/releases/download/0.14.0/libass-0.14.0.tar.gz",
+ "sha256": "8d5a5c920b90b70a108007ffcd2289ac652c0e03fc88e6eecefa37df0f2e7fdf"
+ }
+ ]
+ },
+ {
"name": "handbrake",
"no-autogen": true,
"config-opts": ["--flatpak", "--disable-gtk"],
diff --git a/pkg/linux/flatpak/fr.handbrake.ghb.json b/pkg/linux/flatpak/fr.handbrake.ghb.json
index 147e66c63..eea299b79 100644
--- a/pkg/linux/flatpak/fr.handbrake.ghb.json
+++ b/pkg/linux/flatpak/fr.handbrake.ghb.json
@@ -15,6 +15,29 @@
],
"modules": [
{
+ "name": "fribidi",
+ "make-args": ["-j1"],
+ "sources": [
+ {
+ "type": "archive",
+ "url": "https://download.handbrake.fr/handbrake/contrib/fribidi-0.19.7.tar.gz",
+ "sha256": "3fc96fa9473bd31dcb5500bdf1aa78b337ba13eb8c301e7c28923fea982453a8"
+ }
+ ]
+ },
+ {
+ "name": "libass",
+ "config-opts": ["--enable-asm", "--enable-harfbuzz",
+ "--enable-fontconfig"],
+ "sources": [
+ {
+ "type": "archive",
+ "url": "https://github.com/libass/libass/releases/download/0.14.0/libass-0.14.0.tar.gz",
+ "sha256": "8d5a5c920b90b70a108007ffcd2289ac652c0e03fc88e6eecefa37df0f2e7fdf"
+ }
+ ]
+ },
+ {
"name": "handbrake",
"no-autogen": true,
"config-opts": ["--flatpak", "--disable-gtk-update-checks"],