Skip to content

Commit

Permalink
HandBrake: update 1.3.1 to 1.4.1
Browse files Browse the repository at this point in the history
- update
- fixed SRCURL
- build downloads a lot of source archives. put them all in one tar
- disable-nls
- add bin symlink for convenience
  • Loading branch information
wwwutz committed Sep 24, 2021
1 parent de9286c commit f28e0be
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions HandBrake.be0
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
#!/usr/bin/env beesh

# BEE_VERSION HandBrake-1.3.1-0
# BEE_VERSION HandBrake-1.4.1-0
# https://handbrake.fr/
# https://github.com/HandBrake/HandBrake

# SRCURL[0]="https://download.handbrake.fr/releases/${PKGVERSION}/HandBrake-${PKGVERSION}-source.tar.bz2"
SRCURL[0]="https://beehive.molgen.mpg.de/25d1f7f538bec95d95265ed050572a58/HandBrake-1.3.1-source.tar.bz2"
# SRCURL[0]="https://github.com/HandBrake/HandBrake/releases/download/1.4.1/HandBrake-1.4.1-source.tar.bz2"
SRCURL[0]="https://beehive.molgen.mpg.de/73fe8df8340ac7b7c23a8c09974d6906/HandBrake-1.4.1-source.tar.bz2"

# root:invidia:/scratch/local2/bee-root/HandBrake/HandBrake-1.4.1-0/source/# tar cf /scratch/local2/hb-download.tar download

# ${S}/download:
# libdvdread-6.1.1.tar.bz2
# ffmpeg-4.4.tar.bz2
# libdvdnav-6.1.1.tar.bz2
# dav1d-0.9.0.tar.bz2
# x265_3.5.tar.gz
# libbluray-1.3.0.tar.bz2
# zimg-3.0.1.tar.gz
# nv-codec-headers-11.0.10.1.tar.gz
SRCURL[1]="https://beehive.molgen.mpg.de/88c680f568b8af3dfba989a3d07de05e/hb-1.4.1-download.tar"

# PATCHURL+=()

Expand All @@ -14,14 +28,16 @@ build_in_sourcedir

mee_extract() {
bee_extract "${@}"
bee install jansson
SRCURL[1]=
}

#mee_patch() {
# bee_patch "${@}"
#}

mee_configure() {
# disable-nls
echo "" >gtk/po/LINGUAS
./configure --launch-jobs=$(nproc) --launch
}

Expand All @@ -33,4 +49,5 @@ mee_install() {
mkdir -p ${D}${BINDIR}
install -v -m 755 build/HandBrakeCLI ${D}${BINDIR}/
install -v -m 755 build/gtk/src/ghb ${D}${BINDIR}/
cd ${D}${BINDIR} && ln -s ghb HandBrake
}

0 comments on commit f28e0be

Please sign in to comment.