ffmpeg plugin only needs to link against ffmpeg libs.
* clean the ffmpeg build feature.
This commit is contained in:
+11
-18
@@ -299,25 +299,18 @@ if [ IsPackageAvailable mesa_devel ] {
|
|||||||
if [ IsPackageAvailable ffmpeg_devel ] {
|
if [ IsPackageAvailable ffmpeg_devel ] {
|
||||||
local ffmpegLibs = libavformat.so libavcodec.so libavdevice.so
|
local ffmpegLibs = libavformat.so libavcodec.so libavdevice.so
|
||||||
libavfilter.so libswscale.so libavutil.so ;
|
libavfilter.so libswscale.so libavutil.so ;
|
||||||
local speexLibs = libspeex.so ;
|
|
||||||
local libtheoraLibs = libtheora.so libtheoradec.so libtheoraenc.so ;
|
ExtractBuildFeatureArchives ffmpeg :
|
||||||
local libvorbisLibs = libvorbis.so libvorbisenc.so ;
|
file: base ffmpeg
|
||||||
local liboggLibs = libogg.so ;
|
runtime: lib
|
||||||
local libvpxLibs = libvpx.so ;
|
file: devel ffmpeg_devel
|
||||||
|
depends: base
|
||||||
|
libraries: $(developLibDir)/$(ffmpegLibs)
|
||||||
|
headers: $(developHeadersDir)
|
||||||
|
;
|
||||||
|
|
||||||
local feature ;
|
EnableBuildFeatures ffmpeg ;
|
||||||
for feature in ffmpeg speex libtheora libvorbis libogg libvpx {
|
|
||||||
ExtractBuildFeatureArchives $(feature) :
|
|
||||||
file: base $(feature)
|
|
||||||
runtime: lib
|
|
||||||
file: devel $(feature)_devel
|
|
||||||
depends: base
|
|
||||||
libraries: $(developLibDir)/$($(feature)Libs)
|
|
||||||
headers: $(developHeadersDir)
|
|
||||||
;
|
|
||||||
|
|
||||||
EnableBuildFeatures $(feature) ;
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
Echo "FFMpeg support not available on $(TARGET_PACKAGING_ARCH)" ;
|
Echo "FFMpeg support not available on $(TARGET_PACKAGING_ARCH)" ;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -52,18 +52,9 @@ Addon ffmpeg :
|
|||||||
# FFmpeg libraries (from FFmpeg optional package):
|
# FFmpeg libraries (from FFmpeg optional package):
|
||||||
[ BuildFeatureAttribute ffmpeg : libraries ]
|
[ BuildFeatureAttribute ffmpeg : libraries ]
|
||||||
|
|
||||||
[ BuildFeatureAttribute libbz2 : libraries ]
|
|
||||||
[ BuildFeatureAttribute speex : libraries ]
|
|
||||||
[ BuildFeatureAttribute libtheora : libraries ]
|
|
||||||
[ BuildFeatureAttribute libvorbis : libraries ]
|
|
||||||
[ BuildFeatureAttribute libogg : libraries ]
|
|
||||||
[ BuildFeatureAttribute libvpx : libraries ]
|
|
||||||
|
|
||||||
be
|
be
|
||||||
media
|
media
|
||||||
[ BuildFeatureAttribute zlib : library ]
|
|
||||||
$(TARGET_LIBSUPC++)
|
$(TARGET_LIBSUPC++)
|
||||||
$(TARGET_NETWORK_LIBS)
|
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user