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>
6 _basepkgname=kdemultimedia
9 pkgdesc="KDE3 CD ripper and audio encoder frontend"
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')
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 \
35 --disable-dependency-tracking \
38 --enable-gcc-hidden-visibility \
40 --enable-new-ldflags LDFLAGS="${LDFLAGS} -L/opt/qt/lib -L/opt/kde/lib -L/opt/kde/lib/kde3"
43 make DESTDIR=${pkgdir} install
48 make DESTDIR=${pkgdir} install
51 make DESTDIR=${pkgdir} install