Changeset 69bbdda9de56ad1c2470dfa5d7cfee2ddc0b6491
- Timestamp:
- 07/06/04 19:16:32 (4 years ago)
- git-parent:
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
build-vlc
ref59c8f r69bbdda 2 2 3 3 FEATURES=" 4 GNOME gnome5 GNOME2 gnome26 GTK gtk7 GTK2 gtk28 4 SKINS skins 9 BASIC_SKINS basic-skins 10 FAMILIAR familiar 5 SKINS2 skins2 11 6 WXWINDOWS wxwindows 12 QT qt13 KDE kde14 7 OPIE opie 15 8 MACOSX macosx 16 9 QNX qnx 17 INTFWIN intfwin18 10 NCURSES ncurses 19 11 XOSD xosd 20 DVDOLD dvd 12 VISUAL visual 13 GOOM goom 14 SLP slp 15 LIRC lirc 16 JOYSTICK joystick 17 CORBA corba 18 LIVEDOTCOM livedotcom 21 19 DVDREAD dvdread 22 DVDPLAY dvdplay 20 DVDNAV dvdnav 21 DSHOW dshow 23 22 DVBPSI dvbpsi 23 V4L v4l 24 PVR pvr 24 25 VCD vcd 25 V4L v4l 26 SAT satellite 26 SATELLITE satellite 27 DVB dvb 28 OGG ogg 29 MKV mkv 30 MOD mod 27 31 X11 x11 28 32 XVIDEO xvideo 33 FB fb 34 MGA mga 29 35 SDL sdl 30 FB fb 36 FREETYPE freetype 37 FRIBIDI fribidi 38 SVG svg 39 QTE qte 40 HD1000V hd1000v 31 41 DIRECTX directx 32 42 WINGDI wingdi 33 FREETYPE freetype34 QTE qte35 MGA mga36 43 SVGALIB svgalib 37 44 GGI ggi 38 45 GLIDE glide 39 46 AA aa 47 CACA caca 40 48 OSS oss 41 49 ESD esd … … 44 52 WAVEOUT waveout 45 53 COREAUDIO coreaudio 46 OGG ogg 47 A52 a52 54 HD1000A hd1000a 48 55 MAD mad 49 56 FFMPEG ffmpeg 50 57 FAAD faad 51 XVID xvid 52 DV dv 58 QUICKTIME quicktime 59 A52 a52 60 DTS dts 53 61 FLAC flac 54 62 LIBMPEG2 libmpeg2 55 63 VORBIS vorbis 56 64 TREMOR tremor 65 SPEEX speex 57 66 TARKIN tarkin 58 67 THEORA theora 68 CMML cmml 69 UTF8 utf8 70 PTH pth 71 ST st 72 GPROF gprof 73 CPROF cprof 74 MOZILLA mozilla 75 TESTSUITE testsuite 76 OPTIMIZATIONS optimizations 77 ALTIVEC altivec 78 DEBUG debug 79 RELEASE release 59 80 SOUT sout 60 SLP slp 61 DEBUG debug 81 WITHFFMPEGMP3LAME ffmpeg-mp3lame 82 WITHFFMPEGFAAC ffmpeg-faac 62 83 " 63 84 PATHS=" 64 FFMPEG_TREE ffmpeg-tree 85 WITHXML2CONFIGPATH xml2-config-path 86 WITHWXCONFIGPATH wx-config-path 87 WITHQTE qte 88 WITHGOOMTREE goom-tree 89 WITHSLP slp 90 WITHLIVEDOTCOMTREE livedotcom-tree 91 WITHDVDREAD dvdread 92 WITHDVDREADTREEE dvdread-tree 93 WITHDVDNAVCONFIGPATH dvdnav-config-path 94 WITHDVBPSI dvbpsi 95 WITHDVBPSITREE dvbpsi-tree 96 WITHV4L v4l 97 WITHDVB dvb 98 WITHSDLCONFIGPATH sdl-config-path 99 WITHSDLPREFIX sdl-prefix 100 WITHFREETYPECONFIGPATH freetype-config-path 101 WITHFRIBIDICONFIGPATH fribidi-config-path 102 WITHQTE qte 103 WITHDIRECTX directx 104 WITHGGI ggi 105 WITHGLIDE glide 106 WITHCACACONFIGPATH caca-config-path 107 WITHMAD mad 108 WITHMADTREE mad-tree 109 WITHFFMPEGTREE ffmpeg-tree 110 WITHFAADTREE faad-tree 111 WITHA52 a52 112 WITHA52TREE a52-tree 113 WITHDTSTREE dts-tree 114 WITHLIBMPEG2TREE libmpeg2-tree 115 WITHTARKINTREE tarkin-tree 116 WITHMOZILLASDKPATH mozilla-sdk-path 117 ENDIANNESS words 65 118 " 66 119 if [ ! -e .config ] 67 120 then 68 121 ./menuconfig 122 fi 123 124 if [ -e .cmd ] 125 then 126 echo ".cmd still exist. Removing it." 127 rm -f .cmd 69 128 fi 70 129 … … 78 137 if [ "$x" == "y" ] 79 138 then 80 echo -n "--enable-$2 " >> .cmd 139 if [ "$1" == "WITHFFMPEGMP3LAME" ] 140 then 141 echo -n "--with-$2 " >> .cmd 142 else if [ "$1" == "WITHFFMPEGFAAC" ] 143 then 144 echo -n "--with-$2 " >> .cmd 145 else 146 echo -n "--enable-$2 " >> .cmd 147 fi fi 81 148 else 82 echo -n "--disable-$2 " >> .cmd 149 if [ "$1" == "WITHFFMPEGMP3LAME" ] 150 then 151 echo -n "--without-$2 " >> .cmd 152 else if [ "$1" == "WITHFFMPEGFAAC" ] 153 then 154 echo -n "--without-$2 " >> .cmd 155 else 156 echo -n "--disable-$2 " >> .cmd 157 fi fi 83 158 fi 84 159 shift; shift … … 92 167 then 93 168 eval x="\$CONFIG_$1" 94 echo -n "--with-$2=$x" >> .cmd 169 if [ "$x" != "" ] 170 then 171 echo -n "--with-$2=$x " >> .cmd 172 fi 95 173 fi 96 174 shift; shift config.in
ref59c8f r69bbdda 7 7 choice 'Operating System' \ 8 8 "Linux CONFIG_LINUX \ 9 MacOS_X CONFIG_MAC \9 MacOS_X CONFIG_MAC \ 10 10 Win32 CONFIG_WIN32" Linux 11 11 12 12 mainmenu_option next_comment 13 comment 'Graphical User Interfaces' 14 bool 'GTK+ support' CONFIG_GTK 15 dep_bool ' Gnome interface support' CONFIG_GNOME $CONFIG_GTK 16 bool 'GTK2 support' CONFIG_GTK2 17 dep_bool ' Gnome2 support' CONFIG_GNOME2 $CONFIG_GTK2 13 comment 'Interfaces' 18 14 bool 'Skins module' CONFIG_SKINS 19 bool 'Basic skins module (without wxWindows)' CONFIG_BASIC_SKINS 20 bool 'Familiar GTK+ support' CONFIG_FAMILIAR 15 bool 'Skins2 module' CONFIG_SKINS2 16 if [ "$CONFIG_SKINS2" = "y" ]; then 17 string 'xml2-config path' CONFIG_WITHXML2CONFIGPATH "" 18 fi 19 # TODO: --enable-pda 21 20 bool 'wxWindows support' CONFIG_WXWINDOWS 22 bool 'Qt interface support' CONFIG_QT 23 bool 'KDE interface support' CONFIG_KDE 21 if [ "$CONFIG_WXWINDOWS" = "y" ]; then 22 string 'wx-config path' CONFIG_WITHWXCONFIGPATH "" 23 fi 24 24 bool 'Qt embedded interface support' CONFIG_OPIE 25 if [ "$CONFIG_OPIE" = "y" ]; then 26 string 'Qt Embedded headers and libraries' CONFIG_WITHQTE "" 27 fi 25 28 if [ "$CONFIG_MAC" = "y" ]; then 26 29 bool 'MacOS X support' CONFIG_MACOSX 27 30 fi 28 31 bool 'QNX RTOS support' CONFIG_QNX 29 if [ "$CONFIG_WIN32" = "y" ]; then 30 bool 'Win32 interface support' CONFIG_INTFWIN 31 fi 32 bool 'ncurses interface support' CONFIG_NCURSES 32 bool 'Ncurses interface support' CONFIG_NCURSES 33 33 bool 'xosd interface support' CONFIG_XOSD 34 endmenu 35 36 mainmenu_option next_comment 37 comment 'Inputs' 34 bool 'Visualization plugin' CONFIG_VISUAL 35 bool 'Goom visualization plugin' CONFIG_GOOM 36 if [ "$CONFIG_GOOM" = "y" ]; then 37 string 'goom tree for static linking' CONFIG_WITHGOOMTREE "" 38 fi 39 bool 'SLP service discovery support' CONFIG_SLP 40 if [ "$CONFIG_SLP" = "y" ]; then 41 string 'libslp headers and libraries' CONFIG_WITHSLP "" 42 fi 43 bool 'IR remote control support' CONFIG_LIRC 44 bool 'Joystick control' CONFIG_JOYSTICK 45 bool 'Corba interface support' CONFIG_CORBA 46 endmenu 47 48 mainmenu_option next_comment 49 comment 'Input plugins' 50 bool 'Live.com input plugin' CONFIG_LIVEDOTCOM 51 if [ "$CONFIG_LIVEDOTCOM" = "y" ]; then 52 string 'live.com tree for static linking' CONFIG_WITHLIVEDOTCOMTREE "" 53 fi 38 54 bool 'DVD support' CONFIG_DVD 39 55 if [ "$CONFIG_DVD" = "y" ]; then 40 bool ' DVD input module' CONFIG_DVDOLD41 56 bool ' dvdread input module' CONFIG_DVDREAD 42 bool ' dvdplay input module' CONFIG_DVDPLAY 43 bool ' dvbpsi ts mux and demux module' CONFIG_DVBPSI 44 fi 45 bool 'VCD support' CONFIG_VCD 57 if [ "$CONFIG_DVDREAD" = "y" ]; then 58 string ' libdvdread headers and libraries' CONFIG_WITHDVDREAD "" 59 string ' libdvdread tree for static linking' CONFIG_WITHDVDREADTREE "" 60 fi 61 bool ' dvdnav input module' CONFIG_DVDNAV 62 if [ "$CONFIG_DVDNAV" = "y" ]; then 63 string ' dvdnav-config path' CONFIG_WITHDVDNAVCONFIGPATH "" 64 fi 65 fi 66 boof 'Win32 DirectShow support' CONFIG_DSHOW 67 bool 'Dvbpsi ts mux and demux module' CONFIG_DVBPSI 68 if [ "$CONFIG_DVBPSI" = "y" ]; then 69 string ' libdvbpsi headers and libraries' CONFIG_WITHDVBPSI "" 70 string ' libdvbpsi tree for static linking' CONFIG_WITHDVBPSITREE "" 71 fi 46 72 bool 'Video for Linux (V4L) support' CONFIG_V4L 47 bool 'Satellite support' CONFIG_SAT 48 endmenu 49 50 mainmenu_option next_comment 51 comment 'Video outputs' 73 if [ "$CONFIG_V4L" = "y" ]; then 74 string ' path to a v4l-enabled kernel tree' CONFIG_WITHV4L 75 fi 76 bool 'PVR cards support' CONFIG_PVR 77 bool 'VCD support for Linux, FreeBSD, MacOS X and Win32' CONFIG_VCD 78 bool 'Satellite card support' CONFIG_SATELLITE 79 bool 'DVB-S/T/C cards support' CONFIG_DVB 80 if [ "$CONFIG_DVB" = "y" ]; then 81 string ' path to a dvb- and v4l2-enabled kernel tree' CONFIG_WITHDVB 82 fi 83 bool 'Ogg demux support' CONFIG_OGG 84 bool 'Matroska demux support' CONFIG_MKV 85 bool 'Mod demux support' CONFIG_MOD 86 endmenu 87 88 mainmenu_option next_comment 89 comment 'Video plugins' 52 90 if [ "$CONFIG_LINUX" = "y" ]; then 53 91 bool 'X11 support' CONFIG_X11 54 92 bool 'XVideo support' CONFIG_XVIDEO 55 93 bool 'Linux framebuffer support' CONFIG_FB 56 fi 94 bool 'Linux kernel Matrox support' CONFIG_MGA 95 fi 96 bool 'SDL support' CONFIG_SDL 97 if [ "$CONFIG_SDL" = "y" ]; then 98 string ' SDL-config path' CONFIG_WITHSDLCONFIGPATH "" 99 string ' Path to libsdl' CONFIG_WITHSDLPREFIX "" 100 fi 101 bool 'freetype support' CONFIG_FREETYPE 102 if [ "$CONFIG_FREETYPE" = "y" ]; then 103 string ' Freetype-config path' CONFIG_WITHFREETYPECONFIGPATH "" 104 fi 105 bool 'Fribidi support' CONFIG_FRIBIDI 106 if [ "$CONFIG_FRIBIDI" = "y" ]; then 107 string ' Fribidi-config path' CONFIG_WITHFRIBIDICONFIGPATH "" 108 fi 109 bool 'SVG support' CONFIG_SVG 110 bool 'QT Embedded support' CONFIG_QTE 111 if [ "$CONFIG_QTE" = "y" ]; then 112 string ' Qt Embedded headers and libraries' CONFIG_WITHQTE "" 113 fi 114 bool 'HD1000 Video Output module' CONFIG_HD1000V 57 115 if [ "$CONFIG_WIN32" = "y" ]; then 58 116 bool 'Win32 DirectX support' CONFIG_DIRECTX 117 if [ "$CONFIG_DIRECTX" = "y" ]; then 118 string ' Win32 DirectX headers' CONFIG_WITHDIRECTX "" 119 fi 59 120 bool 'Win32 GDI module' CONFIG_WINGDI 60 121 fi 61 bool 'SDL video output' CONFIG_SDL62 bool 'freetype support' CONFIG_FREETYPE63 bool 'QT Embedded support' CONFIG_QTE64 bool 'Linux kernel Matrox support' CONFIG_MGA65 122 bool 'SVGAlib support' CONFIG_SVGALIB 66 123 bool 'GGI support' CONFIG_GGI 124 if [ "$CONFIG_GGI" = "y" ]; then 125 string ' Path to libggi' CONFIG_WITHGGI "" 126 fi 67 127 bool 'Glide (3dfx) support' CONFIG_GLIDE 128 if [ "$CONFIG_GLIDE" = "y" ]; then 129 string ' Path to libglide' CONFIG_WITHGLIDE "" 130 fi 68 131 bool 'aalib output' CONFIG_AA 69 endmenu 70 71 mainmenu_option next_comment 72 comment 'Audio outputs' 132 bool 'cacalib output' CONFIG_CACA 133 if [ "$CONFIG_CACA" = "y" ]; then 134 string ' Caca-config path' CONFIG_WITHCACACONFIGPATH "" 135 fi 136 endmenu 137 138 mainmenu_option next_comment 139 comment 'Audio plugins' 73 140 if [ "$CONFIG_LINUX" = "y" ]; then 74 141 bool 'Linux OSS /dev/dsp support' CONFIG_OSS … … 83 150 bool 'CoreAudio module' CONFIG_COREAUDIO 84 151 fi 85 endmenu 86 87 mainmenu_option next_comment 88 comment 'Codecs' 89 bool 'Ogg demux support' CONFIG_OGG 90 bool 'A/52 support' CONFIG_A52 91 bool 'libmad module' CONFIG_MAD 92 bool 'ffmpeg codec' CONFIG_FFMPEG 152 bool 'HD1000 audio module' CONFIG_HD1000A 153 endmenu 154 155 mainmenu_option next_comment 156 comment 'Codec plugins' 157 bool 'Libmad module' CONFIG_MAD 158 if [ "$CONFIG_MAD" = "y" ]; then 159 string ' Path to libmad' CONFIG_WITHMAD "" 160 string ' Mad tree for static linking' CONFIG_WITHMADTREE "" 161 fi 162 bool 'Ffmpeg codec' CONFIG_FFMPEG 93 163 if [ "$CONFIG_FFMPEG" = "y" ]; then 94 string "ffmpeg tree" CONFIG_FFMPEG_TREE /home/videolan/ffmpeg 95 fi 96 bool 'faad codec' CONFIG_FAAD 97 bool 'xvid codec' CONFIG_XVID 98 bool 'DV decoder support' CONFIG_DV 99 bool 'flac decoder support' CONFIG_FLAC 100 bool 'libmpeg2 decoder support' CONFIG_LIBMPEG2 164 bool ' Ffmpeg has been compiled with mp3lame support' CONFIG_WITHFFMPEGMP3LAME 165 bool ' Ffmpeg has been compiled with faac support' CONFIG_WITHFFMPEGFAAC 166 string ' Ffmpeg tree for static linking' CONFIG_WITHFFMPEGTREE "" 167 fi 168 bool 'Faad codec' CONFIG_FAAD 169 if [ "$CONFIG_FAAD" = "y" ]; then 170 string ' Faad tree for static linking' CONFIG_WITHFAADTREE "" 171 fi 172 bool 'QuickTime module' CONFIG_QUICKTIME 173 bool 'A/52 support with liba52' CONFIG_A52 174 if [ "$CONFIG_A52" = "y" ]; then 175 string ' A52 headers and libraries' CONFIG_WITHA52 "" 176 string ' A52dec tree for static linking' CONFIG_WITHA52TREE "" 177 fi 178 bool 'DTS Coherent Acoustics support with libdts' CONFIG_DTS 179 if [ "$CONFIG_DTS" = "y" ]; then 180 string ' Libdts tree for static linking' CONFIG_WITHDTSTREE "" 181 fi 182 bool 'Flac decoder support' CONFIG_FLAC 183 bool 'Libmpeg2 decoder support' CONFIG_LIBMPEG2 184 if [ "$CONFIG_LIBMPEG2" = "y" ]; then 185 string ' Libmpeg2 tree for static linking' CONFIG_WITHLIBMPEG2TREE "" 186 fi 101 187 bool 'Vorbis decoder support' CONFIG_VORBIS 102 188 bool 'Tremor decoder support' CONFIG_TREMOR 103 bool 'tarkin codec' CONFIG_TARKIN 104 bool 'theora codec' CONFIG_THEORA 105 endmenu 106 107 mainmenu_option next_comment 108 comment 'Streaming' 189 bool 'Speex decoder support' CONFIG_SPEEX 190 bool 'Experimental tarkin codec' CONFIG_TARKIN 191 if [ "$CONFIG_TARKIN" = "y" ]; then 192 string ' Tarkin tree for static linking' CONFIG_WITHTARKINTREE "" 193 fi 194 bool 'Experimental theora codec' CONFIG_THEORA 195 bool 'CMML support' CONFIG_CMML 196 endmenu 197 198 mainmenu_option next_comment 199 comment 'Miscellaneous options' 200 bool 'UTF8 support' CONFIG_UTF8 201 bool 'GNU Portable Threads support' CONFIG_PTH 202 bool 'State threads support' CONFIG_ST 203 bool 'Gprof profiling' CONFIG_GPROF 204 bool 'Cprof profiling' CONFIG_CPROF 205 # TODO: change to a tristate choice 206 # bool 'Set endianness' CONFIG_ENDIANNESS 207 bool 'Mozilla plugin' CONFIG_MOZILLA 208 if [ "$CONFIG_MOZILLA" = "y" ]; then 209 string ' Path to win32 mozilla sdk' CONFIG_WITHMOZILLASDKPATH "" 210 fi 211 bool 'Build test modules' COFIG_TESTSUITE 212 # TODO: --disable-plugins 213 endmenu 214 215 mainmenu_option next_comment 216 comment 'Optimization options' 217 # TODO: add --with-tuning=ARCH 218 bool 'Compiler optimizations' CONFIG_OPTIMIZATIONS 219 if [ "$CONFIG_MAC" = "y" ]; then 220 bool 'AltiVec optimizations' CONFIG_ALTIVEC 221 fi 222 bool 'Debug mode' CONFIG_DEBUG 223 bool 'Extra optimizations' CONFIG_RELEASE 109 224 bool 'Stream output modules' CONFIG_SOUT 110 225 endmenu 111 226 112 mainmenu_option next_comment113 comment 'Miscellaneous options'114 bool 'SLP service discovery support' CONFIG_SLP115 endmenu116 117 mainmenu_option next_comment118 comment 'Compilation options'119 bool 'Debug mode' CONFIG_DEBUG120 endmenu
