summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/gstreamer0.10-ffmpeg/PKGBUILD
blob: 792243063fdc6208a53762e55723e051690cf96a (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
# $Id: PKGBUILD 72240 2010-03-13 20:27:01Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=gstreamer0.10-ffmpeg
pkgver=0.10.10
pkgrel=1
pkgdesc="Gstreamer FFMpeg Plugin"
arch=('i686' 'x86_64')
license=('GPL')
depends=('gstreamer0.10-base>=0.10.30' 'bzip2')
makedepends=('pkgconfig')
url="http://www.gstreamer.net"
groups=('gstreamer0.10-plugins')
source=(http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-${pkgver}.tar.bz2)
sha256sums=('697114483444a0a469028857a1d58145c99e6f5d2cd7edd8cb04cdc3fc72ad94')

build() {
  cd "${srcdir}/gst-ffmpeg-${pkgver}"
  unset CFLAGS
  unset CXXFLAGS
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var || return 1
  make || return 1
}
package() {
  cd "${srcdir}/gst-ffmpeg-${pkgver}"
  make DESTDIR="${pkgdir}" install || return 1
  rm -f ${pkgdir}/usr/lib/gstreamer-0.10/*.{l,}a
}