diff options
author | Ulrich Müller <ulm@gentoo.org> | 2013-02-17 22:34:54 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2013-02-17 22:34:54 +0000 |
commit | 4d1715faaf9239eea89020726a848969f4d9e6ab (patch) | |
tree | 02f2b699ac62ec5417978f362f160f87536ae9c0 /www-client/conkeror | |
parent | version bump #452290 (diff) | |
download | gentoo-2-4d1715faaf9239eea89020726a848969f4d9e6ab.tar.gz gentoo-2-4d1715faaf9239eea89020726a848969f4d9e6ab.tar.bz2 gentoo-2-4d1715faaf9239eea89020726a848969f4d9e6ab.zip |
New snapshot. Fix wrapper script, bug 457820.
(Portage version: 2.1.11.51/cvs/Linux x86_64, signed Manifest commit with key E7BE08CA7DC6EA25)
Diffstat (limited to 'www-client/conkeror')
-rw-r--r-- | www-client/conkeror/ChangeLog | 9 | ||||
-rw-r--r-- | www-client/conkeror/conkeror-1.0_pre20130213.ebuild | 61 | ||||
-rw-r--r-- | www-client/conkeror/files/conkeror-r1.sh | 12 |
3 files changed, 81 insertions, 1 deletions
diff --git a/www-client/conkeror/ChangeLog b/www-client/conkeror/ChangeLog index e1cc18821df1..f98897d869a4 100644 --- a/www-client/conkeror/ChangeLog +++ b/www-client/conkeror/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for www-client/conkeror # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/conkeror/ChangeLog,v 1.33 2013/02/07 22:42:45 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/conkeror/ChangeLog,v 1.34 2013/02/17 22:34:54 ulm Exp $ + +*conkeror-1.0_pre20130213 (17 Feb 2013) + + 17 Feb 2013; Ulrich Müller <ulm@gentoo.org> +files/conkeror-r1.sh, + +conkeror-1.0_pre20130213.ebuild: + New snapshot. Fix wrapper script, thanks to Jauhien Piatlicki + <piatlicki@gmail.com> in bug 457820. 07 Feb 2013; Ulrich Müller <ulm@gentoo.org> conkeror-1.0_pre20120223.ebuild, conkeror-1.0_pre20120527.ebuild: diff --git a/www-client/conkeror/conkeror-1.0_pre20130213.ebuild b/www-client/conkeror/conkeror-1.0_pre20130213.ebuild new file mode 100644 index 000000000000..44ed524db583 --- /dev/null +++ b/www-client/conkeror/conkeror-1.0_pre20130213.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/conkeror/conkeror-1.0_pre20130213.ebuild,v 1.1 2013/02/17 22:34:54 ulm Exp $ + +EAPI=5 + +inherit eutils toolchain-funcs fdo-mime + +DESCRIPTION="A Mozilla-based web browser whose design is inspired by GNU Emacs" +HOMEPAGE="http://conkeror.org/" +# snapshot from http://repo.or.cz/w/conkeror.git +# conkeror.png is derived from http://commons.wikimedia.org/wiki/File:Conker.jpg +SRC_URI="mirror://gentoo/${P}.tar.gz + mirror://gentoo/conkeror.png" + +# CC-BY-SA-3.0 for conkeror.png +LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 ) CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +DEPEND="" +RDEPEND="|| ( >=www-client/firefox-5.0 >=www-client/firefox-bin-5.0 )" + +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${P}.tar.gz + cp "${DISTDIR}/conkeror.png" . || die +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" +} + +src_install() { + insinto /usr/share/${PN} + doins -r branding chrome components content defaults help locale modules \ + search-engines style tests + doins application.ini *.manifest Info.plist + + exeinto /usr/libexec/${PN} + doexe conkeror-spawn-helper + dosym ../../libexec/${PN}/conkeror-spawn-helper \ + /usr/share/${PN}/conkeror-spawn-helper + + newbin "${FILESDIR}/conkeror-r1.sh" conkeror + domenu "${FILESDIR}/conkeror.desktop" + doicon "${WORKDIR}/conkeror.png" + + doman contrib/man/conkeror.1 + dodoc CREDITS +} + +pkg_postinst() { + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} diff --git a/www-client/conkeror/files/conkeror-r1.sh b/www-client/conkeror/files/conkeror-r1.sh new file mode 100644 index 000000000000..e00077b78f1e --- /dev/null +++ b/www-client/conkeror/files/conkeror-r1.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# Wrapper script for conkeror + +for cmd in firefox firefox-bin; do + xr=$(type -p ${cmd}) + if [[ -n ${xr} ]]; then + exec "${xr}" -app /usr/share/conkeror/application.ini "$@" + fi +done + +echo "$0: firefox required, but not found." >&2 +exit 1 |