1 # Contributor: Aquila Deus <aquila.deus@gmail.com>
6 pkgdesc="Epiphany web browser, with patch to quit and save session, open popup and new window in new tab."
8 url="http://www.gnome.org/projects/epiphany/"
10 depends=('xulrunner>=1.9.0.5-2' 'desktop-file-utils' 'enchant>=1.4.2' 'gnome-desktop>=2.24.3' 'iso-codes>=2.0' 'libcanberra' 'libnotify>=0.4.5')
11 makedepends=('gnome-doc-utils>=0.14.0' 'gnome-python>=2.22.3' 'intltool' 'libnetworkmanager>=0.6.6' 'pkgconfig')
13 provides=(epiphany=$pkgver)
14 conflicts=('epiphany')
15 install=$pkgname.install
16 source=(http://ftp.gnome.org/pub/GNOME/sources/epiphany/2.24/epiphany-$pkgver.tar.gz \
17 contenthandler.patch \
18 ephy-bookmarks-editor.patch \
19 ephy-history-window.patch \
26 gtknsssecuritywarningdialogs.patch \
28 md5sums=('d1c5565231e194b54a9b35a193f7071c'
29 '30a2fcefab233967ece2e990f03e93bc'
30 'fcfcaba6442f26fd1d6b3f484b66cb99'
31 '3fc534fb3b485b0048ebb77453591594'
32 '3e7f09c79603d835229f236150bb730b'
33 '2a56c7db1f156cc8dfe4a0efc982d720'
34 '15245d550dc124bddb436ea6e6fda4cf'
35 'a6962f554e74daf0cdd21292c54e6c2b'
36 'cc0aa43aee577f9bfc22bf08069da991'
37 'e1994b110d59815a418c4c4c645b0ec1'
38 'c4b1b786e000abe4ce0ea4b3a8adeb7e'
39 'ddecf898ed6e29c7fecb38785940fc7d')
42 cd $startdir/src/epiphany-$pkgver
43 patch -Np0 -i ../contenthandler.patch || return 1
44 patch -Np0 -i ../ephy-bookmarks-editor.patch || return 1
45 patch -Np0 -i ../ephy-history-window.patch || return 1
46 patch -Np0 -i ../ephy-main.patch || return 1
47 patch -Np0 -i ../ephy-session.patch || return 1
48 patch -Np0 -i ../ephy-shell.patch || return 1
49 patch -Np0 -i ../ephy-window.patch || return 1
50 patch -Np0 -i ../epiphany-ui.patch || return 1
51 patch -Np0 -i ../gtknssdialogs.patch || return 1
52 patch -Np0 -i ../gtknsssecuritywarningdialogs.patch || return 1
53 patch -Np0 -i ../popup-commands.patch || return 1
55 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
56 --disable-scrollkeeper \
58 --enable-certificate-manager \
60 --enable-network-manager \
61 --enable-spell-checker \
62 --with-gecko=libxul-embedding || return 1
64 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" \
67 install -dm755 "$pkgdir/usr/share/gconf/schemas"
68 gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/epiphany.schemas" \
69 "$pkgdir/etc/gconf/schemas"/*.schemas || return 1