summaryrefslogtreecommitdiff
path: root/extra/qt-gstreamer/PKGBUILD
blob: a9fe7589364e0c4217f9575a595b3165e2eafbbb (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
33
34
# $Id: PKGBUILD 207462 2014-03-09 21:20:10Z lcarlier $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: laloch <laloch@atlas.cz>

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

prepare() {
  mkdir build
}

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

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