# HG changeset patch # User Christophe Lincoln # Date 1394998369 -3600 # Node ID 0b6c5734773359c50131003174a7f95a6159a83d # Parent 38c69652a6530bf0754a971e9a80f47956d89250 Add ffserver diff -r 38c69652a653 -r 0b6c57347733 ffmpeg/receipt --- a/ffmpeg/receipt Sun Mar 16 19:34:26 2014 +0100 +++ b/ffmpeg/receipt Sun Mar 16 20:32:49 2014 +0100 @@ -23,9 +23,9 @@ i?86) ARCH_ARGS="--arch=$ARCH --cpu=$ARCH" ;; arm*) - BUILD_DEPENDS="zlib-dev bzip2-dev yasm libsdl-dev" + BUILD_DEPENDS="zlib-dev bzip2-dev yasm" ARCH_ARGS="--enable-cross-compile --arch=armel --target-os=linux \ ---cross-prefix=$HOST_SYSTEM-" ;; + --cross-prefix=$HOST_SYSTEM-" ;; esac # Handle arch package install @@ -45,8 +45,8 @@ --enable-avresample \ --enable-pthreads \ --enable-small \ + --enable-ffserver \ --disable-ffprobe \ - --disable-ffserver \ --disable-encoder=h263 \ --disable-encoder=h263p \ --disable-encoder=mpeg2video \ @@ -63,11 +63,12 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib $fs/usr/share + mkdir -p \ + $fs/usr/bin \ + $fs/usr/lib \ + $fs/usr/share cp -a $install/usr/lib/*so* $fs/usr/lib - cp -a $install/usr/bin $fs/usr + cp -a $install/usr/bin/ffmpeg $fs/usr/bin cp -a $install/usr/share/$PACKAGE $fs/usr/share rm -rf $fs/usr/share/$PACKAGE/examples - # ffplay with it SDL dep go in a splited package - rm -f $fs/usr/bin/ffplay } diff -r 38c69652a653 -r 0b6c57347733 ffserver/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ffserver/receipt Sun Mar 16 20:32:49 2014 +0100 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="ffplay" +VERSION="2.1.4" +CATEGORY="multimedia" +SHORT_DESC="FFmpeg audio/video fast and small stream server." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2 LGPL2.1" +WEB_SITE="http://ffmpeg.org/" +WANTED="ffmpeg" +TAGS="audio video player" +HOST_ARCH="i486 arm" + +DEPENDS="ffmpeg" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $install/usr/bin/ffserver $fs/usr/bin +}