Advertisement
Guest User

sflphone-kde-1.2.2.PKGBUILD

a guest
Feb 16th, 2013
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.27 KB | None | 0 0
  1. # Maintainer: Christoph Wiechert <wio@psitrax.de>
  2. pkgname=sflphone-kde
  3. pkgver=1.2.2
  4. pkgrel=1
  5. pkgdesc="SIP/IAX2 softphone"
  6. url="http://www.sflphone.org"
  7. arch=('x86_64' 'i686')
  8. license=('GPL3')
  9. depends=('kdelibs' 'libpulse' 'gsm>=0.9.7' 'libzrtpcpp' 'log4c' 'check' 'libyaml' 'celt' 'dbus-c++' 'speex' 'libsamplerate' 'kdepimlibs')
  10. makedepends=('autoconf' 'cmake' 'boost' 'automoc4')
  11. conflicts=('sflphone')
  12. source=("https://projects.savoirfairelinux.com/attachments/download/5064/sflphone-${pkgver}.tar.gz")
  13. md5sums=('e9554423e562c168838366974f07acc0')
  14. install="generateStarter.install"
  15. build() {
  16.  
  17. ## pjsip
  18.   cd ${srcdir}/sflphone-${pkgver}/daemon/libs/pjproject-2.0.1
  19.   ./configure --disable-ilbc-codec
  20.   make dep
  21.   make
  22.  
  23.  
  24. ## daemon
  25.   cd "${srcdir}/sflphone-${pkgver}/daemon"
  26.   ./autogen.sh
  27.   ./configure --prefix="/usr" --disable-ilbc
  28.    make
  29.    
  30. ## KDE client
  31.   cd "${srcdir}/sflphone-${pkgver}/kde"
  32.   sed -i -re 's/^add_subdirectory.*test.*/#\0/' src/CMakeLists.txt
  33.   ./config.sh --prefix="/usr"
  34.    cd build
  35.    make  
  36. }
  37.  
  38. package() {
  39.  
  40. ## daemon
  41.   cd "${srcdir}/sflphone-${pkgver}/daemon"
  42.   make DESTDIR="${pkgdir}" install
  43.  
  44. ## KDE client
  45.   cd "${srcdir}/sflphone-${pkgver}/kde/build"
  46.   make DESTDIR="${pkgdir}" install
  47. }
  48.  
  49. # vim:set ts=2 sw=2 et:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement