PKGBUILDs/extra/k3b/PKGBUILD
2009-10-09 21:23:22 -05:00

31 lines
1.2 KiB
Bash

# $Id: PKGBUILD 50823 2009-09-01 19:00:43Z pierre $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: jlvsimoes
# Contributor: damir <damir@archlinux.org>
pkgname=k3b
pkgver=1.66.0alpha2
pkgrel=3
depends=('kdebase-runtime' 'kdemultimedia-kioslave' 'libsamplerate' 'libmad'
'ffmpeg>=0.5' 'taglib>=1.4' 'libmpcdec>=1.2.5' 'libdvdread>=4.1.3'
'polkit-qt')
makedepends=('cmake' 'pkgconfig' 'automoc4' )
pkgdesc="Feature-rich and easy to handle CD burning application"
arch=("i686" "x86_64")
license=('GPL')
install=$pkgname.install
source=(http://downloads.sourceforge.net/sourceforge/k3b/${pkgname}-${pkgver}.tar.bz2)
url="http://k3b.sourceforge.net/"
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)
build() {
cd ${srcdir}/${pkgname}-1.66.0
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
make || return 1
make DESTDIR=${pkgdir} install || return 1
}
md5sums=('60717ca718da93ee65f5fc2c0d9e8c71')