Skip to content

Commit

Permalink
Add libharfbuzz dependencies to QCTools and dvrescue
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Gervais <gervais.maxime@gmail.com>
  • Loading branch information
g-maxime committed Oct 27, 2023
1 parent 9bac93f commit e5b07b2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 5 deletions.
10 changes: 9 additions & 1 deletion QCTools/PrepareSource.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,18 @@ function _all_inclusive () {

cp -r qctools/debian .

git clone --depth 1 --branch n5.1 "git://source.ffmpeg.org/ffmpeg.git" ffmpeg
git clone --depth 1 "git://source.ffmpeg.org/ffmpeg.git" ffmpeg

wget -q https://download.savannah.gnu.org/releases/freetype/freetype-2.10.0.tar.bz2
tar -jxf freetype-2.10.0.tar.bz2
rm freetype-2.10.0.tar.bz2
mv freetype-2.10.0 freetype

wget -q https://github.com/harfbuzz/harfbuzz/releases/download/8.2.2/harfbuzz-8.2.2.tar.xz
tar -Jxf harfbuzz-8.2.2.tar.xz
rm harfbuzz-8.2.2.tar.xz
mv harfbuzz-8.2.2 harfbuzz

wget -q http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
tar -zxf yasm-1.3.0.tar.gz
rm yasm-1.3.0.tar.gz
Expand All @@ -85,6 +90,9 @@ function _all_inclusive () {
# fix ffmpeg configure for static freetype2
sed -i 's/^enabled libfreetype.*//g' ffmpeg/configure

# fix ffmpeg configure for static libharfbuzz
sed -i 's/^enabled libharfbuzz.*//g' ffmpeg/configure

echo "2: remove what isn’t wanted..."

rm -fr */.git*
Expand Down
19 changes: 15 additions & 4 deletions dvrescue/PrepareSource.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,16 @@ function _get_source () {
(cd qwt && curl -L https://github.com/ElderOrb/qwt/commit/3e72164e902cf7a690d19cc0cdf44f9faebbcdc8.patch | patch -p1)

# freetype
curl -LO https://download.savannah.gnu.org/releases/freetype/freetype-2.10.0.tar.bz2
tar -jxf freetype-2.10.0.tar.bz2
rm freetype-2.10.0.tar.bz2
mv freetype-2.10.0 freetype
curl -LO https://download.savannah.gnu.org/releases/freetype/freetype-2.13.2.tar.xz
tar -Jxf freetype-2.13.2.tar.xz
rm freetype-2.13.2.tar.xz
mv freetype-2.13.2 freetype

# harfbuzz
curl -LO https://github.com/harfbuzz/harfbuzz/releases/download/8.2.2/harfbuzz-8.2.2.tar.xz
tar -Jxf harfbuzz-8.2.2.tar.xz
rm harfbuzz-8.2.2.tar.xz
mv harfbuzz-8.2.2 harfbuzz

# ffmpeg
git clone --depth 1 "https://git.ffmpeg.org/ffmpeg.git" ffmpeg
Expand Down Expand Up @@ -173,6 +179,9 @@ function _unix_gui () {
# freetype
cp -r "$WDir"/freetype .

# harfbuzz
cp -r "$WDir"/harfbuzz .

# ffmpeg
cp -r "$WDir"/ffmpeg .

Expand Down Expand Up @@ -233,6 +242,7 @@ function _all_inclusive () {
cp -r "$WDir"/MI/MI/mediainfo_AllInclusive/MediaInfoLib .
cp -r "$WDir"/MI/MI/mediainfo_AllInclusive/MediaInfo .
cp -r "$WDir"/freetype .
cp -r "$WDir"/harfbuzz .
cp -r "$WDir"/ffmpeg .
cp -r "$WDir"/yasm .
cp -r "$WDir"/qwt .
Expand Down Expand Up @@ -291,6 +301,7 @@ function _source_package () {
cp -r "$DR_source" obs/dvrescue
cp -r "$WDir"/ffmpeg obs/dvrescue
cp -r "$WDir"/freetype obs/dvrescue
cp -r "$WDir"/harfbuzz obs/dvrescue
cp -r "$WDir"/xmlstarlet obs/dvrescue
cp -r "$WDir"/MI/MI/MediaInfo_CLI_GNU_FromSource/ZenLib obs/dvrescue
cp -r "$WDir"/MI/MI/MediaInfo_CLI_GNU_FromSource/MediaInfoLib obs/dvrescue
Expand Down

0 comments on commit e5b07b2

Please sign in to comment.