LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1020|回复: 7

请问如何修改mplayer的ebuild

[复制链接]
发表于 2006-4-4 22:54:08 | 显示全部楼层 |阅读模式
如果我想加入
“ myconf="${myconf}  --enable-gui --with-codecsdir=/usr/lib/codecs --with- win32libdir=/usr/lib/codecs --with-reallibdir=/usr/lib/codecs --with-xanimlibdir =/usr/lib/codecs --disable-inet6 --language=zh_CN"”

/usr/portage/media-video/mplayer/mplayer-1.0.20060217.ebuild

应该加入到哪里合适呢?我实验了几个位置,都发现编译的时候出现信息:
Enabled optional drivers:
    Input: ftp network tv mpdvdkit2 vcd
    Codecs: libavcodec xanim libmpeg2 liba52 mp3lib tremor(internal) libmad gif
    Audio output: alsa esd oss sdl mpegpes(file)
    Video output: sdl gif89a md5sum pnm jpeg png mpegpes(file) opengl xv x11 xover
    Audio filters:

  Disabled optional drivers:
    Input: vstream tv-v4l2 tv-v4l tv-bsdbt848 edl live555 matroska cdda dvdread dvb smb
    Codecs: qtx opendivx x264 xvid libdv amr_wb amr_nb real dshow/dmo win32 faad2 faac musepack libdts libtheora speex twolame toolame liblzo
    Audio output: sgi sun openal jack polyp arts dxr2 nas dsound win32
    Video output: xvidix winvidix cvidix bl zr zr2 dxr3 dxr2 directx vesa fbdev svga caca aa ggi xmga mga dga xvmc directfb tga tdfx_vid tdfxfb 3dfx
    Audio filters: ladspa

需要的都在disable里边
还有,这段我也没有看懂
         #############
        # Audio Output #
         #############
        use alsa || myconf="${myconf} --disable-alsa"
        use arts || myconf="${myconf} --disable-arts"
        use esd || myconf="${myconf} --disable-esd"
        use mad || myconf="${myconf} --disable-mad"
        use nas || myconf="${myconf} --disable-nas"
怎么 use后边反尔都是disable呢?
发表于 2006-4-4 23:41:10 | 显示全部楼层
默认是enable的
如果use alsa,后面不执行
如果不use alsa,则执行||后面的,disable之
||就是或
&&才是两边都执行
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-5 08:41:52 | 显示全部楼层
谢谢楼上,请问“ myconf="${myconf} --enable-gui --with-codecsdir=/usr/lib/codecs --with- win32libdir=/usr/lib/codecs --with-reallibdir=/usr/lib/codecs --with-xanimlibdir =/usr/lib/codecs --disable-inet6 --language=zh_CN"”

这个加入到哪里啊?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-6 09:38:19 | 显示全部楼层
up up up……
回复 支持 反对

使用道具 举报

发表于 2006-4-6 21:08:56 | 显示全部楼层
在USE里啊
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-7 23:30:42 | 显示全部楼层
USE="win32codecs real"?
谢谢啦
回复 支持 反对

使用道具 举报

发表于 2006-4-8 06:22:47 | 显示全部楼层
USE="win32codecs real linguas_zh_CN -ipv6"
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-12 15:34:20 | 显示全部楼层
hehe,好了,谢谢:)
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表