desktop/recordmydesktop/PKGBUILD
2011-06-04 02:05:52 +00:00

35 lines
1.2 KiB
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=recordmydesktop
pkgver=0.3.8.1
pkgrel=3
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-audio-connection-kit')
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" || return 1
make || return 1
make DESTDIR=${pkgdir} install
}