mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 05:57:14 +08:00
55 lines
1.5 KiB
Bash
55 lines
1.5 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=ffmpeg
|
|
pkgver=20110910
|
|
pkgrel=1
|
|
pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix"
|
|
arch=('i686' 'x86_64')
|
|
url="http://ffmpeg.org/"
|
|
license=('GPL')
|
|
depends=('bzip2' 'lame' 'sdl' 'libvorbis' 'xvidcore' 'zlib' 'x264' 'libtheora' 'opencore-amr' 'alsa-lib' 'libvdpau' 'libxfixes' 'schroedinger' 'libvpx' 'libva' 'openjpeg' 'rtmpdump')
|
|
makedepends=('yasm' 'git')
|
|
#git clone git://git.videolan.org/ffmpeg.git
|
|
source=(http://chakra-project.org/sources/ffmpeg/${pkgname}-${pkgver}.tar.xz)
|
|
md5sums=('f726ae21f9c12551603d8a9cf301280a')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname"
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-libmp3lame \
|
|
--enable-libvorbis \
|
|
--enable-libxvid \
|
|
--enable-libx264 \
|
|
--enable-libvpx \
|
|
--enable-libtheora \
|
|
--enable-postproc \
|
|
--enable-shared \
|
|
--enable-x11grab \
|
|
--enable-libopencore_amrnb \
|
|
--enable-libopencore_amrwb \
|
|
--enable-libschroedinger \
|
|
--enable-libopenjpeg \
|
|
--enable-librtmp \
|
|
--enable-gpl \
|
|
--enable-version3 \
|
|
--enable-runtime-cpudetect \
|
|
--disable-debug
|
|
|
|
make
|
|
make tools/qt-faststart
|
|
make doc/ff{mpeg,play,server}.1
|
|
|
|
make DESTDIR="$pkgdir" install install-man
|
|
install -D -m755 tools/qt-faststart "$pkgdir/usr/bin/qt-faststart"
|
|
}
|
|
|