Commit 0844ac2f authored by Jan Gerber's avatar Jan Gerber
Browse files

remove autotools build system

parent 466bdc29
0.22 ???
0.22 svn
- enable v4l input again (-f video4linux or -f video4linux2)
- ability to set framerate for image sequences (--inputfps)
- fix several memory leaks
- if only width or height are given, the other is set to preserve aspect ratio
- remove autotools build system, only scons build is supported now.
0.21 2008-05-19
- switch default extension to .ogv
......
all:
scons
clean:
scons -c
install:
scons install
AUTOMAKE_OPTIONS = 1.8 dist-bzip2 no-dist-gzip
SUBDIRS = kino_export
EXTRA_DIST = Makefile get_ffmpeg_svn.sh \
ffmpeg2theora.1 \
get_libkate.sh subtitles.txt
bin_PROGRAMS = ffmpeg2theora
ffmpeg2theora_SOURCES = src/ffmpeg2theora.c src/theorautils.c src/subtitles.c \
src/ffmpeg2theora.h src/theorautils.h src/subtitles.h
ffmpeg2theora_LDFLAGS = -L$(prefix)/lib @XIPH_LIBS@ @KATE_LIBS@ @FFMPEG_LIBS@
ffmpeg2theora_CFLAGS = -I./src @XIPH_CFLAGS@ @KATE_CFLAGS@ @FFMPEG_CFLAGS@
man_MANS = ffmpeg2theora.1
#! /bin/sh
autoreconf -v --install || exit 1
./configure --enable-maintainer-mode "$@"
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT(ffmpeg2theora,0.21+svn)
AC_CONFIG_SRCDIR([Makefile.am])
AM_INIT_AUTOMAKE([dist-bzip2])
AC_PROG_CC
AM_PROG_CC_C_O
AM_PROG_LIBTOOL
AC_SYS_LARGEFILE
AC_MSG_CHECKING(whether to link statically)
AC_ARG_WITH(static-linking,
[ --with-static-linking Link binaries statically],
[ case "$withval" in
no)
AC_MSG_RESULT(no)
;;
*)
AC_MSG_RESULT(yes)
LDFLAGS="-static $LDFLAGS"
;;
esac],
AC_MSG_RESULT(no)
)
PKG_CHECK_MODULES(XIPH,ogg >= 1.1 vorbis vorbisenc theora >= 1.0beta1)
AC_SUBST(XIPH_CFLAGS)
AC_SUBST(XIPH_LIBS)
export PKG_CONFIG_PATH=./libkate/misc/pkgconfig:./libkate/pkg/pkgconfig:$PKG_CONFIG_PATH
PKG_CHECK_MODULES(KATE,oggkate >= 0.1.3,
KATE_CFLAGS="-DHAVE_KATE -DHAVE_OGGKATE $KATE_CFLAGS",
[AC_MSG_RESULT(
. Could not find libkate. Subtitles support will be disabled.
You can also run ./get_libkate.sh (for more information see INSTALL)
or update PKG_CONFIG_PATH to point to libkate's source folder
)]
)
AC_SUBST(KATE_LIBS)
AC_SUBST(KATE_CFLAGS)
export PKG_CONFIG_PATH=./ffmpeg/libavutil:./ffmpeg/libavformat:./ffmpeg/libavcodec:./ffmpeg/libavdevice:./ffmpeg/libswscale:./ffmpeg/libpostproc:$PKG_CONFIG_PATH
PKG_CHECK_MODULES(FFMPEG, libavformat libavcodec libavdevice libswscale libpostproc, HAVE_FFMPEG=yes,
AC_MSG_ERROR([
. Could not find libavformat libavcodec libavdevice libswscale libpostproc.
You can install it via
sudo apt-get install libavformat-dev libavcodec-dev libavdevice-dev libswscale-dev libpostproc-dev
or update PKG_CONFIG_PATH to point to ffmpeg's source folder
or run ./get_ffmpeg_svn.sh (for more information see INSTALL)
])
)
AC_SUBST(FFMPEG_CFLAGS)
AC_SUBST(FFMPEG_LIBS)
AC_OUTPUT([
Makefile
kino_export/Makefile
])
EXTRA_DIST=README ffmpeg2theora.sh
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