Contents of /trunk/extras/phonon/phonon-4.4.0-r1.smage2
Parent Directory | Revision Log
Revision 5161 -
(show annotations)
(download)
Mon Apr 5 08:32:55 2010 UTC (14 years, 5 months ago) by niro
File size: 1341 byte(s)
Mon Apr 5 08:32:55 2010 UTC (14 years, 5 months ago) by niro
File size: 1341 byte(s)
-use stable mirror
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 | |
36 | # unusual uri-scheme |
37 | SRC_URI=( |
38 | kde://${PNAME}/${PVER}/${SRCFILE} |
39 | mirror://${PNAME}/${PVER}/${SRCFILE} |
40 | ) |
41 | |
42 | # fake |
43 | UP2DATE="echo ${PVER}" |
44 | |
45 | src_compile() |
46 | { |
47 | cd ${SRCDIR} |
48 | |
49 | kde4_configure \ |
50 | $(cmake_with alsa) \ |
51 | $(cmake_with GStreamer) \ |
52 | $(cmake_with GStreamerPlugins) \ |
53 | $(cmake_with xine) \ |
54 | $(cmake_with xcb) \ |
55 | || die |
56 | |
57 | mmake || die |
58 | } |
59 | |
60 | preinstall() |
61 | { |
62 | if [[ -n $(magequery -n qt4-phonon) ]] |
63 | then |
64 | die "please uninstall x11-libs/qt4-phonon first!" |
65 | fi |
66 | } |
67 | |
68 | postinstall() |
69 | { |
70 | # breaks compilation if the old phonon symlink from qt4-phonon exist |
71 | if [[ -L ${MROOT}/opt/qt4/$(mlibdir)/libphonon.so ]] |
72 | then |
73 | rm ${MROOT}/opt/qt44/$(mlibdir)/libphonon.so |
74 | fi |
75 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |