Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
Bump app-editors/atom-bin to 1.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aegypius committed Apr 13, 2017
1 parent c30c3a2 commit f8a9229
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app-editors/atom-bin/Manifest
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
DIST atom-1.15.0.deb 86175884 SHA256 9d3e31c5d4ce4f442f589a2221467092e52ebf7897247bfa42a29254d302e970 SHA512 ac115d5c9683974a8544ed0d217d5f7ce15bdedb635e8c4053e628702137b4143c6609d28f83c49fd0b583a112cf690046b937df203f9322d78faac7258d834f WHIRLPOOL 732c8ffea081622c21f13f5cb10eb3b880388b17f63028e8a91631b1efee43320270781cbd82933fdd058858c3bbb420f808f29ed15647ea084ac91503bcc457
DIST atom-1.16.0.deb 89883094 SHA256 0d6af2aa600ea7ef8d2a026d60bd55bbf3a88c1a4795edca3ffd4432be831f83 SHA512 94eb66f88decf12fcc9c1072918a47e8130e885b6c28c21628aea26f9e2308019d64d5152b9415502a407849b8e7e242b8150b7a21634d8262017b4695b9518b WHIRLPOOL 4f05c71938b244e6afea1fae33e6409187d01ab9091bfdae1cd5a536c46a355c8b10c3bfedb809dd99d6a3cc4ba31c3894609ccb112f8ed843f07d09822aae92
EBUILD atom-bin-1.15.0.ebuild 1984 SHA256 ddfceb3c793b6b8030f5003233b8ef5e50f388c3c4fc260514e3d994ca92a988 SHA512 479e8daa2ee3a20e2d665646301de3f29337069f4a15be5e55406f65a88bc2aa7bfe0471a7b30b5535e1ecc87e5cb309f6fce1dfb26af8c536076037022120ce WHIRLPOOL f272377bebcb95ffe4e7c02c394ece26d6f1c822f2b43b2b39d240330ad012041c4d39fbb303d3fddf3c948ac04cdbc33da61a64acaaa09a4ca8f42bbb11a67c
EBUILD atom-bin-1.16.0.ebuild 1984 SHA256 ddfceb3c793b6b8030f5003233b8ef5e50f388c3c4fc260514e3d994ca92a988 SHA512 479e8daa2ee3a20e2d665646301de3f29337069f4a15be5e55406f65a88bc2aa7bfe0471a7b30b5535e1ecc87e5cb309f6fce1dfb26af8c536076037022120ce WHIRLPOOL f272377bebcb95ffe4e7c02c394ece26d6f1c822f2b43b2b39d240330ad012041c4d39fbb303d3fddf3c948ac04cdbc33da61a64acaaa09a4ca8f42bbb11a67c
MISC metadata.xml 243 SHA256 b6381a44a7c43a07c4b83b9490a45c2bfe794d35cc4d0eca1d6bb0a181528ddb SHA512 1c1bf5dcc7d6bc47f08ff95ca28d72b8ceb5119e57bc75337cd0201400c4acee90043bc79afb3497793215902d4bb807c209d32c3265f2afcd7c2d5e1945c5c4 WHIRLPOOL d7f6a9d08389e2525e6c15e7722dec785d0c8c8f936c4a9033c86953bca3409df5d1326220a9c0d3b1b81f66724860c8a6a3bc854e79cb29fd19318c69e5627b
87 changes: 87 additions & 0 deletions app-editors/atom-bin/atom-bin-1.16.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

PYTHON_COMPAT=( python2_7 )
inherit flag-o-matic python-any-r1 eutils unpacker

DESCRIPTION="A hackable text editor for the 21st Century."
HOMEPAGE="https://atom.io"
SRC_URI="https://github.com/atom/atom/releases/download/v${PV}/atom-amd64.deb -> atom-${PV}.deb"

RESTRICT="primaryuri"

KEYWORDS="~amd64"
SLOT="0"
LICENSE="MIT"

IUSE=""

MY_PN="atom"

DEPEND="
${PYTHON_DEPS}
media-fonts/inconsolata
!!dev-util/atom-shell
!app-editors/atom
"
RDEPEND="${DEPEND}
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
"

QA_PRESTRIPPED="
/usr/share/atom/atom
/usr/share/atom/chromedriver/chromedriver
/usr/share/atom/libffmpegsumo.so
/usr/share/atom/libnotify.so.4
/usr/share/atom/libchromiumcontent.so
/usr/share/atom/libgcrypt.so.11
/usr/share/atom/resources/app.asar.unpacked/node_modules/symbols-view/vendor/ctags-linux
"

pkg_setup() {
python-any-r1_pkg_setup
}

src_unpack() {
unpacker_src_unpack
mkdir -p "${S}"
mv "${WORKDIR}/usr" "${S}"
}

src_prepare() {
rm -r "${S}/usr/share/applications"
}

src_install() {

into /
insinto /

doins -r .

# Fixes permissions
fperms +x /usr/bin/atom
fperms +x /usr/share/${MY_PN}/${MY_PN}
fperms +x /usr/share/${MY_PN}/resources/app/atom.sh
fperms +x /usr/share/${MY_PN}/resources/app/apm/bin/apm
fperms +x /usr/share/${MY_PN}/resources/app/apm/bin/node
fperms +x /usr/share/${MY_PN}/resources/app/apm/node_modules/npm/bin/node-gyp-bin/node-gyp
fperms +x /usr/share/${MY_PN}/resources/app.asar.unpacked/node_modules/symbols-view/vendor/ctags-linux

make_desktop_entry "/usr/bin/atom %U" "Atom" "atom" \
"GNOME;GTK;Utility;TextEditor;Development;" \
"GenericName=Text Editor\nMimeType=text/plain;\nStartupNotify=true\nStartupWMClass=Atom"
}

0 comments on commit f8a9229

Please sign in to comment.