summaryrefslogtreecommitdiffstats
path: root/opal/Pkgfile
blob: 3e7761c9dfb49162be448ff6f4471056432c6cd8 (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
# 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
# Run on: libtheora,x264,ffmpeg,ptlib

name=opal
version=3.10.1
release=1
source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz)

build() {
	cd $name-$version
	CFLAGS="$CFLAGS -D__STDC_CONSTANT_MACROS" \
	./configure --prefix=/usr\
		--sysconfdir=/etc \
		--localstatedir=/var/lib \
		--mandir=/usr/share/man \
		--disable-silk \
		--disable-libavcodec 

	# there's a linking error in this release, SILK should be reactivated in the next release
	# opal 3.10.1 isn't compatible with ffmpeg 0.8, libavcodec maybe reactivated in the next release

	make
	make DESTDIR=$PKG install
}