summaryrefslogtreecommitdiff
path: root/community/recordmydesktop/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/recordmydesktop/PKGBUILD')
-rw-r--r--community/recordmydesktop/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/recordmydesktop/PKGBUILD b/community/recordmydesktop/PKGBUILD
new file mode 100644
index 000000000..67defa2f8
--- /dev/null
+++ b/community/recordmydesktop/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 65499 2012-02-21 06:41:19Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Gilles CHAUVIN <gcnweb at gmail dot com>
+
+pkgname=recordmydesktop
+pkgver=0.3.8.1
+pkgrel=6
+pkgdesc="Produces a OGG encapsulated Theora/Vorbis recording of your desktop"
+arch=('i686' 'x86_64')
+url="http://recordmydesktop.sourceforge.net"
+license=('GPL')
+depends=('alsa-lib' 'zlib' 'libvorbis' 'libxdamage' 'libxext' 'libtheora' 'libsm' 'jack')
+makedepends=('jack')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
+ shmstr-to-shmproto.patch
+ recordmydesktop-bitrate.patch)
+md5sums=('6998b165540598965499bd99d8aa0eef'
+ '211a1773f223b3f281520aa1056395e6'
+ 'b0794a769efd287e9e8c5fb8c3299b35')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ patch -p0 < ${srcdir}/shmstr-to-shmproto.patch
+ patch -p1 < ${srcdir}/recordmydesktop-bitrate.patch
+ ./configure --prefix=/usr --enable-jack=yes LIBS="`pkg-config --libs jack`" \
+ CFLAGS="`pkg-config --cflags jack` -DHAVE_LIBJACK"
+ make
+ make DESTDIR=${pkgdir} install
+}