Guest User

Untitled

a guest
Jun 17th, 2016
72
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Soukyuu <chrno-sphered at hotmail dot com>
  2. # Contributor: archtux <antonio dot arias99999 at gmail dot com>
  3. pkgname=deadbeef-git
  4. pkgver=r6511.88b9879
  5. pkgrel=1
  6. pkgdesc="Music player based on GTK2 (devel branch)"
  7. url="http://deadbeef.sourceforge.net"
  8. arch=('i686' 'x86_64')
  9. license=('GPL2')
  10. depends=('alsa-lib' 'desktop-file-utils' 'gtk2' 'hicolor-icon-theme' 'gtkglext' 'jansson')
  11. makedepends=('curl' 'faad2' 'flac' 'git' 'intltool' 'imlib2' 'libcddb' 'libcdio' 'libmad' 'libpulse' 'libsamplerate' 'libvorbis' 'libx11' 'libzip' 'wavpack' 'yasm')
  12. optdepends=('libsamplerate: for dsp_libsrc plugin (resampler)'
  13. 'libsm: optional dependency for gtkui session client support'
  14. 'libice: optional dependency for gtkui session client support'
  15. 'alsa-lib: ALSA support'
  16. 'alsa-oss: for OSS output plugin'
  17. 'libvorbis: for ogg vorbis plugin'
  18. 'libogg: for ogg vorbis plugin'
  19. 'libmad: for mp3 plugin (mpeg1,2 layers1,2,3)'
  20. 'flac: for flac plugin'
  21. 'curl: for last.fm, vfs_curl (shoutcast/icecast), artwork plugins'
  22. 'imlib2: for artwork plugin'
  23. 'wavpack: for wavpack plugin'
  24. 'libsndfile: for sndfile plugin'
  25. 'libcdio: for cd audio plugin'
  26. 'libcddb: for cd audio plugin'
  27. 'faad2: for AAC plugin'
  28. 'dbus: for notification daemon support (OSD current song notifications)'
  29. 'pulseaudio: for PulseAudio output plugin'
  30. 'libx11: for global hotkeys plugin'
  31. 'zlib: for Audio Overload plugin (psf, psf2, etc), GME (for vgz)'
  32. 'libsidplay: for SID player plugin'
  33. 'yasm: required to build assembly portions of ffap plugin'
  34. 'libzip: for vfs_zip plugin')
  35. install='deadbeef.install'
  36. options=('!libtool')
  37. conflicts=('deadbeef')
  38. provides=('deadbeef')
  39. source=('git+https://github.com/Alexey-Yakovenko/deadbeef')
  40. md5sums=('SKIP')
  41.  
  42. prepare() {
  43. cd "$srcdir/deadbeef"
  44.  
  45. ./autogen.sh
  46. ./configure --prefix=/usr --enable-ffmpeg --enable-gtk2 --disable-gtk3
  47. }
  48.  
  49. build() {
  50. cd "$srcdir/deadbeef"
  51.  
  52. make
  53. }
  54.  
  55. package() {
  56. cd "$srcdir/deadbeef"
  57.  
  58. make DESTDIR="$pkgdir" install
  59. }
  60.  
  61. pkgver() {
  62. cd "$srcdir/deadbeef"
  63. echo r$(git rev-list --count master).$(git rev-parse --short master)
  64. }
RAW Paste Data