1 # Maintainer: Juanma Hernández <juanmah@gmail.com>
7 pkgdesc="amaroK - a media player for KDE - v1.4.10 xine engine with wikipedia patch (single package)"
9 url="http://amarok.kde.org"
11 depends=('xine-lib>=1.1.3' 'libmysqlclient>=5.0.45' 'libnjb>=2.2.5' 'postgresql-libs>=8.2.4' 'ruby' 'tunepimp>=0.5.3' 'kdelibs3>=3.5.7' 'libgpod>=0.6.0' 'libifp>=1.0.0.2' 'libvisual>=0.4.0' 'libmtp')
12 makedepends=('kdelibs3' 'libmtp>=0.2.6.1' 'xine-lib>=1.1.8' 'sdl>=1.2.12' 'gcc43')
15 install=amarok.install
16 source=("ftp://ftp.slackware.at/slackware-12.2/source/kde/amarok/$_origname-$pkgver.tar.bz2"
17 "amarok_addaspodcast.desktop"
22 "amarok-1.4.10.coverfetcher.diff"
23 "ruby19_configure2.patch"
24 "ruby19_rstring.patch")
25 md5sums=('3bdbf26181bf5e5925f48968caba7ac2'
26 '7736a7e3e22b15818180df3cee7e4a79'
27 'a93eb0dad2078afa045a69f38256b369'
28 '02eb286127594b9427d27da7eb01f0de'
29 # 'cfa9310dec03c33048e5a067a0334266'
30 # 'c441d4711f2c0ffc28a4a0b9757d397b'
31 'f4e8754cde659342bdfd3fca36612bb5'
32 'e3c5201663052b4f346d5002a196421a'
33 '2a7ac1f359eb3cdb8bf724c8be660295')
36 for patch in "$srcdir"/*.{diff,patch}; do
40 cd "$srcdir/$_origname-$pkgver"
42 # . /etc/profile.d/qt3.sh
43 # . /etc/profile.d/kde3.sh
45 [ "$QTDIR" = "" ] && source /etc/profile.d/qt3.sh
46 [ "$KDEDIR" = "" ] && source /etc/profile.d/kde3.sh
50 ./configure CC=gcc-4.3 CXX=g++-4.3 --prefix=/opt/kde \
70 sed -i -e 's/konquisidebar//g' amarok/src/Makefile
76 cd "$srcdir/$_origname-$pkgver"
78 make DESTDIR="$pkgdir" install
80 mkdir -p "$pkgdir/opt/kde/share/apps/konqueror/servicemenus/"
81 install -m644 "$srcdir/amarok_addaspodcast.desktop" "$pkgdir/opt/kde/share/apps/konqueror/servicemenus/"