|
new file 100644
|
|
|
# Copyright 1999-2010 Gentoo Foundation
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
# $Header: $
|
|
|
|
|
|
EAPI="1"
|
|
|
|
|
|
inherit eutils
|
|
|
|
|
|
MY_PN="BlueGriffon"
|
|
|
|
|
|
DESCRIPTION="The next-generation Web Editor based on the rendering engine of Firefox"
|
|
|
HOMEPAGE="http://www.bluegriffon.org/"
|
|
|
SRC_URI="
|
|
|
x86? ( http://bluegriffon.org/freshmeat/${PV}/${MY_PN}-${PV}-Linux-x86.tar.bz2 )
|
|
|
amd64? ( http://bluegriffon.org/freshmeat/${PV}/${MY_PN}-${PV}-Linux-x86_64.tar.bz2 )
|
|
|
"
|
|
|
LICENSE="GPL-2"
|
|
|
SLOT="0"
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
|
|
RDEPEND="
|
|
|
app-misc/mime-types
|
|
|
x11-libs/libXt
|
|
|
media-libs/libpng
|
|
|
dev-libs/nss
|
|
|
dev-util/desktop-file-utils
|
|
|
x11-misc/shared-mime-info
|
|
|
|
|
|
>=x11-libs/gtk+-2.2:2
|
|
|
"
|
|
|
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
|
S=${WORKDIR}/${MY_PN}
|
|
|
|
|
|
src_install() {
|
|
|
|
|
|
dodir /usr/share/${PN}
|
|
|
cp -r * "${D}usr/share/${PN}" || die
|
|
|
|
|
|
dosym /usr/share/${PN}/${PN} /usr/bin/${PN} || die "dosym failed"
|
|
|
|
|
|
mv chrome/icons/default/default48.png chrome/icons/default/bluegriffon.png
|
|
|
|
|
|
doicon chrome/icons/default/${PN}.png || die "doicon failed"
|
|
|
|
|
|
make_desktop_entry /usr/share/bluegriffon/${PN} ${PN} ${PN} "Developement;Network"
|
|
|
|
|
|
################# bluegriffon requires a libpng12.so.0 (what would be a better solution?)
|
|
|
|
|
|
dosym /usr/lib/libpng.so /usr/share/bluegriffon/libpng12.so.0 || die "dosym failed"
|
|
|
}
|