/[gentoo-x86]/www-client/dillo/dillo-0.8.3-r3.ebuild
Gentoo

Contents of /www-client/dillo/dillo-0.8.3-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Tue Jan 18 12:53:35 2005 UTC (14 years, 9 months ago) by usata
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Version bumped; bug #77679.

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-client/dillo/dillo-0.8.3-r3.ebuild,v 1.5 2005/01/06 16:24:50 taviso Exp $
4
5 inherit flag-o-matic eutils
6
7 S2=${WORKDIR}/dillo-gentoo-extras-patch4
8 DILLO_I18N_P="${P}-i18n-misc-20041206"
9
10 DESCRIPTION="Lean GTK+-based web browser"
11 HOMEPAGE="http://www.dillo.org/"
12 SRC_URI="http://www.dillo.org/download/${P}.tar.bz2
13 mirror://gentoo/dillo-gentoo-extras-patch4.tar.bz2
14 http://teki.jpn.ph/pc/software/${DILLO_I18N_P}.diff.bz2"
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="x86 ppc sparc alpha ~hppa ~amd64 ~mips ~arm ~ppc64"
19 MISC_IUSE="nls truetype"
20 IUSE="${MISC_IUSE} ipv6 ssl"
21
22 RDEPEND="=x11-libs/gtk+-1.2*
23 >=media-libs/jpeg-6b
24 >=sys-libs/zlib-1.1.3
25 >=media-libs/libpng-1.2.1
26 ssl? ( dev-libs/openssl )"
27 DEPEND="sys-devel/autoconf
28 sys-devel/automake
29 ${RDEPEND}"
30
31 src_unpack() {
32 unpack ${A}
33 cd ${S}
34 epatch ../${DILLO_I18N_P}.diff
35
36 if [ "${DILLO_ICONSET}" = "kde" ]
37 then
38 einfo "Using Konqueror style icon set"
39 cp ${S2}/pixmaps.konq.h ${S}/src/pixmaps.h
40 elif [ "${DILLO_ICONSET}" = "gnome" ]
41 then
42 einfo "Using Ximian style icon set"
43 cp ${S2}/pixmaps.ximian.h ${S}/src/pixmaps.h
44 elif [ "${DILLO_ICONSET}" = "mozilla" ]
45 then
46 einfo "Using Netscape style icon set"
47 cp ${S2}/pixmaps.netscape.h ${S}/src/pixmaps.h
48 elif [ "${DILLO_ICONSET}" = "cobalt" ]
49 then
50 einfo "Using Cobalt style icon set"
51 cp ${S2}/pixmaps.cobalt.h ${S}/src/pixmaps.h
52 elif [ "${DILLO_ICONSET}" = "bold" ]
53 then
54 einfo "Using bold style icon set"
55 cp ${S2}/pixmaps.bold.h ${S}/src/pixmaps.h
56 elif [ "${DILLO_ICONSET}" = "trans" ]
57 then
58 einfo "Using transparent style icon set"
59 cp ${S2}/pixmaps.trans.h ${S}/src/pixmaps.h
60 elif [ "${DILLO_ICONSET}" = "trad" ]
61 then
62 einfo "Using the traditional icon set"
63 cp ${S2}/pixmaps.trad.h ${S}/src/pixmaps.h
64 else
65 einfo "Using default Dillo icon set"
66 fi
67
68 cd ${S}; sh autogen.sh || die
69 }
70
71 src_compile() {
72 replace-flags "-O2 -mcpu=k6" "-O2 -mcpu=pentium"
73
74 local myconf
75
76 myconf="$(use_enable nls)
77 $(use_enable truetype anti-alias)
78 --enable-tabs
79 --enable-meta-refresh"
80
81 myconf="${myconf}
82 $(use_enable ipv6)
83 $(use_enable ssl)"
84
85 econf ${myconf} || die
86 emake || make || die
87 }
88
89 src_install() {
90 dodir /etc /usr/share/icons/${PN}
91 make DESTDIR=${D} install || die
92
93 dosed /etc/dpidrc
94
95 dodoc AUTHORS COPYING ChangeLog* INSTALL README NEWS
96 docinto doc
97 dodoc doc/*.txt doc/README
98
99 cp ${S2}/icons/*.png ${D}/usr/share/icons/${PN}
100 }
101
102 pkg_postinst() {
103 einfo "This ebuild for dillo comes with different toolbar icons"
104 einfo "If you want mozilla style icons then try"
105 einfo " DILLO_ICONSET=\"mozilla\" emerge dillo"
106 einfo
107 einfo "If you prefer konqueror style icons then try"
108 einfo " DILLO_ICONSET=\"kde\" emerge dillo"
109 einfo
110 einfo "If you prefer ximian gnome style icons then try"
111 einfo " DILLO_ICONSET=\"gnome\" emerge dillo"
112 einfo
113 einfo "If you prefer cobalt style icons then try"
114 einfo " DILLO_ICONSET=\"cobalt\" emerge dillo"
115 einfo
116 einfo "If you prefer bold style icons then try"
117 einfo " DILLO_ICONSET=\"bold\" emerge dillo"
118 einfo
119 einfo "If you prefer transparent style icons then try"
120 einfo " DILLO_ICONSET=\"trans\" emerge dillo"
121 einfo
122 einfo "If you prefer the traditional icons then try"
123 einfo " DILLO_ICONSET=\"trad\" emerge dillo"
124 einfo
125 einfo "If the DILLO_ICONSET variable is not set, you will get the"
126 einfo "default iconset"
127 einfo
128 einfo "To see what the icons look like, please point your browser to:"
129 einfo "http://dillo.auriga.wearlab.de/Icons/"
130 einfo
131 }

  ViewVC Help
Powered by ViewVC 1.1.20