mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 05:23:01 -04:00
app-editors/atom-bin: makes everything mandatory
Closes: https://bugs.gentoo.org/783186 Closes: https://bugs.gentoo.org/783183 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Marco Scardovi <marco@scardovi.com>
This commit is contained in:
@@ -12,9 +12,7 @@ SRC_URI="https://github.com/atom/atom/releases/download/v${PV}/atom-amd64.tar.gz
|
|||||||
LICENSE="MIT"
|
LICENSE="MIT"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
|
RESTRICT="test"
|
||||||
IUSE="alsa cups ssl test X"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
S="${WORKDIR}/atom-${PV}-amd64"
|
S="${WORKDIR}/atom-${PV}-amd64"
|
||||||
|
|
||||||
@@ -24,33 +22,29 @@ RDEPEND="
|
|||||||
app-crypt/libsecret
|
app-crypt/libsecret
|
||||||
dev-libs/atk
|
dev-libs/atk
|
||||||
dev-libs/nss
|
dev-libs/nss
|
||||||
|
dev-libs/openssl
|
||||||
|
dev-libs/openssl-compat
|
||||||
dev-vcs/git
|
dev-vcs/git
|
||||||
alsa? ( media-libs/alsa-lib )
|
media-libs/alsa-lib
|
||||||
cups? ( net-print/cups )
|
net-print/cups
|
||||||
ssl? (
|
x11-libs/cairo
|
||||||
dev-libs/openssl
|
x11-libs/gdk-pixbuf
|
||||||
dev-libs/openssl-compat
|
x11-libs/gtk+
|
||||||
)
|
x11-libs/libnotify
|
||||||
X? (
|
x11-libs/libX11
|
||||||
x11-libs/cairo
|
x11-libs/libxcb
|
||||||
x11-libs/gdk-pixbuf
|
x11-libs/libXcomposite
|
||||||
x11-libs/gtk+
|
x11-libs/libXcursor
|
||||||
x11-libs/libnotify
|
x11-libs/libXdamage
|
||||||
x11-libs/libX11
|
x11-libs/libXext
|
||||||
x11-libs/libxcb
|
x11-libs/libXfixes
|
||||||
x11-libs/libXcomposite
|
x11-libs/libXi
|
||||||
x11-libs/libXcursor
|
x11-libs/libxkbfile
|
||||||
x11-libs/libXdamage
|
x11-libs/libXrandr
|
||||||
x11-libs/libXext
|
x11-libs/libXrender
|
||||||
x11-libs/libXfixes
|
x11-libs/libXScrnSaver
|
||||||
x11-libs/libXi
|
x11-libs/libXtst
|
||||||
x11-libs/libxkbfile
|
x11-libs/pango
|
||||||
x11-libs/libXrandr
|
|
||||||
x11-libs/libXrender
|
|
||||||
x11-libs/libXScrnSaver
|
|
||||||
x11-libs/libXtst
|
|
||||||
x11-libs/pango
|
|
||||||
)
|
|
||||||
"
|
"
|
||||||
|
|
||||||
QA_PREBUILT="/opt/${PN}/*"
|
QA_PREBUILT="/opt/${PN}/*"
|
||||||
@@ -70,9 +64,7 @@ src_install(){
|
|||||||
|
|
||||||
# I will use only npm provided with package itself
|
# I will use only npm provided with package itself
|
||||||
# as nodejs is not required to make it working (and it is really big).
|
# as nodejs is not required to make it working (and it is really big).
|
||||||
fperms +x /opt/"${PN}"/resources/app/apm/bin/apm
|
fperms +x /opt/"${PN}"/resources/app/apm/bin/*
|
||||||
fperms +x /opt/"${PN}"/resources/app/apm/bin/node
|
|
||||||
fperms +x /opt/"${PN}"/resources/app/apm/bin/npm
|
|
||||||
|
|
||||||
doicon atom.png
|
doicon atom.png
|
||||||
make_desktop_entry "/opt/atom-bin/atom %U" "Atom" "atom" \
|
make_desktop_entry "/opt/atom-bin/atom %U" "Atom" "atom" \
|
||||||
@@ -85,6 +77,7 @@ src_install(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst(){
|
pkg_postinst(){
|
||||||
|
xdg_desktop_database_update
|
||||||
optfeature_header "If you want to use atom-beautify please install following packages:"
|
optfeature_header "If you want to use atom-beautify please install following packages:"
|
||||||
optfeature "python code beautifier" dev-python/autopep8
|
optfeature "python code beautifier" dev-python/autopep8
|
||||||
optfeature "python code beautifier" dev-python/black
|
optfeature "python code beautifier" dev-python/black
|
||||||
Reference in New Issue
Block a user