1 # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
4 pkgname=(gstreamermm gstreamermm-docs)
7 pkgdesc="C++ interface for GStreamer"
9 url="https://gstreamer.freedesktop.org/bindings/cplusplus.html"
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')
19 NOCONFIGURE=1 ./autogen.sh
24 ./configure --prefix=/usr --enable-maintainer-mode
25 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
29 package_gstreamermm() {
31 sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
32 make DESTDIR="$pkgdir" install
35 package_gstreamermm-docs() {
36 pkgdesc+=" (documentation)"
40 make -C docs DESTDIR="$pkgdir" install