# Maintainer: Natanael Copa pkgname=recordmydesktop pkgver=0.3.8.1 pkgrel=1 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" subpackages="$pkgname-doc" source="http://downloads.sourceforge.net/recordmydesktop/recordmydesktop-$pkgver.tar.gz shmstr-to-shmproto.patch recordmydesktop-bitrate.patch" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" patch -p0 < $srcdir/shmstr-to-shmproto.patch patch -p1 < $srcdir/recordmydesktop-bitrate.patch } 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 211a1773f223b3f281520aa1056395e6 shmstr-to-shmproto.patch b0794a769efd287e9e8c5fb8c3299b35 recordmydesktop-bitrate.patch"