blob: 4176253195bfc3a72ecde3ebe7b081843b5ea7b1 (
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
46
47
48
49
50
51
52
|
# 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
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
}
md5sums="6998b165540598965499bd99d8aa0eef recordmydesktop-0.3.8.1.tar.gz
7aa0bb8a8821b7178137e5293d1046a7 shmstr-to-shmproto.patch
b0794a769efd287e9e8c5fb8c3299b35 recordmydesktop-bitrate.patch
28ed60c8c7c5a139a14a74fa228f2d0b libm-underlinking.patch
f6009f0b3d9934595ecc0b7cb43d235a automake.patch"
|