X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=ipkg%2Frules.opie;h=ac8a9ca36cc69b58f477e08440947f808c81c872;hb=a572c3a3cd26e8a91907b535c1ce87e32fd3d197;hp=3cc83920f8f6faa484b22c1e8a8431ad97558ce5;hpb=5932b0adfebc23da5cd10221e87276eb155b5a27;p=vlc diff --git a/ipkg/rules.opie b/ipkg/rules.opie index 3cc83920f8..ac8a9ca36c 100755 --- a/ipkg/rules.opie +++ b/ipkg/rules.opie @@ -3,51 +3,62 @@ # based on Joey Hess's one. # Kludged for ipkg -# export PATH="$PATH:/usr/local/arm/2.95.3/bin" +VERSION=0.7.1 + +export VIDDIR="usr/share/vlc" +export PIXDIR="usr/share/pixmaps" +export DESTDIR=${HOME}/arm-linux +export PKGDIR=${HOME}/packages/opie-vlc-$(VERSION) +export QTDIR=${HOME}/arm-linux/opt/QtPalmtop + # Compilation options -export CC=arm-linux-gcc -export LD=arm-linux-ld -export AR=arm-linux-ar -export RANLIB=arm-linux-ranlib -export STRIP=arm-linux-strip export CONFIG_FLAGS="--enable-release --prefix=/usr \ --disable-plugins \ --disable-gtk \ + --disable-gtk2 \ --disable-gnome \ + --disable-gnome2 \ --disable-qt \ --disable-kde \ --disable-xosd \ + --disable-ogg \ + --disable-tarkin \ + --disable-tremor \ + --disable-theorea \ --enable-qte \ --disable-x11 \ + --disable-xvideo \ --enable-dummy \ + --enable-v4l \ + --enable-sout \ --enable-fb \ - --enable-sdl \ + --disable-sdl \ + --enable-oss \ --disable-alsa \ - --disable-xvideo \ --disable-dvd \ --disable-dvdread \ --disable-vcd \ --disable-maxosx \ - --disable-xosd \ --disable-freetype \ + --enable-a52 \ + --enable-faad2 \ --enable-flac \ --enable-libmpeg2 \ + --enable-libdvbpsi \ + --disable-mkv \ --enable-mad \ --enable-ffmpeg \ - --disable-familiar \ + --disable-pda \ --with-tuning=strongarm1100 \ - --with-mad-tree=/home/jpsaman/iPaq/src/mad-0.14.2b \ - --with-sdl-config-path=/usr/local/arm/2.95.3/arm-linux/opt/QtPalmtop/bin \ - --with-sdl-prefix=/usr/local/arm/2.95.3/arm-linux/opt/QtPalmtop \ - --with-qte=/usr/local/arm/2.95.3/arm-linux/opt/QtPalmtop \ - --with-ffmpeg-tree=/home/jpsaman/svn/tmp/ffmpeg-20030517" - -export VIDDIR="usr/share/vlc" -export PIXDIR="usr/share/pixmaps" -#export DESTDIR=/tmp/vlc -export DESTDIR=/usr/local/arm/2.95.3/arm-linux -export PKGDIR=/home/jpsaman/iPaq/packages/opie-vlc-0.6.0 -export QTDIR=/usr/local/arm/2.95.3/arm-linux/opt/QtPalmtop + --with-libiconv-prefix=${HOME}/arm-linux/usr \ + --with-mad-tree=${HOME}/arm-linux/vlc-${VERSION}/libmad-0.15.0b \ + --with-a52-tree=${HOME}/arm-linux/vlc-${VERSION}/a52dec-0.7.4 \ + --with-faad2-tree=${HOME}/arm-linux/vlc-${VERSION}/faad2-20030612 \ + --with-flac-tree=${HOME}/arm-linux/vlc-${VERSION}/flac-1.1.0 \ + --with-libmpeg2-tree=${HOME}/arm-linux/vlc-${VERSION}/mpeg2dec-20030612 \ + --with-libdvbpsi-tree=${HOME}/arm-linux/vlc-${VERSION}/libdvbpsi-0.1.2 \ + --with-qte=${QTDIR} \ + --with-ffmpeg-tree=${HOME}/arm-linux/vlc-${VERSION}/ffmpeg-20030622" build: build-stamp config: @@ -56,8 +67,11 @@ config: --host=arm-linux \ --target=arm-linux \ $(shell echo $(CONFIG_FLAGS)) \ - LDFLAGS="-L/usr/local/arm/2.95.3/arm-linux/lib -L/usr/local/arm/2.95.3/arm-linux/lib -L/usr/local/arm/2.95.3/arm-linux/opt/QtPalmtop/lib" \ - CPPFLAGS="-IL/usr/local/arm/2.95.3/arm-linux/include -I/usr/local/arm/2.95.3/arm-linux/usr/include -I/usr/local/arm/2.95.3/arm-linux/opt/QtPalmtop/include" + LDFLAGS="-L${HOME}/arm-linux/lib \ + -L${QTDIR}/lib \ + -L${HOME}/arm-linux/vlc-${VERSION}/libid3tag-0.15.0b" \ + CPPFLAGS="-I${QTDIR}/include \ + -I${HOME}/arm-linux/vlc-${VERSION}/libid3tag-0.15.0b" build-stamp: # This is ugly -- I know