1 SubDir HAIKU_TOP src add-ons media media-add-ons dvb ;
3 UsePrivateHeaders drivers ;
5 SubDirC++Flags -D__STDC_CONSTANT_MACROS -Wno-deprecated-declarations ;
7 local architectureObject ;
8 for architectureObject in [ MultiArchSubDirSetup ] {
9 on $(architectureObject) {
10 UseBuildFeatureHeaders ffmpeg ;
11 Includes [ FGristFiles $(sources) ]
12 : [ BuildFeatureAttribute ffmpeg : headers ] ;
14 local ffmpegHeaders = [ BuildFeatureAttribute ffmpeg : headers : path ] ;
15 UseHeaders $(ffmpegHeaders) ;
16 UseHeaders [ FDirName $(ffmpegHeaders) libavcodec ] ;
17 UseHeaders [ FDirName $(ffmpegHeaders) libavformat ] ;
18 UseHeaders [ FDirName $(ffmpegHeaders) libavutil ] ;
20 Addon [ MultiArchDefaultGristFiles dvb.media_addon ] :
25 MediaStreamDecoder.cpp
29 TransportStreamDemux.cpp
30 : be media [ TargetLibsupc++ ]
33 Includes [ FGristFiles MediaFormat.cpp ]
34 : [ BuildFeatureAttribute ffmpeg : headers ] ;