summaryrefslogtreecommitdiff
path: root/extra/xfburn/PKGBUILD
blob: ec80b00ac61068765dcc758fbba6327de5080844 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# $Id: PKGBUILD 157835 2012-04-30 04:19:58Z foutrelis $
# Maintainer: Tobias Kieslich <tobias funnychar archlinux.org>
# Contributor: Alois Nespor alois.nespor@gmail.com

pkgname=xfburn
pkgver=0.4.3
pkgrel=6
arch=('i686' 'x86_64')
pkgdesc="A simple CD/DVD burning tool based on libburnia libraries"
url="http://goodies.xfce.org/projects/applications/xfburn"
license=('GPL2')
groups=('xfce4-goodies')
install=${pkgname}.install
depends=('libburn' 'libisofs' 'libxfcegui4' 'exo' 'gstreamer0.10-base'
         'hicolor-icon-theme' 'desktop-file-utils' 'librsvg')
makedepends=('intltool')
source=(http://archive.xfce.org/src/apps/xfburn/0.4/$pkgname-$pkgver.tar.bz2
        fix_empty_dir_segfault.diff)
sha1sums=('52d33e56b7ce9774fba680f50723eaf1a7215091'
          'e374dd4942a49b52166fa9f2aa40e9aefb3aa3ec')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  # fix https://bugs.archlinux.org/task/26121
  patch -Np0 -i "$srcdir/fix_empty_dir_segfault.diff"

  # fix build issue
  sed -i '1 i\
    #include <glib-object.h>' \
    xfburn/xfburn-settings.h

  ./configure \
    --prefix=/usr \
    --enable-gstreamer \
    --enable-dbus \
    --disable-hal
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et: