blob: d67a5ec9bf1857db0daee10a0d70eddb1c1aa429 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
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"
|