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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Dec 26 04:36:08 2004 UTC (14 years, 9 months ago) by usata
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Removed old ebuilds and marked 0.8.3-r3 stable on x86, ppc and alpha.

1 # Copyright 1999-2004 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-r1.ebuild,v 1.1 2004/11/17 17:11:12 usata Exp $
4
5 inherit flag-o-matic eutils
6
7 S2=${WORKDIR}/dillo-gentoo-extras-patch4
8 DILLO_I18N_P="${P}-i18n-misc-20041118"
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"
19 MISC_IUSE="nls truetype"
20 IUSE="${MISC_IUSE} ipv6 ssl"
21
22 DEPEND="=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
28 src_unpack() {
29 unpack ${A}
30 cd ${S}
31 epatch ../${DILLO_I18N_P}.diff
32
33 if [ "${DILLO_ICONSET}" = "kde" ]
34 then
35 einfo "Using Konqueror style icon set"
36 cp ${S2}/pixmaps.konq.h ${S}/src/pixmaps.h
37 elif [ "${DILLO_ICONSET}" = "gnome" ]
38 then
39 einfo "Using Ximian style icon set"
40 cp ${S2}/pixmaps.ximian.h ${S}/src/pixmaps.h
41 elif [ "${DILLO_ICONSET}" = "mozilla" ]
42 then
43 einfo "Using Netscape style icon set"
44 cp ${S2}/pixmaps.netscape.h ${S}/src/pixmaps.h
45 elif [ "${DILLO_ICONSET}" = "cobalt" ]
46 then
47 einfo "Using Cobalt style icon set"
48 cp ${S2}/pixmaps.cobalt.h ${S}/src/pixmaps.h
49 elif [ "${DILLO_ICONSET}" = "bold" ]
50 then
51 einfo "Using bold style icon set"
52 cp ${S2}/pixmaps.bold.h ${S}/src/pixmaps.h
53 elif [ "${DILLO_ICONSET}" = "trans" ]
54 then
55 einfo "Using transparent style icon set"
56 cp ${S2}/pixmaps.trans.h ${S}/src/pixmaps.h
57 elif [ "${DILLO_ICONSET}" = "trad" ]
58 then
59 einfo "Using the traditional icon set"
60 cp ${S2}/pixmaps.trad.h ${S}/src/pixmaps.h
61 else
62 einfo "Using default Dillo icon set"
63 fi
64 }
65
66 src_compile() {
67 replace-flags "-O2 -mcpu=k6" "-O2 -mcpu=pentium"
68
69 local myconf
70
71 myconf="$(use_enable nls)
72 $(use_enable truetype anti-alias)
73 --enable-tabs
74 --enable-meta-refresh"
75
76 myconf="${myconf}
77 $(use_enable ipv6)
78 $(use_enable ssl)"
79
80 econf ${myconf} || die
81 emake || make || die
82 }
83
84 src_install() {
85 dodir /etc /usr/share/icons/${PN}
86 make DESTDIR=${D} install || die
87
88 dosed /etc/dpidrc
89
90 dodoc AUTHORS COPYING ChangeLog* INSTALL README NEWS
91 docinto doc
92 dodoc doc/*.txt doc/README
93
94 cp ${S2}/icons/*.png ${D}/usr/share/icons/${PN}
95 }
96
97 pkg_postinst() {
98 einfo "This ebuild for dillo comes with different toolbar icons"
99 einfo "If you want mozilla style icons then try"
100 einfo " DILLO_ICONSET=\"mozilla\" emerge dillo"
101 einfo
102 einfo "If you prefer konqueror style icons then try"
103 einfo " DILLO_ICONSET=\"kde\" emerge dillo"
104 einfo
105 einfo "If you prefer ximian gnome style icons then try"
106 einfo " DILLO_ICONSET=\"gnome\" emerge dillo"
107 einfo
108 einfo "If you prefer cobalt style icons then try"
109 einfo " DILLO_ICONSET=\"cobalt\" emerge dillo"
110 einfo
111 einfo "If you prefer bold style icons then try"
112 einfo " DILLO_ICONSET=\"bold\" emerge dillo"
113 einfo
114 einfo "If you prefer transparent style icons then try"
115 einfo " DILLO_ICONSET=\"trans\" emerge dillo"
116 einfo
117 einfo "If you prefer the traditional icons then try"
118 einfo " DILLO_ICONSET=\"trad\" emerge dillo"
119 einfo
120 einfo "If the DILLO_ICONSET variable is not set, you will get the"
121 einfo "default iconset"
122 einfo
123 einfo "To see what the icons look like, please point your browser to:"
124 einfo "http://dillo.auriga.wearlab.de/Icons/"
125 einfo
126 }

  ViewVC Help
Powered by ViewVC 1.1.20