Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=04fed41aad8dab30cf44291bc8bd22ded0b6cb6a

commit 04fed41aad8dab30cf44291bc8bd22ded0b6cb6a
Author: Michel Hermier <herm...@frugalware.org>
Date:   Wed Jun 29 13:06:52 2011 +0200

ffmpeg-0.8-2-i686

* Split out presets.

diff --git a/source/xmultimedia/ffmpeg/FrugalBuild 
b/source/xmultimedia/ffmpeg/FrugalBuild
index 798496d..89ba6a5 100644
--- a/source/xmultimedia/ffmpeg/FrugalBuild
+++ b/source/xmultimedia/ffmpeg/FrugalBuild
@@ -5,11 +5,12 @@
pkgname=ffmpeg
pkgver=0.8
#rev=22893
-pkgrel=1
-pkgdesc="FFMpeg is a complete and free Internet live audio and vide  
broadcasting solution for Linux/Unix."
+pkgrel=2
+pkgdesc="FFMpeg is a complete and free Internet live audio and video 
broadcasting solution for Linux/Unix."
url="http://ffmpeg.sourceforge.net/";
depends=('a52dec' 'amrnb' 'amrwb' 'faac>=1.28' 'lame' 'libtheora' 'libvorbis' 
'x264>=20110622' 'xvidcore' 'libdc1394' 'imlib2' 'sdl>=1.2.13-2' 'faad2>=2.7' 
'gsm' 'opencore-amr>=0.1.2')
makedepends=('freetype2' 'yasm')
+rodepends=("$pkgname-presets")
groups=('xmultimedia')
archs=('i686' 'x86_64' 'ppc')
up2date="Flasttar http://www.ffmpeg.org/releases/";
@@ -18,7 +19,10 @@ 
source="http://www.ffmpeg.org/releases/$pkgname-$pkgver.tar.bz2";
sha1sums=('461f87c4fc080e10ac0acc48287aaa706021bbc4')
#signatures=("${source[0]}.asc")

-options=('force')
+subpkgs=("$pkgname-presets")
+subdescs=("FFmpeg predetermined configurations presets.")
+subgroups=("${groups[@]}")
+subarchs=("${archs[*]}")

build() {
unset MAKEFLAGS
@@ -43,6 +47,8 @@ build() {
--enable-x11grab
make SHARED_PP="yes" || Fdie
make DESTDIR=$Fdestdir install || Fdie
+
+       Fsplit "$pkgname-presets" /usr/share/ffmpeg/\*.ffpreset
}

# optimization OK
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to