Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the Build file to include VCE and libdovi #39

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ All HandBrake development, including maintenance of Flatpak manifests, is perfor

The manifest file `fr.handbrake.ghb.json` can be generated by HandBrake's build system after a release tag has been set and the release source package has been made available for download. The source package URL and SHA256 sum are required to generate the flatpak manifest.

E.g. to generate the flatpak manifest for HandBrake's 1.4.1 release
E.g. to generate the flatpak manifest for HandBrake's 1.7.3 release
```
git clone https://github.com/HandBrake/HandBrake.git
cd HandBrake
git checkout 1.4.1
./configure --flatpak --enable-qsv
git checkout 1.7.3
./configure --flatpak --enable-qsv --enable-nvenc --enable-nvdec --enable-libdovi --enable-vce
cd build
make pkg.create.flathub \
HB_URL=https://github.com/HandBrake/HandBrake/releases/download/1.4.1/HandBrake-1.4.1-source.tar.bz2 \
HB_URL=https://github.com/HandBrake/HandBrake/releases/download/1.7.3/HandBrake-1.7.3-source.tar.bz2 \
HB_SHA256=39a0aecac8f26de1d88ccaca0a39dfca4af52029a792a78f93a42057a54c18f6
```

Expand Down
22 changes: 19 additions & 3 deletions fr.handbrake.ghb.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,11 @@
"--flatpak",
"--enable-qsv",
"--enable-nvenc",
"--enable-nvdec"
"--enable-nvdec",
"--enable-libdovi"
],
"build-options": {
"append-path": "/usr/lib/sdk/llvm16/bin",
"append-path": "/usr/lib/sdk/llvm16/bin:/usr/lib/sdk/rust-stable/bin",
"prepend-ld-library-path": "/usr/lib/sdk/llvm16/lib"
},
"builddir": true,
Expand Down Expand Up @@ -164,12 +165,26 @@
"dest": "download",
"dest-filename": "oneVPL-2023.3.1.tar.gz"
},
{
"url": "https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/AMF-1.4.30-slim.tar.gz",
"sha256": "665bd83dc7facb407e9e32168e38f9a1e0f37cd3802f4409d3889a3bcaec908f",
"type": "file",
"dest": "download",
"dest-filename": "AMF-1.4.30-slim.tar.gz"
},
{
"url": "https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/nv-codec-headers-12.1.14.0.tar.gz",
"sha256": "62b30ab37e4e9be0d0c5b37b8fee4b094e38e570984d56e1135a6b6c2c164c9f",
"type": "file",
"dest": "download",
"dest-filename": "nv-codec-headers-12.1.14.0.tar.gz"
},
{
"url": "https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/libdovi-3.2.0.tar.gz",
"sha256": "23c339b08bf32b66144b8fe17bf9a39f2dc810a37f081e5bc50207af9ae99922",
"type": "file",
"dest": "download",
"dest-filename": "dovi_tool-libdovi-3.2.0.tar.gz"
}
],
"modules": [],
Expand All @@ -185,6 +200,7 @@
}
],
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.llvm16"
"org.freedesktop.Sdk.Extension.llvm16",
"org.freedesktop.Sdk.Extension.rust-stable"
]
}