Magellan Linux

Annotation of /trunk/extras/kdelibs/kdelibs-4.8.3-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12827 - (hide annotations) (download)
Wed Jul 4 07:27:08 2012 UTC (11 years, 11 months ago) by niro
File size: 3504 byte(s)
-marked unstable
1 niro 12826 # $Id$
2    
3     PNAME="kdelibs"
4     PVER="4.8.3"
5     PBUILD="r2"
6    
7 niro 12827 STATE="unstable"
8    
9 niro 12826 DESCRIPTION="KDE4 core libraries."
10    
11     DEPEND=">= kde-base/kde4-env-${PVER%.*}
12     >= x11-libs/libICE-1
13     >= x11-libs/libSM-1.2
14     >= x11-libs/libX11-1.4
15     >= x11-libs/libXau-1
16     >= x11-libs/libXcursor-1.1
17     >= x11-libs/libXdmcp-1.1
18     >= x11-libs/libXext-1.3
19     >= x11-libs/libXfixes-5
20     >= x11-libs/libXft-2.2
21     >= x11-libs/libXpm-3.5
22     >= x11-libs/libXrender-0.9
23     >= x11-libs/libXtst-1.2
24     >= x11-libs/libXScrnSaver-1.2
25     >= virtual/opengl
26     >= x11-apps/rgb-1
27     >= x11-apps/iceauth-1
28     >= app-arch/bzip2-1.0.6
29     >= app-arch/xz-utils-5
30     >= dev-libs/libxslt-1.1.26
31     >= dev-libs/libxml2-2.7
32     >= dev-libs/libpcre-8.30
33     >= dev-libs/openssl-1.0.1
34     >= media-libs/fontconfig-2.8
35     >= media-libs/freetype-2.4
36     >= media-libs/alsa-lib-1.0.24
37     >= app-admin/gamin-0.1.10
38     >= app-crypt/gnupg-2
39     >= media-libs/giflib-4.1
40     >= media-libs/libjpeg-8d
41     >= media-libs/libpng-1.5
42     >= media-libs/libjasper-1.900
43     >= media-libs/openexr-1.7
44     >= media-libs/herqq-1
45     >= app-text/enchant-1.6.0
46     >= net-dns/avahi-qt4-0.6.30
47     >= sys-apps/acl-2.2
48     >= sys-apps/dbus-1.5
49     >= sys-fs/udev-185
50     >= sys-fs/udisks-1
51     >= sys-apps/upower-0.9
52     >= sys-libs/libutempter-1.1.5
53     >= sys-libs/zlib-1.2.5
54     >= x11-misc/shared-mime-info-0.90
55     >= x11-apps/xdg-utils-1.1
56     >= app-misc/strigi-0.7.7
57     >= dev-libs/soprano-2.7
58     >= dev-libs/shared-desktop-ontologies-0.9
59     >= app-crypt/qca-2
60     >= dev-libs/polkit-qt-0.103
61     >= dev-libs/libattica-0.3
62     >= dev-libs/libdbusmenu-qt-0.9
63     >= virtual/phonon
64     >= virtual/phonon-backend
65     >= app-crypt/ca-certificates-2011"
66    
67     SDEPEND=">= sys-dev/gettext-0.18
68     >= app-text/docbook-xml-dtd42-4.2
69     >= app-text/docbook-xsl-stylesheets-1.76
70     >= kde-base/automoc4-0.9.88"
71    
72     SRCFILE="${PNAME/4/}-${PVER}.tar.xz"
73    
74     sminclude kde4
75    
76     SRC_URI=(
77     ${SRC_URI[*]}
78     mirror://${PNAME}/${PNAME}-4.5.1-kde-applications-menu.patch
79     )
80    
81     UP2DATE="updatecmd -listonly http://download.kde.org/stable/ | grep 'stable/[0-9]' | sed -n 's:.*/\([0-9].*\)/:\1:;$ p'"
82    
83     src_prepare()
84     {
85     munpack ${SRCFILE} || die
86     cd ${SRCDIR}
87    
88     # avoid conflicts with gnome-menu and others
89     mpatch ${PNAME}-4.5.1-kde-applications-menu.patch || die
90     }
91    
92     src_compile()
93     {
94     cd ${SRCDIR}
95    
96     # only use enchant; it wraps all other spellchecking-engines
97     local myconf="$(cmake_with ENCHANT) $(cmake_without ASPELL) $(cmake_without HSPELL)"
98    
99     kde4_configure \
100     $(cmake_opt KDE_DEFAULT_HOME .kde4) \
101     $(cmake_opt KDE_DISTRIBUTION_TEXT Magellan) \
102     $(cmake_opt KAUTH_BACKEND PolkitQt-1) \
103     $(cmake_with PolkitQt-1) \
104     $(cmake_with BZip2) \
105     $(cmake_with FAM) \
106     $(cmake_with OpenGL) \
107     $(cmake_with OpenSSL) \
108     $(cmake_with Avahi) \
109     $(cmake_with Soprano) \
110     $(cmake_with Jasper) \
111     $(cmake_with OpenEXR) \
112     $(cmake_with LibLZMA) \
113     $(cmake_with alsa) \
114     $(cmake_with acl) \
115     $(cmake_with SharedDesktopOntologies) \
116     $(cmake_with UDev) \
117     $(cmake_with HUpnp) \
118     $(cmake_without DNSSD) \
119     $(cmake_without GSSAPI) \
120     ${myconf} \
121     || die
122    
123     mmake || die
124     }
125    
126     src_install()
127     {
128     kde4_src_install || die
129    
130     # cert bundle seems to be hardcoded
131     # link it to the one from ca-certificates
132     rm -f ${BINDIR}/usr/share/apps/kssl/ca-bundle.crt || die
133     mlink /etc/ssl/certs/ca-certificates.crt /usr/share/apps/kssl/ca-bundle.crt || die
134     }
135    
136     postinstall()
137     {
138     echo
139     echo "To have full zeroconf support with kde,"
140     echo "make sure the avahi daemons are running."
141     echo "Also multicast dns host lookups should be"
142     echo "enabled in '/etc/nsswitch.conf'."
143     echo "e.g: ipv6 'hosts: files mdns dns'"
144     echo "or for ipv4 'hosts: files mdns4 dns'"
145     echo
146     }