Advertisement
Guest User

PKGBUILD: audio-recorder 1.6.2-3

a guest
May 11th, 2015
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.23 KB | None | 0 0
  1. # Maintainer: Spike29 <leguen.yannick@gmail.com>
  2. # Contributor: Lucas Saliés Brum <lucas@archlinux.com.br>
  3.  
  4. pkgname=audio-recorder
  5. pkgver=1.6.2
  6. pkgrel=3
  7. pkgdesc="Audio recorder for GNOME and Unity Desktops"
  8. arch=('i686' 'x86_64')
  9. url='https://launchpad.net/audio-recorder'
  10. license=('GPL3')
  11. depends=('gst-plugins-base' 'gtk3' 'libappindicator-gtk3')
  12. makedepends=('intltool')
  13. optdepends=('pulseaudio: for extended recording capabilities'
  14.         'gst-plugins-good: for WAV and Flac encoding'
  15.         'gst-plugins-bad: for AAC encoding'
  16.         'gst-plugins-ugly: for MP3 encoding')
  17. provides=('audio-recorder')
  18. install="$pkgname.install"
  19. conflicts=('audio-recorder-bzr' 'audio-recorder-from-deb')
  20. source=("https://launchpad.net/${pkgname}/trunk/version1.6-2/+download/${pkgname}-1.6-2.tar.gz"
  21.         "fix_gtk3.16_build.patch")
  22. md5sums=('746443bf42981b9e9c342f6d7e3d3855'
  23.          'c3c94120820e28f3fa8da4c48a0a4b11')
  24.  
  25. prepare() {
  26.   cd "$srcdir/$pkgname"
  27.   # Fix build with GTK 3.16
  28.   # https://bugs.launchpad.net/audio-recorder/+bug/1442219
  29.   patch -p1 < ../fix_gtk3.16_build.patch
  30. }
  31.  
  32. build() {
  33.   cd "$srcdir/$pkgname"
  34.   ./configure --prefix=/usr
  35.   make
  36. }
  37.  
  38. package() {
  39.   cd "$srcdir/$pkgname"
  40.   make DESTDIR="$pkgdir/" install
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement