]> git.sesse.net Git - vlc/blobdiff - ipkg/rules
* ALL: changed the prototype of input_AddES() to include enough information so we...
[vlc] / ipkg / rules
index 9600b3270373a24d1cddda2f3ac68cb1619d323f..2cf5a2bfb45182106b28e762cc5a992976b908d7 100755 (executable)
@@ -6,8 +6,9 @@
 # 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-gtk --enable-fb --enable-sdl --disable-xvideo --disable-plugins --with-tuning=strongarm1100 --x-includes=/skiff/local/arm-linux/include --x-libraries=/skiff/local/arm-linux/lib/X11 --with-sdl-config-path=/skiff/local/bin --with-mad=/skiff/local/arm-linux"
 
 export CONFIG_FLAGS="--enable-release --prefix=/usr \
        --disable-plugins \
@@ -16,10 +17,13 @@ export CONFIG_FLAGS="--enable-release --prefix=/usr \
        --disable-qt \
        --disable-kde \
        --disable-qte \
+       --disable-xosd \
+       --enable-dummy \
        --enable-fb \
        --enable-sdl \
        --enable-oss \
        --disable-alsa \
+       --enable-x11 \
        --disable-xvideo \
        --disable-dvd \
        --disable-dvdread \
@@ -36,13 +40,14 @@ export CONFIG_FLAGS="--enable-release --prefix=/usr \
        --with-gtk-prefix=/usr/local/arm/2.95.3/arm-linux/usr \
        --with-sdl-config-path=/usr/local/arm/2.95.3/arm-linux/usr/bin \
        --with-sdl-prefix=/usr/local/arm/2.95.3/arm-linux/usr \
-       --with-ffmpeg-tree=/home/jpsaman/iPaq/src/ffmpeg"
+       --with-ffmpeg-tree=/home/jpsaman/svn/ipaq/Work/ffmpeg"
+#      --with-ffmpeg-tree=/home/jpsaman/iPaq/src/ffmpeg"
 
 export VIDDIR="usr/share/vlc"
 export PIXDIR="usr/share/pixmaps"
-export DESTDIR=/tmp/vlc
+#export DESTDIR=/tmp/vlc
 export DESTDIR=/usr/local/arm/2.95.3/arm-linux
-export PKGDIR=/home/jpsaman/iPaq/packages/vlc-0.5.0
+export PKGDIR=/home/jpsaman/iPaq/packages/vlc-0.5.3
 
 config:
        ./configure --mandir=$${prefix}/share/man \
@@ -50,9 +55,9 @@ config:
                --host=arm-linux \
                --target=arm-linux \
                $(shell echo $(CONFIG_FLAGS))
-patch:
+#patch:
 # This is ugly -- I know
-       patch -p 0 < ipkg/patch
+#      patch -p 0 < ipkg/patch
 
 build:
        $(MAKE)
@@ -61,7 +66,7 @@ clean:
        -$(MAKE) distclean
 
 install: build
-       rm -f ${PKGDIR}/
+       rm -fr ${PKGDIR}/
        mkdir -p ${PKGDIR}/CONTROL
        mkdir -p $(PKGDIR)/usr/bin
        mkdir -p ${PKGDIR}/usr/share/vlc