From 9a1285572aeee67cb00062d6c3abb879758df40e Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Fri, 12 Jun 2015 18:22:56 +0200 Subject: [PATCH] updated ebuilds from emcek --- .../atom-shell/atom-shell-0.22.3-r1.ebuild | 116 +++++++++++++++++ .../atom-shell/atom-shell-0.22.3-r2.ebuild | 118 ++++++++++++++++++ dev-util/atom-shell/atom-shell-0.23.0.ebuild | 3 +- 3 files changed, 236 insertions(+), 1 deletion(-) create mode 100644 dev-util/atom-shell/atom-shell-0.22.3-r1.ebuild create mode 100644 dev-util/atom-shell/atom-shell-0.22.3-r2.ebuild diff --git a/dev-util/atom-shell/atom-shell-0.22.3-r1.ebuild b/dev-util/atom-shell/atom-shell-0.22.3-r1.ebuild new file mode 100644 index 0000000..0a9cf45 --- /dev/null +++ b/dev-util/atom-shell/atom-shell-0.22.3-r1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2015 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/22" + +if [[ ${PV} == *9999 ]];then + KEYWORDS="" +else + KEYWORDS="~amd64" + EGIT_COMMIT="v${PV}" +fi + +IUSE="debug" + +DEPEND=" + ${PYTHON_DEPS} + sys-devel/llvm:0/3.5[clang] + dev-lang/python:2.7 + || ( net-libs/nodejs[npm] net-libs/iojs[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 + dev-util/ninja +" +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 + doins natives_blob.bin + doins snapshot_blob.bin + +} diff --git a/dev-util/atom-shell/atom-shell-0.22.3-r2.ebuild b/dev-util/atom-shell/atom-shell-0.22.3-r2.ebuild new file mode 100644 index 0000000..84c8e4b --- /dev/null +++ b/dev-util/atom-shell/atom-shell-0.22.3-r2.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2015 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/22" + +if [[ ${PV} == *9999 ]];then + KEYWORDS="" +else + KEYWORDS="~amd64" + EGIT_COMMIT="v${PV}" +fi + +IUSE="debug" + +DEPEND=" + ${PYTHON_DEPS} + >=sys-devel/llvm-3.5.0[clang] + dev-lang/python:2.7 + || ( net-libs/nodejs[npm] net-libs/iojs[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 + dev-util/ninja +" + +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 + doins natives_blob.bin + doins snapshot_blob.bin +} diff --git a/dev-util/atom-shell/atom-shell-0.23.0.ebuild b/dev-util/atom-shell/atom-shell-0.23.0.ebuild index fe8507a..9457078 100644 --- a/dev-util/atom-shell/atom-shell-0.23.0.ebuild +++ b/dev-util/atom-shell/atom-shell-0.23.0.ebuild @@ -68,7 +68,8 @@ src_prepare() { einfo "Bootstrap atom-shell source" # Fix util.execute function to be more verbose - sed -i -e 's/def execute(argv):/def execute(argv):\n print " - bootstrap: " + " ".join(argv)/g' \ + sed -i -e 's/def execute(argv):/def execute(argv):\n print " - bootstrap: " + " +".join(argv)/g' \ ./script/lib/util.py \ || die "Failed to sed lib/util.py"