summaryrefslogtreecommitdiff
path: root/extra/qt-gstreamer/PKGBUILD
blob: 213ddc4c771c4eaa78648c7635bb60c57285865a (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 178986 2013-03-01 10:24:22Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: laloch <laloch@atlas.cz>

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

build() {
  . /etc/profile.d/qt4.sh

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

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