summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/gstreamer0.10-ffmpeg/PKGBUILD
blob: e6a0dc30b52a54dd5180f1be87f574e8515876a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 147131 2012-01-22 11:26:07Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=gstreamer0.10-ffmpeg
pkgver=0.10.13
pkgrel=1
pkgdesc="Gstreamer FFMpeg Plugin"
arch=('i686' 'x86_64')
license=('GPL')
depends=('gstreamer0.10-base' 'bzip2')
makedepends=('pkgconfig' 'yasm' 'sdl')
url="http://www.gstreamer.net"
groups=('gstreamer0.10-plugins')
options=('!libtool')
source=(http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-${pkgver}.tar.bz2 cmp_error.patch)

build() {
  cd "${srcdir}/gst-ffmpeg-${pkgver}"
  patch -Np1 < $srcdir/cmp_error.patch
  unset CFLAGS
  unset CXXFLAGS
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static --with-ffmpeg-extra-configure="--enable-runtime-cpudetect"
  make
}

package() {
  cd "${srcdir}/gst-ffmpeg-${pkgver}"

  make DESTDIR="${pkgdir}" install
}
md5sums=('7f5beacaf1312db2db30a026b36888c4'
         'eebcd022f3057c65fb3d0320831af6fe')