archrelease: copy trunk to community-any
[ArchLinux/community.git] / gstreamermm / trunk / PKGBUILD
blob9b60a1b08e044bc6eed940785a9035a4195c3650
1 # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
3 pkgbase=gstreamermm
4 pkgname=(gstreamermm gstreamermm-docs)
5 pkgver=1.10.0
6 pkgrel=2
7 pkgdesc="C++ interface for GStreamer"
8 arch=('x86_64')
9 url="https://gstreamer.freedesktop.org/bindings/cplusplus.html"
10 license=('LGPL')
11 depends=('glibmm' 'gst-plugins-base')
12 makedepends=('mm-common' 'glibmm-docs' 'cairomm' 'cairomm-docs' 'pangomm' 'pangomm-docs')
13 changelog=$pkgname.changelog
14 source=(https://ftp.gnome.org/pub/GNOME/sources/gstreamermm/1.10/$pkgname-$pkgver.tar.xz)
15 sha256sums=('be58fe9ef7d7e392568ec85e80a84f4730adbf91fb0355ff7d7c616675ea8d60')
17 prepare() {
18   cd $pkgbase-$pkgver
19   NOCONFIGURE=1 ./autogen.sh
22 build() {
23   cd $pkgbase-$pkgver
24   ./configure --prefix=/usr --enable-maintainer-mode
25   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
26   make
29 package_gstreamermm() {
30   cd $pkgbase-$pkgver
31   sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
32   make DESTDIR="$pkgdir" install
35 package_gstreamermm-docs() {
36   pkgdesc+=" (documentation)"
37   depends=()
39   cd $pkgbase-$pkgver
40   make -C docs DESTDIR="$pkgdir" install