Commit 9f599809 authored by Sam Hocevar's avatar Sam Hocevar

* ./debian/control: Debian packages now build with an mpeg2dec CVS tree in

    the extras/ directory.
parent 19cde667
...@@ -3,6 +3,7 @@ Section: graphics ...@@ -3,6 +3,7 @@ Section: graphics
Priority: optional Priority: optional
Maintainer: Samuel Hocevar <sam@zoy.org> Maintainer: Samuel Hocevar <sam@zoy.org>
Build-Depends: debhelper (>=3.0), gettext, fortune-mod, xlibs-dev, xlibs-pic, libgnome-dev, libggi2-dev, libglide2-dev [i386], libesd0-dev, libsdl1.2-dev (>=1.2.2-3.1), libqt3-mt-dev, libqt3-compat-headers, libasound2-dev (>=0.9.0beta10a), libarts1-dev, libmad0-dev, liblircclient-dev, liba52-0.7.4-dev, aalib1-dev, libdvbpsi1-dev, mozilla-dev, libidl0, libglib2.0-0, kdelibs4-dev, dvb-dev, libdv2-dev, libxosd-dev, svgalibg1-dev (>=1.4.0) [i386], libogg-dev, libvorbis-dev, libwxgtk2.4-dev, libdvdplay0-dev (>=1.0.1-2), libdvdread3-dev, libslp-dev, libflac-dev (>=1.1.0) Build-Depends: debhelper (>=3.0), gettext, fortune-mod, xlibs-dev, xlibs-pic, libgnome-dev, libggi2-dev, libglide2-dev [i386], libesd0-dev, libsdl1.2-dev (>=1.2.2-3.1), libqt3-mt-dev, libqt3-compat-headers, libasound2-dev (>=0.9.0beta10a), libarts1-dev, libmad0-dev, liblircclient-dev, liba52-0.7.4-dev, aalib1-dev, libdvbpsi1-dev, mozilla-dev, libidl0, libglib2.0-0, kdelibs4-dev, dvb-dev, libdv2-dev, libxosd-dev, svgalibg1-dev (>=1.4.0) [i386], libogg-dev, libvorbis-dev, libwxgtk2.4-dev, libdvdplay0-dev (>=1.0.1-2), libdvdread3-dev, libslp-dev, libflac-dev (>=1.1.0)
Build-Conflicts: libmpeg2-dev, libmpeg2-0-dev, libmpeg2-1-dev, libmpeg2-2-dev, libmpeg2-3-dev
Standards-Version: 3.5.9.0 Standards-Version: 3.5.9.0
Package: vlc Package: vlc
......
...@@ -48,6 +48,7 @@ CONFIG_FLAGS += \ ...@@ -48,6 +48,7 @@ CONFIG_FLAGS += \
# These ones are currently shipped with VLC # These ones are currently shipped with VLC
CONFIG_FLAGS += --enable-ffmpeg --with-ffmpeg-tree=extras/ffmpeg CONFIG_FLAGS += --enable-ffmpeg --with-ffmpeg-tree=extras/ffmpeg
CONFIG_FLAGS += --enable-faad --with-faad-tree=extras/faad CONFIG_FLAGS += --enable-faad --with-faad-tree=extras/faad
CONFIG_FLAGS += --enable-libmpeg2 --with-libmpeg2-tree=extras/mpeg2dec
# Glide is only for x86 # Glide is only for x86
ifeq ($(DEB_BUILD_ARCH),i386) ifeq ($(DEB_BUILD_ARCH),i386)
...@@ -104,6 +105,21 @@ build-stamp: ...@@ -104,6 +105,21 @@ build-stamp:
&& $(MAKE); \ && $(MAKE); \
fi fi
# Check that we have an mpeg2dec tree in here (can be a symlink)
test -d extras/mpeg2dec
if test ! -d CVS; then \
cd extras/mpeg2dec \
&& touch configure.in \
&& touch aclocal.m4 \
&& touch acinclude.m4 \
&& touch configure \
&& touch `find . -name config.h.in` \
&& touch `find . -name Makefile.in` \
&& ./configure --disable-shared \
&& cd libmpeg2 \
&& $(MAKE); \
fi
# Configure VLC # Configure VLC
./configure --mandir=$${prefix}/share/man \ ./configure --mandir=$${prefix}/share/man \
--infodir=$${prefix}/share/info $(CONFIG_FLAGS) --infodir=$${prefix}/share/info $(CONFIG_FLAGS)
...@@ -128,6 +144,13 @@ ifneq ($(DEB_BUILD_ARCH),i386) ...@@ -128,6 +144,13 @@ ifneq ($(DEB_BUILD_ARCH),i386)
&& $(MAKE) clean \ && $(MAKE) clean \
&& $(MAKE) AM_CFLAGS=-fPIC; \ && $(MAKE) AM_CFLAGS=-fPIC; \
fi fi
# HACK ME PLENTY MORE!!!
if test ! -d CVS; then \
cd extras/mpeg2dec/libmpeg2 \
&& $(MAKE) clean \
&& $(MAKE) LIBMPEG2_CFLAGS=-fPIC; \
fi
endif endif
# Build all the rest, with the PIC libs # Build all the rest, with the PIC libs
...@@ -146,6 +169,9 @@ clean: ...@@ -146,6 +169,9 @@ clean:
# Check that we have an faad tree in here (can be a symlink) # Check that we have an faad tree in here (can be a symlink)
test -d extras/faad test -d extras/faad
-if test ! -d CVS; then cd extras/faad && $(MAKE) distclean; fi -if test ! -d CVS; then cd extras/faad && $(MAKE) distclean; fi
# Check that we have an mpeg2dec tree in here (can be a symlink)
test -d extras/mpeg2dec
-if test ! -d CVS; then cd extras/mpeg2dec && $(MAKE) distclean; fi
# Remove spurious autotools stuff # Remove spurious autotools stuff
rm -f config.log confdefs.h rm -f config.log confdefs.h
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment