ffmpeg: enable GPL licensed code

* Needed for VLC to build (libpostproc)
This commit is contained in:
Adrien Destugues
2014-09-10 22:55:30 +02:00
parent 2bbd186b14
commit 7acc7ba7f5
2 changed files with 188 additions and 17 deletions

View File

@@ -29,6 +29,7 @@ PROVIDES="
lib:libavformat$secondaryArchSuffix = 53.32.100 compat >= 53
lib:libavdevice$secondaryArchSuffix = 53.4.100 compat >= 53
lib:libavfilter$secondaryArchSuffix = 2.61.100 compat >= 2
lib:libpostproc$secondaryArchSuffix = 52.0.100 compat >= 52
lib:libswscale$secondaryArchSuffix = 2.1.100 compat >= 2
lib:libswresample$secondaryArchSuffix = 0.6.100 compat >= 0
"
@@ -106,9 +107,10 @@ BUILD()
--enable-libvorbis \
--enable-libspeex \
--enable-libtheora \
--enable-libvpx
--enable-libvpx \
--enable-gpl
make $jobArgs CFLAGS="-fno-PIC -std=c99"
make $jobArgs CFLAGS="-fno-PIC -std=gnu9x"
}
INSTALL()
@@ -128,7 +130,8 @@ INSTALL()
libavformat \
libavutil \
libswresample \
libswscale
libswscale \
libpostproc
fixPkgconfig
# include the documented ffserver.conf
@@ -155,6 +158,7 @@ PROVIDES_devel="
devel:libavfilter$secondaryArchSuffix = 2.61.100 compat >= 2
devel:libavformat$secondaryArchSuffix = 53.32.100 compat >= 53
devel:libavutil$secondaryArchSuffix = 51.35.100 compat >= 51
devel:libpostproc$secondaryArchSuffix = 52.0.100 compat >= 52
devel:libswresample$secondaryArchSuffix = 0.6.100 compat >= 0
devel:libswscale$secondaryArchSuffix = 2.1.100 compat >= 2
"