summaryrefslogtreecommitdiff
path: root/extra/qt-gstreamer/PKGBUILD
blob: c471ccadafe78a18e943d8908dbe8b13862aec23 (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
# $Id: PKGBUILD 163964 2012-07-23 03:00:17Z allan $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: laloch <laloch@atlas.cz>

pkgname=qt-gstreamer
pkgver=0.10.2
pkgrel=2
pkgdesc="Qt bindings for GStreamer"
arch=('i686' 'x86_64')
url='http://gstreamer.freedesktop.org/modules/qt-gstreamer.html'
license=('LGPL2.1')
depends=('qt' 'gstreamer0.10-base' 'libgles')
makedepends=('cmake' 'automoc4' 'boost' 'mesa' 'doxygen')
source=("http://gstreamer.freedesktop.org/src/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('0428aedf2874fd0884ad4c41db9da20e')

build() {
  cd "${srcdir}"
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release \
    -DQTGSTREAMER_EXAMPLES=OFF
  make
}

package() {
  cd "$srcdir/build"
  make DESTDIR="$pkgdir" install
}