head	1.23;
access;
symbols;
locks; strict;
comment	@-- @;


1.23
date	2009.09.30.14.32.31;	author rse;	state Exp;
branches;
next	1.22;
commitid	Q59kGVcrcGqocI5u;

1.22
date	2009.08.08.18.16.43;	author rse;	state Exp;
branches;
next	1.21;
commitid	sL9N1xb7rYtV8VYt;

1.21
date	2009.07.22.20.08.22;	author rse;	state Exp;
branches;
next	1.20;
commitid	H9BK5JwIlI67jKWt;

1.20
date	2009.04.18.13.10.16;	author rse;	state Exp;
branches;
next	1.19;
commitid	4pHXU27WTIGCZuKt;

1.19
date	2009.03.14.10.37.29;	author rse;	state Exp;
branches;
next	1.18;
commitid	WwD6uHx588ZlkZFt;

1.18
date	2009.03.14.09.43.14;	author rse;	state Exp;
branches;
next	1.17;
commitid	U5QxPrALTdHJ1ZFt;

1.17
date	2009.03.14.09.12.54;	author rse;	state Exp;
branches;
next	1.16;
commitid	qqQmuWj6k0skRYFt;

1.16
date	2009.03.08.10.06.03;	author rse;	state Exp;
branches;
next	1.15;
commitid	g90aeHa3WnmwldFt;

1.15
date	2009.02.28.21.57.54;	author rse;	state Exp;
branches;
next	1.14;
commitid	p7CWiLuPL9SFxfEt;

1.14
date	2009.02.28.21.28.45;	author rse;	state Exp;
branches;
next	1.13;
commitid	ErhIuahdG5TFnfEt;

1.13
date	2009.02.28.20.02.06;	author rse;	state Exp;
branches;
next	1.12;
commitid	CH1DeJWGWbMVTeEt;

1.12
date	2009.02.28.19.32.26;	author rse;	state Exp;
branches;
next	1.11;
commitid	WAIS491EVBtKJeEt;

1.11
date	2009.02.28.10.22.45;	author rse;	state Exp;
branches;
next	1.10;
commitid	pQszw0KFFxXbHbEt;

1.10
date	2009.01.30.16.54.32;	author rse;	state Exp;
branches;
next	1.9;
commitid	B8T26EyfOPOoNuAt;

1.9
date	2008.12.17.22.09.22;	author rse;	state Exp;
branches;
next	1.8;
commitid	TzhtAmRJ7Aq5XRut;

1.8
date	2008.08.01.06.24.49;	author rse;	state Exp;
branches;
next	1.7;
commitid	zf3TEO7mH9L4a3dt;

1.7
date	2008.07.27.07.53.30;	author rse;	state Exp;
branches;
next	1.6;
commitid	F1lVb3Rm8RhsOpct;

1.6
date	2008.06.06.09.41.42;	author rse;	state Exp;
branches;
next	1.5;
commitid	fF7NzK3vKSnd3S5t;

1.5
date	2008.05.04.12.27.29;	author rse;	state Exp;
branches;
next	1.4;
commitid	AObkBU5omYYQ1E1t;

1.4
date	2008.04.14.18.32.47;	author rse;	state Exp;
branches;
next	1.3;
commitid	RRoPSCnHqOr1H6Zs;

1.3
date	2008.03.25.21.04.20;	author rse;	state Exp;
branches;
next	1.2;
commitid	XfTzZpHwcvKSayWs;

1.2
date	2008.03.17.08.22.46;	author rse;	state Exp;
branches;
next	1.1;
commitid	u95y6xzTZXRydsVs;

1.1
date	2008.03.08.21.41.43;	author rse;	state Exp;
branches;
next	;
commitid	1NRBzgj6tPeAVmUs;


desc
@@


1.23
log
@upgrading package: ffmpeg 20090807 -> 20090930
@
text
@##
##  ffmpeg.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2009 OpenPKG Foundation e.V. <http://openpkg.net/>
##
##  Permission to use, copy, modify, and distribute this software for
##  any purpose with or without fee is hereby granted, provided that
##  the above copyright notice and this permission notice appear in all
##  copies.
##
##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
##  SUCH DAMAGE.
##

#   package version
%define       V_tarball 20090930
%define       V_subdir  2009-09-30

#   package information
Name:         ffmpeg
Summary:      Audio/Video Codec Toolkit
URL:          http://ffmpeg.org/
Vendor:       Various
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        Video
License:      GPL/LGPL
Version:      %{V_tarball}
Release:      20090930

#   list of sources
Source0:      ftp://ftp.openpkg.org/sources/CPY/VERSIONED/ffmpeg/ffmpeg-export-snapshot-%{V_tarball}.tar.bz2
Patch0:       ffmpeg.patch

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 20060823, perl, make, gcc
PreReq:       OpenPKG, openpkg >= 20060823
BuildPreReq:  x264, dirac, speex, vorbis-libs, faac, faad, lame, xvid, theora, libnut, gsm, zlib, bzip2, openjpeg
PreReq:       x264, dirac, speex, vorbis-libs, faac, faad, lame, xvid, theora, libnut, gsm, zlib, bzip2, openjpeg
AutoReq:      no
AutoReqProv:  no

%description
    FFmpeg is a toolkit of various audio and video codecs.

%track
    prog ffmpeg = {
        version   = %{V_tarball}
        url       = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/ffmpeg/
        regex     = ffmpeg-export-snapshot-(__VER__)\.tar\.bz2
    }

%prep
    %setup -q -n ffmpeg-export-%{V_subdir}
    %patch -p0

%build
    CC="%{l_cc}" \
    CFLAGS="%{l_cflags -O}" \
    CPPFLAGS="%{l_cppflags}" \
    LDFLAGS="%{l_ldflags}" \
    ./configure \
        --extra-cflags="%{l_cflags -O} %{l_cppflags}" \
        --extra-ldflags="%{l_ldflags}" \
        --prefix=%{l_prefix} \
        --mandir=%{l_prefix}/man \
        --enable-gpl \
        --enable-nonfree \
        --enable-libspeex \
        --enable-libvorbis \
        --enable-libx264 \
        --enable-libschroedinger \
        --disable-libdirac \
        --enable-libfaac \
        --enable-libfaad \
        --enable-libmp3lame \
        --enable-libxvid \
        --enable-libtheora \
        --enable-libgsm \
        --enable-libnut \
        --enable-libopenjpeg \
        --enable-bzlib \
        --enable-zlib \
        --disable-protocol=udp \
        --disable-devices \
        --disable-shared
    %{l_make} %{l_mflags}

%install
    rm -rf $RPM_BUILD_ROOT
    %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.22
log
@upgrading package: ffmpeg 20090722 -> 20090807
@
text
@d25 2
a26 2
%define       V_tarball 20090807
%define       V_subdir  2009-08-07
d39 1
a39 1
Release:      20090808
@


1.21
log
@upgrading package: ffmpeg 20090314 -> 20090722
@
text
@d25 2
a26 2
%define       V_tarball 20090722
%define       V_subdir  2009-07-22
d39 1
a39 1
Release:      20090722
@


1.20
log
@bump years in copyright messages
@
text
@d25 2
a26 2
%define       V_tarball 20090314
%define       V_subdir  2009-03-14
d39 1
a39 1
Release:      20090314
d50 2
a51 2
BuildPreReq:  x264, dirac, speex, vorbis-libs, faac, faad, lame, xvid, theora, libnut, gsm, zlib, bzip2
PreReq:       x264, dirac, speex, vorbis-libs, faac, faad, lame, xvid, theora, libnut, gsm, zlib, bzip2
d93 1
@


1.19
log
@modifying package: ffmpeg-20090314 20090314 again
@
text
@d3 1
a3 1
##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
@


1.18
log
@bump up the volume even more by using NUT, GSM, Zlib and BZip2
@
text
@d50 2
a51 2
BuildPreReq:  x264, speex, vorbis-libs, faac, faad, lame, xvid, theora, libnut, gsm, zlib, bzip2
PreReq:       x264, speex, vorbis-libs, faac, faad, lame, xvid, theora, libnut, gsm, zlib, bzip2
d84 2
@


1.17
log
@upgrading package: ffmpeg 20090308 -> 20090314
@
text
@d50 2
a51 2
BuildPreReq:  x264, speex, vorbis-libs, faac, faad, lame, xvid, theora
PreReq:       x264, speex, vorbis-libs, faac, faad, lame, xvid, theora
d89 4
@


1.16
log
@upgrade to latest version and include theora codec
@
text
@d25 2
a26 2
%define       V_tarball 20090308
%define       V_subdir  2009-03-08
d39 1
a39 1
Release:      20090308
@


1.15
log
@add even more codec support and change URL
@
text
@d25 2
a26 2
%define       V_tarball 20090228
%define       V_subdir  2009-02-28
d39 1
a39 1
Release:      20090228
d50 2
a51 2
BuildPreReq:  x264, speex, vorbis-libs, faac, faad, lame, xvid
PreReq:       x264, speex, vorbis-libs, faac, faad, lame, xvid
d88 1
@


1.14
log
@support AAC
@
text
@d31 1
a31 1
URL:          http://ffmpeg.mplayerhq.hu/
d50 2
a51 2
BuildPreReq:  x264, speex, vorbis-libs, faac, faad
PreReq:       x264, speex, vorbis-libs, faac, faad
d86 2
@


1.13
log
@enable more codecs
@
text
@d50 2
a51 2
BuildPreReq:  x264, speex, vorbis-libs
PreReq:       x264, speex, vorbis-libs
d84 2
@


1.12
log
@enable demuxers and protocols except the UDP one which fails
@
text
@d50 2
d75 2
d79 5
d86 1
a86 3
        --disable-shared \
        --enable-gpl \
        --enable-nonfree
@


1.11
log
@use a better Group for now
@
text
@d25 2
a26 2
%define       V_tarball 20090130
%define       V_subdir  2009-01-30
d75 1
a75 1
        --disable-demuxers \
a76 1
        --disable-protocols \
@


1.10
log
@upgrading package: ffmpeg 20081217 -> 20090130
@
text
@d36 1
a36 1
Group:        Audio
d39 1
a39 1
Release:      20090130
@


1.9
log
@upgrading package: ffmpeg 20080801 -> 20081217
@
text
@d25 2
a26 2
%define       V_tarball 20081217
%define       V_subdir  2008-12-17
d39 1
a39 1
Release:      20081217
@


1.8
log
@upgrading package: ffmpeg 20080727 -> 20080801
@
text
@d25 2
a26 2
%define       V_tarball 20080801
%define       V_subdir  2008-08-01
d39 1
a39 1
Release:      20080801
d75 3
@


1.7
log
@upgrading package: ffmpeg 20080606 -> 20080727
@
text
@d25 2
a26 2
%define       V_tarball 20080727
%define       V_subdir  2008-07-27
d39 1
a39 1
Release:      20080727
@


1.6
log
@upgrading package: ffmpeg 20080504 -> 20080606
@
text
@d25 2
a26 2
%define       V_tarball 20080606
%define       V_subdir  2008-06-06
d39 1
a39 1
Release:      20080606
@


1.5
log
@upgrading package: ffmpeg 20080414 -> 20080504
@
text
@d25 2
a26 2
%define       V_tarball 20080504
%define       V_subdir  2008-05-04
d39 1
a39 1
Release:      20080504
@


1.4
log
@upgrading package: ffmpeg 20080325 -> 20080414
@
text
@d25 2
a26 2
%define       V_tarball 20080414
%define       V_subdir  2008-04-14
d39 1
a39 1
Release:      20080414
@


1.3
log
@upgrading package: ffmpeg 20080317 -> 20080325
@
text
@d25 2
a26 2
%define       V_tarball 20080325
%define       V_subdir  2008-03-25
d39 1
a39 1
Release:      20080325
@


1.2
log
@upgrading package: ffmpeg 20080308 -> 20080317
@
text
@d25 2
a26 2
%define       V_tarball 20080317
%define       V_subdir  2008-03-17
d39 1
a39 1
Release:      20080317
@


1.1
log
@new package: ffmpeg 20080308 (Audio/Video Codec Toolkit)
@
text
@d25 2
a26 2
%define       V_tarball 20080308
%define       V_subdir  2008-03-08
d39 1
a39 1
Release:      20080308
@

