Commit 7fadd296 authored by Sam Hocevar's avatar Sam Hocevar

* ./debian/rules: the Debian package creation script builds ffmpeg.

parent 9fa99246
......@@ -9,7 +9,8 @@
export DH_COMPAT=3
# Compilation options
export CONFIG_FLAGS="--enable-release --prefix=/usr --enable-gnome --enable-gtk --enable-fb --enable-ggi --enable-sdl --enable-esd --enable-qt --enable-mad --enable-arts --enable-alsa --enable-lirc --enable-a52 --enable-aa --enable-dvbpsi --enable-xosd --enable-mozilla --enable-kde"
export FFMPEG_VERSION=20020707
export CONFIG_FLAGS="--enable-release --prefix=/usr --enable-gnome --enable-gtk --enable-fb --enable-ggi --enable-sdl --enable-esd --enable-qt --enable-mad --enable-arts --enable-alsa --enable-lirc --enable-a52 --enable-aa --enable-dvbpsi --enable-xosd --enable-mozilla --enable-kde --enable-ffmpeg --with-ffmpeg-tree=ffmpeg-$(FFMPEG_VERSION)"
# Remove --without-dvdcss here in non-totalitarian countries
export DVDCSS_FLAGS="--enable-dvd --without-dvdcss"
......@@ -21,6 +22,10 @@ build: build-stamp
build-stamp:
dh_testdir
# Check that we have an ffmpeg tree in here (can be a symlink)
test -d ffmpeg-$(FFMPEG_VERSION)
(cd ffmpeg-$(FFMPEG_VERSION) ; ./configure ; make)
case $(DEB_BUILD_ARCH) in \
i386) \
ARCH_FLAGS="--enable-glide" ;; \
......@@ -40,6 +45,9 @@ clean:
dh_testroot
rm -f build-stamp
# Check that we have an ffmpeg tree in here (can be a symlink)
test -d ffmpeg-$(FFMPEG_VERSION)
-(cd ffmpeg-$(FFMPEG_VERSION) ; make distclean)
-$(MAKE) distclean
dh_clean
......
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