From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 767CA1382C5 for ; Tue, 6 Apr 2021 20:15:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5E31E0935; Tue, 6 Apr 2021 20:15:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EA949E0935 for ; Tue, 6 Apr 2021 20:15:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EFF5A335C47 for ; Tue, 6 Apr 2021 20:15:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8FCDF634 for ; Tue, 6 Apr 2021 20:15:19 +0000 (UTC) From: "Marco Scardovi" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marco Scardovi" Message-ID: <1617740047.9ff75e9f2b2aca32f2b18c109d5fa4a9e084e57d.marco@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-editors/atom/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-editors/atom/atom-1.55.0-r1.ebuild X-VCS-Directories: app-editors/atom/ X-VCS-Committer: marco X-VCS-Committer-Name: Marco Scardovi X-VCS-Revision: 9ff75e9f2b2aca32f2b18c109d5fa4a9e084e57d X-VCS-Branch: dev Date: Tue, 6 Apr 2021 20:15:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e27130d0-8edd-4449-a348-4906a8c283a8 X-Archives-Hash: 12fc9e08a43d9326ea4d6a6e2deefdd0 commit: 9ff75e9f2b2aca32f2b18c109d5fa4a9e084e57d Author: Marco Scardovi scardovi com> AuthorDate: Tue Apr 6 16:55:09 2021 +0000 Commit: Marco Scardovi scardovi com> CommitDate: Tue Apr 6 20:14:07 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9ff75e9f app-editors/atom: various fixes Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> app-editors/atom/atom-1.55.0-r1.ebuild | 72 ++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/app-editors/atom/atom-1.55.0-r1.ebuild b/app-editors/atom/atom-1.55.0-r1.ebuild new file mode 100644 index 000000000..9a12627b1 --- /dev/null +++ b/app-editors/atom/atom-1.55.0-r1.ebuild @@ -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 +}