Magellan Linux

Contents of /smage/trunk/extras/webkitgtk/webkitgtk-2.4.9-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7012 - (show annotations) (download)
Fri Aug 14 11:02:57 2015 UTC (8 years, 9 months ago) by niro
File size: 1476 byte(s)
-enabled video and sound support
1 # $Id$
2
3 PNAME="webkitgtk"
4 PVER="2.4.9"
5 PBUILD="r4"
6
7 PCAT="net-www"
8
9 DESCRIPTION="GTK+ Web content engine library."
10 HOMEPAGE="http://webkitgtk.org/"
11
12 DEPEND=">= x11-libs/libXt-1.1
13 >= dev-libs/libxslt-1.1.28
14 >= dev-db/sqlite-3.8
15 >= net-libs/libsoup-2.50
16 >= virtual/opengl
17 >= media-libs/libwebp-0.4
18 >= media-libs/harfbuzz-icu-0.9
19 >= app-crypt/libsecret-0.18
20 >= media-libs/gstreamer1.0-plugins-base-1.4
21 >= x11-libs/gtk2+-2.24"
22
23 ALX_DEV_DEPEND=">= x11-libs/libXt-dev-1.1
24 >= dev-libs/libxslt-dev-1.1.28
25 >= dev-db/sqlite-dev-3.8
26 >= net-libs/libsoup-dev-2.50
27 >= virtual/opengl-dev
28 >= media-libs/libwebp-dev-0.4
29 >= media-libs/harfbuzz-0.9
30 >= app-crypt/libsecret-dev-0.18
31 >= x11-libs/gtk2+-dev-2.24"
32
33 SDEPEND=">= dev-util/gperf-3
34 >= dev-lang/python-2.7
35 >= dev-lang/ruby-2.2
36 ${ALX_DEV_DEPEND}"
37
38 SRCFILE="${PNAME}-${PVER}.tar.xz"
39 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
40
41 ALX_PKG_KEEP="usr/$(mlibdir)/*.so.* usr/share/webkitgtk-1.0 usr/bin"
42 sminclude mbuild alx-split
43
44 SRC_URI=(
45 http://webkitgtk.org/releases/${SRCFILE}
46 mirror://${PNAME}/${SRCFILE}
47 )
48
49 UP2DATE="updatecmd http://webkitgtk.org/releases/ | grep ${PNAME} | highesttarball xz"
50
51 src_compile()
52 {
53 cd ${SRCDIR}
54
55 mconfigure \
56 --libexecdir=/usr/$(mlibdir)/${PNAME} \
57 --disable-introspection \
58 --disable-webkit2 \
59 --disable-geolocation \
60 --enable-video \
61 --enable-web-audio \
62 --enable-credential-storage \
63 --disable-spellcheck \
64 --disable-gtk-doc \
65 --with-gtk=2.0 \
66 || die
67
68 mmake || die
69 }