]> git.pld-linux.org Git - packages/ffmpeg.git/blob - freetype2.patch
7a6c447c27ba20407be0375c75b174bfc22058d1
[packages/ffmpeg.git] / freetype2.patch
1 --- ffmpeg-2.1.1/configure~     2013-11-30 13:14:22.612044487 +0100
2 +++ ffmpeg-2.1.1/configure      2013-11-30 13:24:12.010919213 +0100
3 @@ -1102,6 +1102,13 @@
4      add_extralibs $(get_safe ${pkg}_libs)
5  }
6  
7 +require_pkg_config2(){
8 +    pkg="$1"
9 +    check_cmd $pkg_config --exists --print-errors $pkg || die "ERROR: $pkg not found"
10 +    add_cflags    $(get_safe ${pkg}_cflags)
11 +    add_extralibs $(get_safe ${pkg}_libs)
12 +}
13 +
14  hostcc_o(){
15      eval printf '%s\\n' $HOSTCC_O
16  }
17 @@ -4242,7 +4249,7 @@
18  enabled libfdk_aac        && require libfdk_aac fdk-aac/aacenc_lib.h aacEncOpen -lfdk-aac
19  flite_libs="-lflite_cmu_time_awb -lflite_cmu_us_awb -lflite_cmu_us_kal -lflite_cmu_us_kal16 -lflite_cmu_us_rms -lflite_cmu_us_slt -lflite_usenglish -lflite_cmulex -lflite"
20  enabled libflite          && require2 libflite "flite/flite.h" flite_init $flite_libs
21 -enabled libfreetype       && require_pkg_config freetype2 "ft2build.h freetype/freetype.h" FT_Init_FreeType
22 +enabled libfreetype       && require_pkg_config2 freetype2
23  enabled libgme            && require  libgme gme/gme.h gme_new_emu -lgme -lstdc++
24  enabled libgsm            && { for gsm_hdr in "gsm.h" "gsm/gsm.h"; do
25                                     check_lib "${gsm_hdr}" gsm_create -lgsm && break;
This page took 0.052952 seconds and 2 git commands to generate.