Magellan Linux

Annotation of /trunk/extras/amarok2/amarok2-2.2.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5465 - (hide annotations) (download)
Mon Jun 28 10:56:02 2010 UTC (14 years, 3 months ago) by niro
File size: 2276 byte(s)
-fixed spelling
1 niro 4965 # $Id$
2    
3     PNAME="amarok2"
4     PVER="2.2.2"
5     PBUILD="r1"
6    
7     PCATEGORIE="media-sound"
8     STATE="unstable"
9    
10 niro 5465 DESCRIPTION="amarok2 is a soundsystem-independent music player for KDE4."
11 niro 4965 HOMEPAGE="http://amarok.kde.org/"
12    
13     DEPEND=">= app-misc/strigi-0.7
14     >= kde-base/kdelibs4-4.4
15     >= kde-base/kdebase4-runtime-4.4
16     >= kde-base/kdemultimedia4-kioslave-4.4
17     >= app-crypt/qca-2
18     >= dev-libs/glib2-2.22
19     >= dev-libs/libxml2-2.7
20     >= dev-libs/openssl-0.9.8
21     >= dev-db/mysql5-5.1
22     >= media-libs/taglib-1.6
23     >= media-libs/taglib-extras-1.0.1
24     >= media-libs/libgpod-0.7.2
25     >= media-libs/liblastfm-0.3.0
26     >= media-libs/libmtp-0.3.0
27     >= net-libs/loudmouth-1.4.3
28     >= net-misc/curl-7
29     >= sys-libs/zlib-1.2.3
30     >= x11-libs/qt4-core-4.6
31     >= x11-libs/qt4-dbus-4.6
32     >= x11-libs/qtscriptgenerator-0.1.0
33     >= virtual/phonon"
34    
35     SRCFILE="${PNAME/2/}-${PVER}.tar.bz2"
36     SRCDIR="${BUILDDIR}/${PNAME/2/}-${PVER}"
37    
38     SRC_URI=(
39     kde://${PNAME/2/}/${PVER}/src/${SRCFILE}
40     mirror://${PNAME/2/}/${SRCFILE}
41 niro 4969 mirror://${PNAME/2/}/${PNAME/2/}-${PVER}-kde220532.patch
42     mirror://${PNAME/2/}/${PNAME/2/}-${PVER}-fix-photo-widget.patch
43 niro 4965 )
44    
45     sminclude kde4
46    
47 niro 4968 src_prepare()
48     {
49     # warn about /proc in chroot environments
50     # qtscript bindings test needs mounted /proc or it segfaults!
51     #
52     # test can be done via:
53     # cd /var/tmp/magebuild/amarok-2.2.2/cmake/modules/bindingstest
54     # mkdir build; cd build
55     # cmake ..
56     # make VERBOSE=1
57     # ./bindingstest; echo $?
58     # -> must return 0
59     # without mounted proc it segfaults:
60     # => frost64 build # ./bindingstest; echo $?
61     # => Segmentation fault
62     # => 139
63     [[ ! -d /proc/sys ]] && die "Please make sure /proc is mounted in chroot-environments."
64    
65     munpack ${SRCFILE} || die
66 niro 4969 cd ${SRCDIR}
67    
68     # fix semantic desktop scanning issues
69     # see: https://bugs.kde.org/220532
70     mpatch ${PNAME/2/}-${PVER}-kde220532.patch || die
71    
72     # fix issues with the photo widget
73     mpatch ${PNAME/2/}-${PVER}-fix-photo-widget.patch || die
74 niro 4968 }
75    
76 niro 4965 src_compile()
77     {
78     cd ${SRCDIR}
79    
80     kde4_configure \
81     $(cmake_with PLAYER) \
82     $(cmake_with UTILITIES) \
83     $(cmake_with ipod) \
84     $(cmake_with Gdk) \
85     $(cmake_with LibLastFm) \
86     $(cmake_with mtp) \
87     $(cmake_with MP3Tunes) \
88     $(cmake_with QCA) \
89     || die
90    
91     mmake || die
92     }
93    
94     src_install()
95     {
96     kde4_src_install || die
97    
98     # provide a amarok2 symlink
99     mlink amarok ${KDEDIR}/bin/amarok2 || die
100     }

Properties

Name Value
svn:keywords Id