aboutsummaryrefslogtreecommitdiffstats
path: root/main/recordmydesktop/APKBUILD
blob: 4749ebea96ee1e245caf8ca38747182bacc957ea (plain) (blame)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=recordmydesktop
pkgver=0.3.8.1
pkgrel=0
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"
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/recordmydesktop/recordmydesktop-$pkgver.tar.gz
	shmstr-to-shmproto.patch
	recordmydesktop-bitrate.patch"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
	patch -p0 < $srcdir/shmstr-to-shmproto.patch
	patch -p1 < $srcdir/recordmydesktop-bitrate.patch
}

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
211a1773f223b3f281520aa1056395e6  shmstr-to-shmproto.patch
b0794a769efd287e9e8c5fb8c3299b35  recordmydesktop-bitrate.patch"