Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4874 - (show annotations) (download)
Fri Feb 12 23:29:03 2010 UTC (14 years, 3 months ago) by niro
File size: 1335 byte(s)
auto added: ver bump to 4.3.80-r1
1 # $Id$
2
3 PNAME="phonon"
4 PVER="4.3.80"
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/qt-core-4.6
23 >= x11-libs/qt-dbus-4.6
24 >= x11-libs/qt-gui-4.6
25 >= x11-libs/qt-opengl-4.6
26 >= x11-libs/qt-test-4.6"
27
28 SDEPEND=">= kde-base/automoc4-0.9.88"
29
30 PROVIDE="virtual/phonon"
31
32 sminclude kde4
33
34 # unstable package
35 KDE_MIRROR_UNSTABLE = 1
36
37 # unusual uri-scheme
38 SRC_URI=(
39 kde://${PNAME}/${SRCFILE}
40 mirror://${PNAME}/${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