# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=5 PYTHON_COMPAT=( python2_7 ) inherit git-r3 flag-o-matic python-any-r1 DESCRIPTION="Cross-platform desktop application shell" HOMEPAGE="https://github.com/atom/atom-shell" SRC_URI="" EGIT_REPO_URI="git://github.com/atom/atom-shell" LICENSE="MIT" SLOT="0" if [[ ${PV} == *9999 ]];then KEYWORDS="" else KEYWORDS="~amd64" EGIT_COMMIT="v${PV}" fi IUSE="debug" DEPEND=" ${PYTHON_DEPS} sys-devel/llvm[clang] dev-lang/python:2.7 >=net-libs/nodejs-0.10.30[npm] x11-libs/gtk+:2 x11-libs/libnotify gnome-base/libgnome-keyring dev-libs/nss dev-libs/nspr gnome-base/gconf media-libs/alsa-lib net-print/cups sys-libs/libcap x11-libs/libXtst x11-libs/pango " RDEPEND="${DEPEND} ! "${OUT}/version" cp LICENSE "$OUT" } src_install() { into /usr/share/atom insinto /usr/share/atom exeinto /usr/share/atom cd "${OUT}" doexe atom libchromiumcontent.so libffmpegsumo.so doins -r resources doins -r locales doins version doins LICENSE doins icudtl.dat doins content_shell.pak }