summaryrefslogtreecommitdiffstats
path: root/opal/Pkgfile
blob: d72e35c1a7372e898c1a6226c9266cfd3dacf4a9 (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
# Description: Librairie pour ekiga
# URL: http://www.gnome.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: libtheora, x264, ffmpeg, ptlib, celt
# Run on: libtheora,x264,ffmpeg,ptlib,celt

name=opal
version=3.10.2
release=2
source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz
	opal-3.10.1-fix-link.patch
	opal-3.10.1-ffmpeg0.8.patch)

build() {
	cd $name-$version
	patch -p0 < ../opal-3.10.1-ffmpeg0.8.patch
	patch -p0 < ../opal-3.10.1-fix-link.patch
	CFLAGS="$CFLAGS -D__STDC_CONSTANT_MACROS" \
	./configure --prefix=/usr\
		--sysconfdir=/etc \
		--localstatedir=/var/lib \
		--mandir=/usr/share/man

	make
	make DESTDIR=$PKG install
}