lame ------------------------------------------ LAME Ain't an MP3 Encoder Runtime requirements: cygwin-1.5.21 or newer libncurses8-5.5 libsndfile1-1.0.12 libFLAC7-1.1.2 Build requirements: all the runtime + libsndfile-1.0.12 libncurses-devel-5.5 nasm-0.98 Canonical homepage: http://www.mp3dev.org/ ------------------------------------ Build instructions: unpack lame-3.97-EL-1-src.tar.bz2 if you use setup to install this src package, it will be unpacked under /usr/src automatically cd /usr/src/lame-3.97 #Configure ac_cv_header_winsock2_h=no CXXFLAGS="-march=i686" CFLAGS="-march=i686" ./configure --prefix=/usr --disable-dependency-tracking --enable-fast-install --disable-libtool-lock --with-gnu-ld --sysconfdir=/etc --with-fileio=sndfile --enable-decode-layer1 --enable-expopt=full --disable-gtktest --enable-nasm --disable-static make LDFLAGS="" # or frontend has to be "hand" compiled as it will not use the dll: # cd frontend # gcc -O3 -ffast-math -funroll-loops -fschedule-insns2 -fbranch-count-reg -fforce-addr -fforce-mem -Wall -pipe -march=i686 -o lame.exe main.o get_audio.o lametime.o parse.o portableio.o timestatus.o brhist.o ../libmp3lame/.libs/libmp3lame.dll.a -lncurses -lsndfile -L/usr/src/lame-3.97/libmp3lame/.libs # Make lame package for subdir in frontend doc misc dshow ACM mac do (cd $subdir; make install-strip DESTDIR=/tmp/lame) done /usr/bin/install -c -d /tmp/lame/usr/doc/Cygwin /usr/bin/install -c -m 644 CYGWIN-PATCHES/lame-3.97.README /tmp/lame/usr/doc/Cygwin/lame-3.97.README strip /tmp/lame/usr/bin/*.exe # Make libmp3lame-devel package for subdir in libmp3lame include do (cd $subdir; make install DESTDIR=/tmp/liblame-devel) done # Make libmp3lame0 package /usr/bin/install -c -d /tmp/liblame/usr/bin mv /tmp/liblame-devel/usr/bin/cygmp3lame-0.dll /tmp/liblame/usr/bin rmdir /tmp/liblame-devel/usr/bin/ # mp3x package can't be done with GTK2 gcc -O3 -ffast-math -funroll-loops -fschedule-insns2 -fbranch-count-reg -fforce-addr -fforce-mem -Wall -pipe -O4 -march=i686 -D_REENTRANT -DXTHREADS -DXUSE_MTSAFE_API -o mp3x.exe mp3x.o gtkanal.o gpkplotting.o get_audio.o lametime.o parse.o portableio.o timestatus.o brhist.o ../libmp3lame/.libs/libmp3lame.a -lncurses -lsndfile -lFLAC -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangoft2-1.0 -L/usr/X11R6/lib -lXft -lXrender -lXext -lfontconfig -lfreetype -lz -lexpat -lpangox-1.0 -lX11 -lpango-1.0 -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lintl -liconv -lwsock32 -lgthread-2.0 ------------------------------------------- Files included in the binary distro lame: `-- usr |-- bin | `-- lame.exe |-- doc | `-- Cygwin | `-- lame-3.97.README |-- man | `-- man1 | `-- lame.1 `-- share `-- doc `-- lame `-- html |-- basic.html |-- contributors.html |-- examples.html |-- history.html |-- id3.html |-- index.html |-- lame.css |-- modes.html |-- node6.html |-- presets.html `-- switchs.html libmp3lame0: `-- usr `-- bin `-- cygmp3lame-0.dll libmp3lame-devel: `-- usr |-- include | `-- lame | `-- lame.h `-- lib |-- libmp3lame.dll.a `-- libmp3lame.la ------------------ Port Notes: ----- version 3.97.EL-1 ----- Updated for 3.97 Reused a modified version of my patch 'lame-3.96-patch_for_lib_sndfile-1.0.9' still not included. Had a fight with configure and link pass: LDFLAGS to use (see above) and no more static library. ----- version 3.96.1.EL-1 ----- Updated to 3.96.1 This time included this README file and provided the patched source tree ! + explained how to create the 4 packages. Reused my patch 'lame-3.96-patch_for_lib_sndfile-1.0.9' posted on SF: https://sourceforge.net/tracker/?func=detail&aid=974622&group_id=290&atid=300290 ----- version 3.96.EL-1 ----- Initial release Cygwin port maintained by: Eric LASSAUGE http://www.gieadele.com/cygwin-EL/ http://lassauge.free.fr/cygwin/