mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 23:52:59 -04:00
app-editors/atom: various fixes
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Marco Scardovi <marco@scardovi.com>
This commit is contained in:
72
app-editors/atom/atom-1.55.0-r1.ebuild
Normal file
72
app-editors/atom/atom-1.55.0-r1.ebuild
Normal file
@@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop xdg
|
||||
|
||||
DESCRIPTION="A hackable text editor for the 21st Century"
|
||||
HOMEPAGE="https://atom.io/"
|
||||
SRC_URI="https://github.com/atom/atom/releases/download/v1.55.0/${PN}-amd64.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="alsa cups ssl test X"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
S="${WORKDIR}/${P}-amd64"
|
||||
|
||||
RDEPEND="
|
||||
app-accessibility/at-spi2-atk
|
||||
app-accessibility/at-spi2-core
|
||||
app-crypt/libsecret
|
||||
dev-libs/atk
|
||||
dev-libs/nss
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cups? ( net-print/cups )
|
||||
ssl? ( dev-libs/openssl )
|
||||
X? (
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/gtk+
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXi
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXtst
|
||||
x11-libs/pango
|
||||
)
|
||||
"
|
||||
|
||||
QA_PREBUILT="/opt/atom/*"
|
||||
|
||||
src_prepare(){
|
||||
default
|
||||
|
||||
# Remove useless license files.
|
||||
rm LICENSE LICENSES.chromium.html version
|
||||
}
|
||||
|
||||
src_install(){
|
||||
insinto /opt/"${PN}"
|
||||
doins -r "${S}"/*
|
||||
dosym ../../opt/"${PN}"/atom "${EPREFIX}"/usr/bin/atom
|
||||
fperms +x /opt/"${PN}"/atom
|
||||
dosym ../../opt/"${PN}"/resources/app/apm/bin/apm "${EPREFIX}"/usr/bin/apm
|
||||
fperms +x /opt/"${PN}"/resources/app/apm/bin/apm
|
||||
dosym ../../opt/"${PN}"/resources/app/apm/bin/node "${EPREFIX}"/usr/bin/node
|
||||
fperms +x /opt/"${PN}"/resources/app/apm/bin/node
|
||||
dosym ../../opt/"${PN}"/resources/app/apm/bin/npm "${EPREFIX}"/usr/bin/npm
|
||||
fperms +x /opt/"${PN}"/resources/app/apm/bin/npm
|
||||
make_desktop_entry /opt/atom/atom Atom atom Utility
|
||||
doicon atom.png
|
||||
}
|
||||
Reference in New Issue
Block a user