updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / kaudiocreator3 / PKGBUILD
blob711172df75c915d37e09de4311eb15b45bf08dfc
1 # Maintainer :  Manuel Gaul <inkaine@hotmail.com>
2 # derived from kaffeine PKGBUILD by Damir Perisa <damir.parisa@bluewin.ch>
3 # and KDEmod kdemultimedia SPLITBUILD 3.5.10-1 by Jan Mette <funkyou@kdemod.ath.cx>
5 pkgname=kaudiocreator3
6 _basepkgname=kdemultimedia
7 pkgver=3.5.10
8 pkgrel=2
9 pkgdesc="KDE3 CD ripper and audio encoder frontend"
10 license=('GPL')
11 arch=('i686' 'x86_64')
12 url="http://www.kde.org/"
13 depends=('qt3' 'kdelibs3>=3.5.10' 'cdparanoia' 'xorg-iceauth')
14 makedepends=('pkgconfig' 'perl' 'lame' 'vorbis-tools' 'flac>=1.1.4' 'taglib')
15 optdepends=('lame' 'vorbis-tools' 'flac>=1.1.4')
16 conflicts=('kdemultimedia<=4.0')
17 provides=('kaudiocreator' 'libkcddb3' 'kdemultimedia3-kioslave')
18 source=("http://download.kde.org/stable/${pkgver}/src/${_basepkgname}-${pkgver}.tar.bz2" "http://chakra-project.org/svn/branches/kde3/kdemultimedia/02_kioslave-flac.patch")
19 md5sums=('8e8cd7f41d37f7da8bd239048abf3516' '72791ea8b5767cec50d02375322a2315')
21 build() {
22         cd ${startdir}/src/${_basepkgname}-${pkgver}
24         # Apply KDEmod kioslave flac patch
25         patch -p1 -i ../02_kioslave-flac.patch
27         . /etc/profile.d/qt3.sh
28         . /etc/profile.d/kde3.sh
30         ./configure --prefix=/opt/kde \
31                 --without-arts \
32                 --with-alsa \
33                 --with-lame \
34                 --with-vorbis \
35                 --disable-dependency-tracking \
36                 --disable-debug \
37                 --with-speex \
38                 --enable-gcc-hidden-visibility \
39                 --enable-final \
40                 --enable-new-ldflags LDFLAGS="${LDFLAGS} -L/opt/qt/lib -L/opt/kde/lib -L/opt/kde/lib/kde3"
41         cd libkcddb
42         make || return 1
43         make DESTDIR=${pkgdir} install
44         cd ../kscd
45         make || return 1
46         cd ../kaudiocreator
47         make || return 1
48         make DESTDIR=${pkgdir} install
49         cd ../kioslave
50         make || return 1
51         make DESTDIR=${pkgdir} install