Browse Source

Stefan Fiedler:


			
			
				rocklinux
			
			
		
Stefan Fiedler 16 years ago
parent
commit
da9d7348ee
2 changed files with 18 additions and 3 deletions
  1. +16
    -1
      package/base/ffmpeg/ffmpeg.conf
  2. +2
    -2
      package/base/ffmpeg/ffmpeg.desc

+ 16
- 1
package/base/ffmpeg/ffmpeg.conf

@ -34,5 +34,20 @@ pkginstalled xvid && var_append extraconfopt " " "--enable-libxvid"
pkginstalled x264 && var_append extraconfopt " " "--enable-libx264"
pkginstalled a52dec && var_append extraconfopt " " "--enable-liba52"
var_append confopt " " "--enable-shared --enable-postproc --enable-gpl --enable-swscale --enable-pthreads"
var_append extraconfopt " " "--enable-shared --enable-postproc --enable-gpl --enable-swscale --enable-pthreads"
var_append extraconfopt ' ' '--incdir="${includedir#$root}"'
hook_add postinstall 5 "ffmpeg_postinstall"
ffmpeg_postinstall()
{
# xine-lib expects all ffmpeg headers in ffmpeg/.
mkdir -p $includedir/ffmpeg
(
cd $includedir/ffmpeg
for x in ../lib{av{codec,device,format,util},postproc,swscale}/*.h ; do
[ -e "$x" ] && ln -svf "$x" .
done
)
}

+ 2
- 2
package/base/ffmpeg/ffmpeg.desc

@ -36,8 +36,8 @@
[L] LGPL
[S] Beta
[V] 2008-09-13
[V] 2008-09-12
[P] X --?--5---9 195.200
[D] X ffmpeg-2008-09-13.tar.bz2 svn://svn:svn.mplayerhq.hu/ffmpeg/trunk::15305
[D] X ffmpeg-2008-09-12.tar.bz2 svn://svn:svn.mplayerhq.hu/ffmpeg/trunk::15261

Loading…
Cancel
Save