Magellan Linux

Annotation of /branches/R11-stable/extras/kdelibs/kdelibs-4.9.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 16270 - (hide annotations) (download)
Wed Jan 30 17:47:36 2013 UTC (11 years, 4 months ago) by niro
File size: 3978 byte(s)
-release branches/R11-stable
1 niro 15923 # $Id$
2    
3     PNAME="kdelibs"
4     PVER="4.9.5"
5     PBUILD="r1"
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.5
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.31
31     >= dev-libs/openssl-1.0.1
32     >= media-libs/fontconfig-2.10
33     >= media-libs/freetype-2.4
34     >= media-libs/alsa-lib-1.0.26
35     >= app-admin/gamin-0.1.10
36     >= app-crypt/gnupg-2
37     >= media-libs/giflib-5
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.31
45     >= sys-apps/acl-2.2
46     >= sys-apps/dbus-1.6
47     >= sys-fs/udev-196
48     >= sys-fs/udisks2-2.0
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 niro 15934 >= dev-libs/soprano-2.9
56 niro 15923 >= dev-libs/shared-desktop-ontologies-0.10
57     >= app-crypt/qca-2
58     >= dev-libs/polkit-qt-0.103
59     >= dev-libs/libattica-0.4
60     >= dev-libs/libdbusmenu-qt-0.9
61     >= dev-libs/grantlee-0.3
62     >= virtual/phonon
63     >= virtual/phonon-backend
64     >= app-crypt/ca-certificates-2011
65     >= app-misc/media-player-info-17"
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     mirror://${PNAME}/${PNAME}-4.9.4-udisks2-backend.patch
80     mirror://${PNAME}/${PNAME}-4.9.4-udisks2-kfileplacesdevicecache.patch
81     mirror://${PNAME}/${PNAME}-4.9.4-giflib5.patch
82    
83     )
84    
85     UP2DATE="updatecmd -listonly http://download.kde.org/stable/ | grep 'stable/[0-9]' | sed -n 's:.*/\([0-9].*\)/:\1:;$ p'"
86    
87     src_prepare()
88     {
89     munpack ${SRCFILE} || die
90     cd ${SRCDIR}
91    
92     # avoid conflicts with gnome-menu and others
93     mpatch ${PNAME}-4.5.1-kde-applications-menu.patch || die
94    
95     # use new udisk2 backend
96     mpatch ${PNAME}-4.9.4-udisks2-backend.patch || die
97     mpatch ${PNAME}-4.9.4-udisks2-kfileplacesdevicecache.patch || die
98    
99     # fix build with giflib-5.x
100     mpatch ${PNAME}-4.9.4-giflib5.patch || die
101     }
102    
103     src_compile()
104     {
105     cd ${SRCDIR}
106    
107     # only use enchant; it wraps all other spellchecking-engines
108     local myconf="$(cmake_with ENCHANT) $(cmake_without ASPELL) $(cmake_without HSPELL)"
109    
110     kde4_configure \
111     $(cmake_opt KDE_DEFAULT_HOME .kde4) \
112     $(cmake_opt KDE_DISTRIBUTION_TEXT Magellan) \
113     $(cmake_opt KAUTH_BACKEND PolkitQt-1) \
114     $(cmake_with PolkitQt-1) \
115     $(cmake_with BZip2) \
116     $(cmake_with FAM) \
117     $(cmake_with OpenGL) \
118     $(cmake_with OpenSSL) \
119     $(cmake_with Avahi) \
120     $(cmake_with Soprano) \
121     $(cmake_with Jasper) \
122     $(cmake_with OpenEXR) \
123     $(cmake_with LibLZMA) \
124     $(cmake_with alsa) \
125     $(cmake_with acl) \
126     $(cmake_with SharedDesktopOntologies) \
127     $(cmake_with UDev) \
128     $(cmake_with SOLID_UDISKS2) \
129     $(cmake_with HUpnp) \
130     $(cmake_without DNSSD) \
131     $(cmake_without GSSAPI) \
132     ${myconf} \
133     || die
134    
135     mmake || die
136     }
137    
138     src_install()
139     {
140     kde4_src_install || die
141    
142     # cert bundle seems to be hardcoded
143     # link it to the one from ca-certificates
144     rm -f ${BINDIR}/usr/share/apps/kssl/ca-bundle.crt || die
145     mlink /etc/ssl/certs/ca-certificates.crt /usr/share/apps/kssl/ca-bundle.crt || die
146     }
147    
148     postinstall()
149     {
150     echo
151     echo "To have full zeroconf support with kde,"
152     echo "make sure the avahi daemons are running."
153     echo "Also multicast dns host lookups should be"
154     echo "enabled in '/etc/nsswitch.conf'."
155     echo "e.g: ipv6 'hosts: files mdns dns'"
156     echo "or for ipv4 'hosts: files mdns4 dns'"
157     echo
158     }