[arch-commits] Commit in farsight2/trunk (PKGBUILD)
Rémy Oudompheng
remy at archlinux.org
Thu Sep 2 06:21:57 UTC 2010
Date: Thursday, September 2, 2010 @ 02:21:57
Author: remy
Revision: 89582
upgpkg: farsight2 0.0.21-2
Rebuild for python2 (several broken Makefiles).
Modified:
farsight2/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-09-02 04:55:55 UTC (rev 89581)
+++ PKGBUILD 2010-09-02 06:21:57 UTC (rev 89582)
@@ -4,12 +4,12 @@
pkgname=farsight2
pkgver=0.0.21
-pkgrel=1
+pkgrel=2
pkgdesc="Audio/Video conference software for Instant Messengers"
arch=('i686' 'x86_64')
url="http://farsight.freedesktop.org"
license=('LGPL')
-depends=('libnice>=0.0.13' 'gstreamer0.10-base-plugins>=0.10.29' 'gstreamer0.10-python>=0.10.18' 'python>=2.6' 'pygobject>=2.21.3')
+depends=('libnice>=0.0.13' 'gstreamer0.10-base-plugins>=0.10.29' 'gstreamer0.10-python>=0.10.18' 'python2' 'pygobject>=2.21.3')
optdepends=('gstreamer0.10-good: for RTP plugin'
'gstreamer0.10-bad: for RTP plugin')
options=('!libtool' '!emptydirs')
@@ -18,12 +18,20 @@
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
-
+ # we do not use pygtk
+ sed -i -e 's#.*pygtk.*##' python/Makefile.in
+ sed -i -e 's#python-config#python2-config#' python/Makefile.in
+ # this makefile is broken
+ sed -i -e 's# # #' docs/libs/Makefile.in
./configure --prefix=/usr \
--with-package-name='Arch Linux farsight2 package' \
--with-package-origin='http://archlinux.org' \
--disable-static -disable-valgrind --disable-debug
make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR=${pkgdir} install
}
More information about the arch-commits
mailing list