core/ffmpeg/PKGBUILD

58 lines
1.7 KiB
Bash
Raw Normal View History

2010-09-11 06:01:28 +08:00
#
2012-05-20 01:54:11 +08:00
# Platform Packages for Chakra, part of chakra-project.org
2010-09-11 06:01:28 +08:00
#
2012-05-20 01:54:11 +08:00
# maintainer abveritas@chakra-project.org
2010-03-14 23:48:48 +08:00
pkgname=ffmpeg
2012-08-29 21:41:07 +08:00
pkgver=0.11.1
pkgrel=1
pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix"
2010-03-14 23:48:48 +08:00
arch=('i686' 'x86_64')
url="http://ffmpeg.org/"
license=('GPL')
2012-08-29 21:41:07 +08:00
depends=('bzip2' 'lame' 'sdl' 'libvorbis' 'xvidcore' 'zlib' 'x264' 'libtheora' 'opencore-amr' 'alsa-lib' 'libvdpau' 'libxfixes' 'schroedinger' 'libvpx>=1.1.0' 'libva' 'openjpeg' 'rtmpdump' 'speex' 'gsm'
'libpulse')
makedepends=('yasm')
2012-01-25 08:21:52 +08:00
source=("http://${pkgname}.org/releases/${pkgname}-${pkgver}.tar.bz2")
2012-08-29 21:41:07 +08:00
md5sums=('ff8cb914f657e164dd60ea1008b555a8')
2010-03-14 23:48:48 +08:00
build() {
2012-01-25 08:21:52 +08:00
cd "${srcdir}/${pkgname}-${pkgver}"
2010-03-14 23:48:48 +08:00
2012-01-25 08:21:52 +08:00
./configure --prefix=/usr \
--enable-libmp3lame \
--enable-libvorbis \
--enable-libxvid \
--enable-libx264 \
--enable-libvpx \
--enable-libtheora \
2012-05-20 01:54:11 +08:00
--enable-libgsm \
2012-01-25 08:21:52 +08:00
--enable-postproc \
--enable-shared \
--enable-x11grab \
--enable-libopencore_amrnb \
--enable-libopencore_amrwb \
--enable-libschroedinger \
--enable-libopenjpeg \
--enable-librtmp \
2012-05-20 01:54:11 +08:00
--enable-libpulse \
2012-01-25 08:21:52 +08:00
--enable-gpl \
--enable-version3 \
--enable-runtime-cpudetect \
--enable-libspeex \
--disable-debug \
--disable-static
2010-09-11 06:01:28 +08:00
make
make tools/qt-faststart
make doc/ff{mpeg,play,server}.1
}
package() {
2012-01-25 08:21:52 +08:00
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install install-man
install -D -m755 tools/qt-faststart "${pkgdir}/usr/bin/qt-faststart"
2010-03-14 23:48:48 +08:00
}
2012-01-25 08:21:52 +08:00
# vim:set ts=2 sw=2 et: