* vlc.ebuild:
[vlc.git] / vlc.ebuild
index 76d2bcb..cefcf1d 100644 (file)
@@ -2,7 +2,7 @@
 # vlc.ebuild: A Gentoo ebuild for vlc
 ###############################################################################
 # Copyright (C) 2003 VideoLAN
-# $Id: vlc.ebuild,v 1.8 2003/06/22 15:03:33 hartman Exp $
+# $Id: vlc.ebuild,v 1.10 2003/06/28 00:29:13 sam Exp $
 #
 # Authors: Derk-Jan Hartman <thedj at users.sf.net>
 #
@@ -36,7 +36,7 @@ DESCRIPTION="VLC media player - A videoplayer that plays DVD,
 
 SRC_URI="http://www.videolan.org/pub/${PN}/${PV}/${P}.tar.bz2
                 http://www.videolan.org/pub/${PN}/${PV}/contrib/mpeg2dec-20030612.tar.bz2
-                http://www.videolan.org/pub/${PN}/${PV}/contrib/ffmpeg-20030612.tar.bz2"
+                http://www.videolan.org/pub/${PN}/${PV}/contrib/ffmpeg-20030622.tar.bz2"
 
 HOMEPAGE="http://www.videolan.org/vlc"
 
@@ -101,6 +101,10 @@ src_unpack() {
                sed "s:-lkfile::" \
                        configure.ac.orig > configure.ac
 
+               cp configure configure.orig
+               sed "s:-lkfile::" \
+                       configure.orig > configure
+
                cd ${S}/modules/gui/kde
                cp interface.h interface.h.orig
                sed "s:\(#include <kmainwindow.h>\):\1\n#include <kstatusbar.h>:" \
@@ -218,6 +222,13 @@ src_compile(){
        export WANT_AUTOCONF_2_5=1
        export WANT_AUTOMAKE_1_6=1
 
+       # Avoid timestamp skews with autotools
+       touch configure.ac
+       touch aclocal.m4
+       touch configure
+       touch config.h.in
+       touch `find . -name Makefile.in`
+
        myconf="${myconf} --enable-ffmpeg --with-ffmpeg-tree=${SFFMPEG} \
                --enable-libmpeg2 --with-libmpeg2-tree=${SLIBMPEG2} \
                --enable-dvbpsi \