# 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 automake.patch " _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" update_config_sub || return 1 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 --add-missing || return 1 } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-jack \ || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } sha512sums="a32df1257d7d8928123437b38abcbdf623a9a65d313df5bec9bc06ef7229ebe4664a3cbea1fe5f6f1f9b89efb939873adc020f4ac072477f6df9481a37e7c350 recordmydesktop-0.3.8.1.tar.gz 5fad3801f692d847ee8a0a0ad1ffeb8a6ea8eddfabfd9bacb8403998cc4d91c209b9bab693b1b8b3cca288bfa4fea61ff616a8cd1cb989e117125f238f8c20f9 shmstr-to-shmproto.patch 0e26f5170c39b74c345a35d6c64a6745261a2457cd340d62c1181c90ead8d6a41ebdbbee9f115d8bfc1dea2cce021a6aadd3abf9df3b7ebcff9e59774204f560 recordmydesktop-bitrate.patch ec2f8f663080dfbae7b73a8370bb2098342f960ca8354e2845f2849ed2b2ded90219583ed2e86d12e2db6504e1e8a552dabadc14c8e8ece064efad9645da7832 libm-underlinking.patch 91576aca7a4153dff58296f73c5a05d36899325f4a2229f598ebde3b2ea47bafb08a8d63337ec9e49f713ca6ce02b80131071e5bc55fceb82c43907352818968 automake.patch"