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

PKGBUILD

By: pavolsk on Sep 17th, 2013  |  syntax: Bash  |  size: 2.77 KB  |  views: 167  |  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. # Contributor: MacCyber <jonas.enge at gmail dot com>
  2. # Contributor: Doug Newgard <scimmia22 at outlook dot com>
  3.  
  4. pkgname=acestream-player-data
  5. pkgver=2.1.6
  6. pkgrel=1
  7. ubuntuver=raring
  8. ubunturel=2
  9. pkgdesc="ACE Stream player libraries files"
  10. arch=('i686' 'x86_64')
  11. url="http://acestream.org/"
  12. license=('unknown')
  13. depends=('a52dec' 'acestream-ffmpeg' 'faad2' 'libdca' 'libdvbpsi' 'libdvdnav' 'libmad'
  14.          'libpng12' 'libmatroska' 'libmpcdec' 'libmpeg2' 'libproxy' 'libshout' 'libupnp' 'libxpm'
  15.          'lua51' 'qt4' 'sdl_image' 'taglib' 'xcb-util-keysyms')
  16. optdepends=('aalib: for ASCII art plugin'
  17.             'avahi: for service discovery using bonjour protocol'
  18.             'flac: for Free Lossless Audio Codec plugin'
  19.             'fluidsynth: for synthesizer MIDI FluidSynth'
  20.             'gnome-vfs: for GNOME Virtual File System support'
  21.             'kdelibs: KDE Solid hardware integration'
  22.             'libavc1394: for devices using the 1394ta AV/C'
  23.             'libbluray: for Blu-Ray support'
  24.             'libcaca: for colored ASCII art video output'
  25.             'libcdio: for audio CD playback support'
  26.             'libnotify: for notification plugin'  
  27.             'libdc1394: for IEEE 1394 plugin'
  28.             'libdvdcss: for decoding encrypted DVDs'
  29.             'libgme: for libgme plugin'
  30.             'libgoom2: for libgoom plugin'
  31.             'libmtp: for MTP devices support'
  32.             'librsvg: for SVG plugin'
  33.             'libssh2: for sftp support'
  34.             'libva-vdpau-driver: vdpau back-end for nvidia'
  35.             'libva-intel-driver: back-end for intel cards'
  36.             'lirc-utils: for lirc plugin'
  37.             'ncurses: for ncurses interface support'
  38.             'opus: for opus support'
  39.             'oss: for OSS audio support'
  40.             'portaudio: for portaudio support'
  41.             'projectm: for ProjectM visualisation plugin'
  42.             'smbclient: for SMB access plugin'
  43.             'twolame: for TwoLAME mpeg2 encoder plugin'
  44.             'vcdimager: navigate VCD with libvcdinfo'
  45.             'xosd: for xosd support'
  46.             'ttf-freefont: for subtitle font')
  47. conflicts=('acestream')
  48. if [[ "$CARCH" == "i686" ]]; then
  49.   source=("http://repo.acestream.org/ubuntu/pool/main/a/$pkgname/${pkgname}_${pkgver}-1${ubuntuver}${ubunturel}_i386.deb")
  50.   sha256sums=('3592b0785612c350e13f48d2d4b434ea67577a96e2199afccc13021ffcae2ccc')
  51. else
  52.   source=("http://repo.acestream.org/ubuntu/pool/main/a/$pkgname/${pkgname}_${pkgver}-1${ubuntuver}${ubunturel}_amd64.deb")
  53.   sha256sums=('0abf545e37a88252837fa9a178db3ea02caaba491abf65ed09a4a77f231d4172')
  54. fi
  55.  
  56. package() {
  57.   cd "$srcdir"
  58.   bsdtar -xf data.tar.gz -C "$pkgdir"
  59.  
  60. # create symlinks for libs that Ubuntu names differenly
  61.   cd "$pkgdir/usr/lib"
  62.   ln -s liblua5.1.so liblua5.1.so.0
  63. }