Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


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