Magellan Linux

Contents of /trunk/extras/phonon/phonon-4.4.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5162 - (show annotations) (download)
Mon Apr 5 08:33:42 2010 UTC (14 years, 1 month ago) by niro
File size: 1382 byte(s)
auto added: ver bump to 4.4.0-r1
1 # $Id$
2
3 PNAME="phonon"
4 PVER="4.4.0"
5 PBUILD="r1"
6
7 STATE="unstable"
8
9 DESCRIPTION="KDE4 Multimedia API."
10 HOMEPAGE="http://phonon.kde.org/"
11
12 DEPEND=">= sys-apps/dbus-1.4
13 >= dev-libs/glib2-2.22
14 >= virtual/opengl
15 >= dev-libs/libxml2-2.7
16 >= media-libs/alsa-lib-1.0.21
17 >= media-libs/gstreamer-0.10.25
18 >= media-libs/gst-plugins-base-0.10.25
19 >= media-libs/gst-plugins-good-0.10.16
20 >= media-libs/xine-lib-1.1.16
21 >= x11-libs/libxcb-1.4
22 >= x11-libs/qt4-core-4.6
23 >= x11-libs/qt4-dbus-4.6
24 >= x11-libs/qt4-gui-4.6
25 >= x11-libs/qt4-opengl-4.6"
26
27 SDEPEND=">= kde-base/automoc4-0.9.88"
28
29 PROVIDE="virtual/phonon"
30
31 sminclude kde4
32
33 # uncommon srcfile name
34 SRCFILE="${PNAME}-${PVER}.tgz"
35 SRCDIR="${BUILDDIR}/${PNAME}-${PVER%.*}"
36
37 # unusual uri-scheme
38 SRC_URI=(
39 kde://${PNAME}/${PVER}/${SRCFILE}
40 mirror://${PNAME}/${PVER}/${SRCFILE}
41 )
42
43 # fake
44 UP2DATE="echo ${PVER}"
45
46 src_compile()
47 {
48 cd ${SRCDIR}
49
50 kde4_configure \
51 $(cmake_with alsa) \
52 $(cmake_with GStreamer) \
53 $(cmake_with GStreamerPlugins) \
54 $(cmake_with xine) \
55 $(cmake_with xcb) \
56 || die
57
58 mmake || die
59 }
60
61 preinstall()
62 {
63 if [[ -n $(magequery -n qt4-phonon) ]]
64 then
65 die "please uninstall x11-libs/qt4-phonon first!"
66 fi
67 }
68
69 postinstall()
70 {
71 # breaks compilation if the old phonon symlink from qt4-phonon exist
72 if [[ -L ${MROOT}/opt/qt4/$(mlibdir)/libphonon.so ]]
73 then
74 rm ${MROOT}/opt/qt44/$(mlibdir)/libphonon.so
75 fi
76 }

Properties

Name Value
svn:keywords Id