summaryrefslogtreecommitdiff
path: root/extra/k3b/PKGBUILD
blob: f1dce1167d19e4fbdb764d23f07b111b8b7de1e2 (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
# $Id: PKGBUILD 142626 2011-11-12 17:15:20Z ibiru $
# Maintainer: Eric Bélanger <eric@archlinux.org>
# Contributor: damir <damir@archlinux.org>

pkgname=k3b
pkgver=2.0.2
pkgrel=4
pkgdesc="Feature-rich and easy to handle CD burning application"
arch=('i686' 'x86_64')
url="http://k3b.org/"
license=('GPL')
depends=('kdebase-runtime' 'kdemultimedia-kioslave' 'libsamplerate' 
         'ffmpeg' 'taglib' 'libmpcdec' 'libdvdread' 'cdrdao' 'cdrkit' 'libxft')
makedepends=('cmake' 'automoc4' 'docbook-xml')
optdepends=('dvd+rw-tools: for dvd burning support'
            'vcdimager: for vcd burning support'
            'transcode: for advanced mpeg conversion support'
            'emovix: for bootable multimedia cd/dvd support')
options=('!libtool')
install=k3b.install
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2 \
        k3b-2.0.2-ffmpeg.patch)
sha1sums=('8b30a4d07942e82559b01bc07dea6bcf2defd532'
          '8120c0e22e6c41ea285ca6060be13723ed91c52b')

build() {
  cd "${srcdir}"
  (cd ${pkgname}-${pkgver}; patch -p1 -i "${srcdir}/k3b-2.0.2-ffmpeg.patch")
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release
  make
}

package() {
  cd "${srcdir}/build"
  make DESTDIR="${pkgdir}" install
}