core/farsight2/PKGBUILD

39 lines
1.3 KiB
Bash
Raw Normal View History

2010-12-25 01:44:41 +08:00
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
2010-03-14 23:48:48 +08:00
pkgname=farsight2
2010-12-25 01:44:41 +08:00
pkgver=0.0.22
pkgrel=1
2010-03-14 23:48:48 +08:00
pkgdesc="Audio/Video conference software for Instant Messengers"
arch=('i686' 'x86_64')
url="http://farsight.freedesktop.org"
license=('LGPL')
2010-12-19 10:46:07 +08:00
depends=('libnice>=0.0.11' 'gstreamer0.10-base-plugins>=0.10.28' 'gstreamer0.10-python>=0.10.18' 'python2' 'pygobject>=2.16.0')
2010-03-14 23:48:48 +08:00
optdepends=('gstreamer0.10-good: for RTP plugin'
'gstreamer0.10-bad: for RTP plugin')
options=('!libtool' '!emptydirs')
source=(http://farsight.freedesktop.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz)
2010-12-25 01:44:41 +08:00
md5sums=('e1f540cf3ebab06c3d7db1f46b44ac88')
2010-03-14 23:48:48 +08:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
2010-12-25 01:44:41 +08:00
sed -i -e 's#python-config#python2-config#' python/Makefile.in
# this makefile is broken
sed -i -e 's# # #' docs/libs/Makefile.in
2010-03-14 23:48:48 +08:00
./configure --prefix=/usr \
2010-12-25 01:44:41 +08:00
--with-package-name='Chakra Linux farsight2 package' \
2010-12-19 10:46:07 +08:00
--with-package-origin='http://chakra-project.org' \
2010-05-17 15:50:50 +08:00
--disable-static -disable-valgrind --disable-debug
2010-12-25 01:44:41 +08:00
make
}
2010-03-14 23:48:48 +08:00
2010-12-25 01:44:41 +08:00
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
2010-03-14 23:48:48 +08:00
make DESTDIR=${pkgdir} install || return 1
}