diff options
author | Emanuele Giaquinta <exg@gentoo.org> | 2006-09-10 23:08:04 +0000 |
---|---|---|
committer | Emanuele Giaquinta <exg@gentoo.org> | 2006-09-10 23:08:04 +0000 |
commit | 75b240e4c0faa6ea63dc50a72c07225a4d4f61ba (patch) | |
tree | a51e26fedf5991a09789a5d98ef78970954dffff /www-client/dillo/dillo-0.8.6.ebuild | |
parent | Keyworded ~ia64 (diff) | |
download | gentoo-2-75b240e4c0faa6ea63dc50a72c07225a4d4f61ba.tar.gz gentoo-2-75b240e4c0faa6ea63dc50a72c07225a4d4f61ba.tar.bz2 gentoo-2-75b240e4c0faa6ea63dc50a72c07225a4d4f61ba.zip |
Version bump, bug #145979. Add patch to fix linking with --as-needed by
drizzt@gufi.org, bug #144130. Security cleanup, bug #140556.
(Portage version: 2.1.1)
Diffstat (limited to 'www-client/dillo/dillo-0.8.6.ebuild')
-rw-r--r-- | www-client/dillo/dillo-0.8.6.ebuild | 135 |
1 files changed, 135 insertions, 0 deletions
diff --git a/www-client/dillo/dillo-0.8.6.ebuild b/www-client/dillo/dillo-0.8.6.ebuild new file mode 100644 index 000000000000..242d5c28938f --- /dev/null +++ b/www-client/dillo/dillo-0.8.6.ebuild @@ -0,0 +1,135 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/dillo/dillo-0.8.6.ebuild,v 1.1 2006/09/10 23:08:04 exg Exp $ + +inherit flag-o-matic eutils + +S2=${WORKDIR}/dillo-gentoo-extras-patch4 +DILLO_I18N_P="${P}-i18n-misc-20060625" + +DESCRIPTION="Lean GTK+-based web browser" +HOMEPAGE="http://www.dillo.org/" +SRC_URI="http://www.dillo.org/download/${P}.tar.bz2 + mirror://gentoo/dillo-gentoo-extras-patch4.tar.bz2 + http://teki.jpn.ph/pc/software/${DILLO_I18N_P}.diff.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" +MISC_IUSE="nls truetype" +IUSE="${MISC_IUSE} ipv6 ssl" + +RDEPEND="=x11-libs/gtk+-1.2* + >=media-libs/jpeg-6b + >=sys-libs/zlib-1.1.3 + >=media-libs/libpng-1.2.1 + ssl? ( dev-libs/openssl )" +DEPEND="sys-devel/autoconf + sys-devel/automake + ${RDEPEND}" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ../${DILLO_I18N_P}.diff || die + epatch "${FILESDIR}"/${PN}-asneeded.patch + sh autogen.sh || die + + if [ "${DILLO_ICONSET}" = "kde" ] + then + einfo "Using Konqueror style icon set" + cp ${S2}/pixmaps.konq.h ${S}/src/pixmaps.h + elif [ "${DILLO_ICONSET}" = "gnome" ] + then + einfo "Using Ximian style icon set" + cp ${S2}/pixmaps.ximian.h ${S}/src/pixmaps.h + elif [ "${DILLO_ICONSET}" = "mozilla" ] + then + einfo "Using Netscape style icon set" + cp ${S2}/pixmaps.netscape.h ${S}/src/pixmaps.h + elif [ "${DILLO_ICONSET}" = "cobalt" ] + then + einfo "Using Cobalt style icon set" + cp ${S2}/pixmaps.cobalt.h ${S}/src/pixmaps.h + elif [ "${DILLO_ICONSET}" = "bold" ] + then + einfo "Using bold style icon set" + cp ${S2}/pixmaps.bold.h ${S}/src/pixmaps.h + elif [ "${DILLO_ICONSET}" = "trans" ] + then + einfo "Using transparent style icon set" + cp ${S2}/pixmaps.trans.h ${S}/src/pixmaps.h + elif [ "${DILLO_ICONSET}" = "trad" ] + then + einfo "Using the traditional icon set" + cp ${S2}/pixmaps.trad.h ${S}/src/pixmaps.h + else + einfo "Using default Dillo icon set" + fi +} + +src_compile() { + replace-flags "-O2 -mcpu=k6" "-O2 -mcpu=pentium" + append-flags "-O" + + local myconf + + # misc features + myconf="$(use_enable nls) + $(use_enable truetype anti-alias) + --disable-gtktest + --disable-dlgui + --enable-tabs + --enable-meta-refresh" + + myconf="${myconf} + $(use_enable ipv6) + $(use_enable ssl)" + + econf ${myconf} || die + emake -j1 || die +} + +src_install() { + dodir /etc /usr/share/icons/${PN} + make DESTDIR=${D} install || die + + dosed /etc/dpidrc + + dodoc AUTHORS COPYING ChangeLog* INSTALL README NEWS + docinto doc + dodoc doc/*.txt doc/README + + cp ${S2}/icons/*.png ${D}/usr/share/icons/${PN} +} + +pkg_postinst() { + einfo "This ebuild for dillo comes with different toolbar icons" + einfo "If you want mozilla style icons then try" + einfo " DILLO_ICONSET=\"mozilla\" emerge dillo" + einfo + einfo "If you prefer konqueror style icons then try" + einfo " DILLO_ICONSET=\"kde\" emerge dillo" + einfo + einfo "If you prefer ximian gnome style icons then try" + einfo " DILLO_ICONSET=\"gnome\" emerge dillo" + einfo + einfo "If you prefer cobalt style icons then try" + einfo " DILLO_ICONSET=\"cobalt\" emerge dillo" + einfo + einfo "If you prefer bold style icons then try" + einfo " DILLO_ICONSET=\"bold\" emerge dillo" + einfo + einfo "If you prefer transparent style icons then try" + einfo " DILLO_ICONSET=\"trans\" emerge dillo" + einfo + einfo "If you prefer the traditional icons then try" + einfo " DILLO_ICONSET=\"trad\" emerge dillo" + einfo + einfo "If the DILLO_ICONSET variable is not set, you will get the" + einfo "default iconset" + einfo + einfo "To see what the icons look like, please point your browser to:" + einfo "http://dillo.auriga.wearlab.de/Icons/" + einfo +} |