SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ffmpeg-svn"

# SliTaz package receipt.

PACKAGE="ffmpeg-svn"
VERSION="26402"
CATEGORY="multimedia"
SHORT_DESC="Record, convert and stream audio and video."
MAINTAINER="jozee@slitaz.org"
WEB_SITE="http://ffmpeg.org/"
DEPENDS="bzlib freetype imlib2 alsa-lib jack-audio-connection-kit zlib"
BUILD_DEPENDS="subversion imlib2-dev freetype-dev libsdl-dev zlib-dev \
coreutils-file-format coreutils-file-special"
PROVIDE="ffmpeg"
SUGGESTED="ffplay"
TAGS="audio video convert stream"
WGET_URL="subversion|svn://svn.ffmpeg.org/ffmpeg/trunk"
BRANCH="$VERSION"

# Rules to configure and make the package.
compile_rules()
{
    cd $src    

    # Fix configure for GCC 4.5.0
    sed -i 's/"\$@" >> \$logfile 2/$@ >> $logfile 2/' configure
    ./configure \
        --prefix=/usr \
        --enable-gpl \
        --arch=i486 \
        --cpu=i486 \
        --enable-shared \
        --enable-small \
        --enable-pthreads \
        --enable-postproc \
        --disable-mmx \
        --disable-mmx2 \
        --disable-ssse3 &&
    make &&
    make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $_pkg/usr/lib/*so* $fs/usr/lib
    cp -a $_pkg/usr/bin $fs/usr
    # ffplay with it SDL dep go in a splited package
    rm $fs/usr/bin/ffplay
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)