Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

mixxx-bzr fixed PGBUILD updated

By: a guest on Apr 28th, 2012  |  syntax: None  |  size: 1.26 KB  |  views: 39  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #Mantainer : M0Rf30
  2. pkgname=mixxx-bzr
  3. pkgver=2950
  4. pkgrel=1
  5. pkgdesc="Digital DJ mixing software"
  6. arch=('i686' 'x86_64')
  7. url="http://www.mixxx.org/"
  8. license=('GPL2')
  9. depends=('libid3tag' 'libmad' 'portaudio' 'qt>=4.7.0' 'libogg' 'libvorbis' 'libsndfile' 'taglib' 'portmidi')
  10. makedepends=('bzr' 'scons>=0.98' 'pkgconfig>=0.15.0')
  11. optdepends=('faad2: M4A support'
  12.             'mp4v2: M4A support'
  13.             'libshout: Shoutcast support')
  14. provides=(mixxx)
  15. conflicts=(mixxx1.10-bzr mixxx1.8-bzr mixxx1.9-bzr mixxx)
  16. _bzrbranch=lp:mixxx
  17. _bzrname=mixxx
  18. source=("http://sites.google.com/site/secondhelper75/mixxx_gcc47.patch")
  19. md5sums=('6cc48980d1e2abbc31c455cd081cc25f')
  20.  
  21. build() {
  22.   cd ${srcdir}
  23.   msg "Connecting to BZR server..."
  24.  
  25.   if [ -d ${srcdir}/${_bzrname} ] ; then
  26.     cd ${_bzrname} && bzr pull ${_bzrbranch}
  27.     msg "Local repository updated."
  28.   else
  29.     bzr co ${_bzrbranch}
  30.   fi
  31.  
  32.   cd ${startdir}
  33.  
  34.   msg "BZR checkout done or server timeout"
  35.   msg "Starting make..."
  36.  
  37.   cd "$srcdir/$_bzrname/$_bzrname"
  38.  
  39.  ### GCC 4.7 compatibility
  40.       patch -Np1 -i ${srcdir}/mixxx_gcc47.patch
  41.  
  42.  ### fix DSO error
  43.       LDFLAGS=-lrt
  44.  
  45.    scons qtdir=/usr/lib/qt prefix=/usr install_root=$pkgdir/usr tuned=1 || return 1
  46.    scons qtdir=/usr/lib/qt prefix=/usr install_root=$pkgdir/usr install || return 1
  47.  
  48.  
  49. }
clone this paste RAW Paste Data