# Maintainer: Natanael Copa pkgname=recordmydesktop pkgver=0.3.8.1 pkgrel=2 pkgdesc="Produces a OGG encapsulated Theora/Vorbis recording of your desktop" url="http://recordmydesktop.sourceforge.net" arch="all" license="GPL" depends="" makedepends="alsa-lib-dev zlib-dev libvorbis-dev libxdamage-dev libxext-dev libtheora-dev libsm-dev autoconf automake libtool" subpackages="$pkgname-doc" source="http://downloads.sourceforge.net/recordmydesktop/recordmydesktop-$pkgver.tar.gz shmstr-to-shmproto.patch recordmydesktop-bitrate.patch libm-underlinking.patch " _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done libtoolize --force && aclocal && autoconf && automake || return 1 } build() { cd "$_builddir" ./configure --prefix=/usr \ --disable-jack \ || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="6998b165540598965499bd99d8aa0eef recordmydesktop-0.3.8.1.tar.gz 7aa0bb8a8821b7178137e5293d1046a7 shmstr-to-shmproto.patch b0794a769efd287e9e8c5fb8c3299b35 recordmydesktop-bitrate.patch 28ed60c8c7c5a139a14a74fa228f2d0b libm-underlinking.patch"