X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=ipkg%2Frules.zaurus;h=7386a1a4f79de7a228f6a89e80b5f4964ab82b36;hb=4485d8343924024bae34ec897e5a2a07940f491e;hp=de791cb3c752576c77141b3a996884807e08743b;hpb=9a7f22d1584d7361c502b3536586c14f3d923e8f;p=vlc diff --git a/ipkg/rules.zaurus b/ipkg/rules.zaurus index de791cb3c7..7386a1a4f7 100755 --- a/ipkg/rules.zaurus +++ b/ipkg/rules.zaurus @@ -1,47 +1,64 @@ #!/usr/bin/make -f -# debian/rules for the VideoLAN Client - uses debhelper. +# debian/rules for the VLC media player - uses debhelper. # based on Joey Hess's one. # Kludged for ipkg -# export PATH="$PATH:/usr/local/arm/2.95.3/bin" +VERSION=0.8.0 + +export VIDDIR="usr/share/vlc" +export PIXDIR="usr/share/pixmaps" +export DESTDIR=${HOME}/arm-linux +export PKGDIR=${HOME}/packages/zaurus-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-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/iPaq/src/ffmpeg" - -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/zaurus-vlc-0.5.2 -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: @@ -49,7 +66,12 @@ config: --infodir=$${prefix}/share/info \ --host=arm-linux \ --target=arm-linux \ - $(shell echo $(CONFIG_FLAGS)) + $(shell echo $(CONFIG_FLAGS)) \ + LDFLAGS="-L${HOME}/arm-linux/lib \ + -L${HOME}/arm-linux/opt/QtPalmtop/lib \ + -L${HOME}/arm-linux/vlc-${VERSION}/libid3tag-0.15.0b" \ + CPPFLAGS="-I${HOME}/arm-linux/opt/QtPalmtop/include \ + -I${HOME}/arm-linux/vlc-${VERSION}/libid3tag-0.15.0b" build-stamp: # This is ugly -- I know @@ -68,15 +90,15 @@ install: build mkdir -p ${PKGDIR}/usr/lib/menu mkdir -p ${PKGDIR}/usr/lib/vlc mkdir -p ${PKGDIR}/opt/QtPalmtop/sharp/bin - mkdir -p ${PKGDIR}/opt/QtPalmtop/sharp/apps/Applications + mkdir -p ${PKGDIR}/opt/QtPalmtop/apps/Applications $(STRIP) vlc cp ipkg/control.zaurus $(PKGDIR)/CONTROL/control cp ipkg/postinst.zaurus ${PKGDIR}/CONTROL/postinst cp ipkg/postrm.zaurus ${PKGDIR}/CONTROL/postrm cp share/vlc48x48.png ${PKGDIR}/usr/share/vlc cp vlc $(PKGDIR)/usr/bin - cp ipkg/vlc.zaurus ${PKGDIR}/opt/QtPalmtop/sharp/bin/opie-vlc cp ipkg/vlc.zaurus ${PKGDIR}/opt/QtPalmtop/sharp/bin/zaurus-vlc + cp ipkg/vlc.zaurus ${PKGDIR}/opt/QtPalmtop/sharp/bin/opie-vlc cp ipkg/vlc.desktop ${PKGDIR}/opt/QtPalmtop/sharp/apps/Applications install-plugins: install