Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 155220
Collapse All | Expand All

(-)/usr/portage/www-client/dillo/dillo-0.8.6.ebuild (-45 / +41 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/www-client/dillo/dillo-0.8.6.ebuild,v 1.2 2006/10/01 21:24:07 exg Exp $
3
# $Header: /var/cvsroot/gentoo-x86/www-client/dillo/dillo-0.8.6.ebuild,v 1.2 2006/10/01 21:24:07 exg Exp $
4
4
5
inherit flag-o-matic eutils
5
inherit flag-o-matic eutils autotools
6
6
7
S2=${WORKDIR}/dillo-gentoo-extras-patch4
7
S2=${WORKDIR}/dillo-gentoo-extras-patch4
8
DILLO_I18N_P="${P}-i18n-misc-20060625"
8
DILLO_I18N_P="${P}-i18n-misc-20060625"
Lines 19-40 Link Here
19
MISC_IUSE="nls truetype"
19
MISC_IUSE="nls truetype"
20
IUSE="${MISC_IUSE} ipv6 ssl"
20
IUSE="${MISC_IUSE} ipv6 ssl"
21
21
22
RDEPEND="=x11-libs/gtk+-1.2*
22
DEPEND="=x11-libs/gtk+-1.2*
23
	>=media-libs/jpeg-6b
23
	>=media-libs/jpeg-6b
24
	>=sys-libs/zlib-1.1.3
24
	>=sys-libs/zlib-1.1.3
25
	>=media-libs/libpng-1.2.1
25
	>=media-libs/libpng-1.2.1
26
	ssl? ( dev-libs/openssl )"
26
	ssl? ( dev-libs/openssl )"
27
DEPEND="sys-devel/autoconf
28
	sys-devel/automake
29
	${RDEPEND}"
30
27
31
src_unpack() {
28
src_unpack() {
32
	unpack ${A}
29
	unpack ${A}
33
	cd ${S}
30
	cd "${S}"
34
	epatch ../${DILLO_I18N_P}.diff || die
31
	epatch ../${DILLO_I18N_P}.diff || die
35
	epatch "${FILESDIR}"/${PN}-build-fix.patch
32
	epatch "${FILESDIR}"/${PN}-build-fix.patch
36
	epatch "${FILESDIR}"/${PN}-asneeded.patch
33
	epatch "${FILESDIR}"/${PN}-asneeded.patch
37
	sh autogen.sh || die
34
	AT_M4DIR="${S}/m4" eautoreconf
38
35
39
	if [ "${DILLO_ICONSET}" = "kde" ]
36
	if [ "${DILLO_ICONSET}" = "kde" ]
40
	then
37
	then
Lines 70-77 Link Here
70
}
67
}
71
68
72
src_compile() {
69
src_compile() {
73
	replace-flags "-O2 -mcpu=k6" "-O2 -mcpu=pentium"
70
	replace-cpu-flags k6 pentium
74
	append-flags "-O"
71
	is-flag -O? || append-flags "-O2"
75
72
76
	local myconf
73
	local myconf
77
74
Lines 87-136 Link Here
87
		$(use_enable ipv6)
84
		$(use_enable ipv6)
88
		$(use_enable ssl)"
85
		$(use_enable ssl)"
89
86
90
	econf ${myconf} || die
87
	econf ${myconf}
91
	emake -j1 || die
88
	emake -j1 || die "emake failed"
92
}
89
}
93
90
94
src_install() {
91
src_install() {
95
	dodir /etc  /usr/share/icons/${PN}
92
	dodir /etc
96
	make DESTDIR=${D} install || die
93
	dodir /usr/share/icons/${PN}
94
	emake DESTDIR="${D}" install || die "install failed"
97
95
98
	dosed /etc/dpidrc
96
	dodoc AUTHORS ChangeLog* README NEWS
99
100
	dodoc AUTHORS COPYING ChangeLog* INSTALL README NEWS
101
	docinto doc
97
	docinto doc
102
	dodoc doc/*.txt doc/README
98
	dodoc doc/*.txt doc/README
103
99
104
	cp ${S2}/icons/*.png ${D}/usr/share/icons/${PN}
100
	cp ${S2}/icons/*.png "${D}"/usr/share/icons/${PN}
105
}
101
}
106
102
107
pkg_postinst() {
103
pkg_postinst() {
108
	einfo "This ebuild for dillo comes with different toolbar icons"
104
	elog "This ebuild for dillo comes with different toolbar icons"
109
	einfo "If you want mozilla style icons then try"
105
	elog "If you want mozilla style icons then try"
110
	einfo "	DILLO_ICONSET=\"mozilla\" emerge dillo"
106
	elog "	DILLO_ICONSET=\"mozilla\" emerge dillo"
111
	einfo
107
	elog
112
	einfo "If you prefer konqueror style icons then try"
108
	elog "If you prefer konqueror style icons then try"
113
	einfo "	DILLO_ICONSET=\"kde\" emerge dillo"
109
	elog "	DILLO_ICONSET=\"kde\" emerge dillo"
114
	einfo
110
	elog
115
	einfo "If you prefer ximian gnome style icons then try"
111
	elog "If you prefer ximian gnome style icons then try"
116
	einfo "	DILLO_ICONSET=\"gnome\" emerge dillo"
112
	elog "	DILLO_ICONSET=\"gnome\" emerge dillo"
117
	einfo
113
	elog
118
	einfo "If you prefer cobalt style icons then try"
114
	elog "If you prefer cobalt style icons then try"
119
	einfo "	DILLO_ICONSET=\"cobalt\" emerge dillo"
115
	elog "	DILLO_ICONSET=\"cobalt\" emerge dillo"
120
	einfo
116
	elog
121
	einfo "If you prefer bold style icons then try"
117
	elog "If you prefer bold style icons then try"
122
	einfo "	DILLO_ICONSET=\"bold\" emerge dillo"
118
	elog "	DILLO_ICONSET=\"bold\" emerge dillo"
123
	einfo
119
	elog
124
	einfo "If you prefer transparent style icons then try"
120
	elog "If you prefer transparent style icons then try"
125
	einfo "	DILLO_ICONSET=\"trans\" emerge dillo"
121
	elog "	DILLO_ICONSET=\"trans\" emerge dillo"
126
	einfo
122
	elog
127
	einfo "If you prefer the traditional icons then try"
123
	elog "If you prefer the traditional icons then try"
128
	einfo "	DILLO_ICONSET=\"trad\" emerge dillo"
124
	elog "	DILLO_ICONSET=\"trad\" emerge dillo"
129
	einfo
125
	elog
130
	einfo "If the DILLO_ICONSET variable is not set, you will get the"
126
	elog "If the DILLO_ICONSET variable is not set, you will get the"
131
	einfo "default iconset"
127
	elog "default iconset"
132
	einfo
128
	elog
133
	einfo "To see what the icons look like, please point your browser to:"
129
	elog "To see what the icons look like, please point your browser to:"
134
	einfo "http://dillo.auriga.wearlab.de/Icons/"
130
	elog "http://dillo.auriga.wearlab.de/Icons/"
135
	einfo
131
	elog
136
}
132
}

Return to bug 155220