From bdf0e77a544b5ab0e6d5e43616a8ecbb821b4823 Mon Sep 17 00:00:00 2001 From: João Santos Date: Sat, 2 Feb 2019 19:18:22 +0000 Subject: dev-util/eclipse-cpp-bin: version bump to 4.10.0 Signed-off-by: Joao Carreira Package-Manager: Portage-2.3.59, Repoman-2.3.12 --- dev-util/eclipse-cpp-bin/Manifest | 1 + .../eclipse-cpp-bin/eclipse-cpp-bin-4.10.0.ebuild | 53 ++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 dev-util/eclipse-cpp-bin/eclipse-cpp-bin-4.10.0.ebuild diff --git a/dev-util/eclipse-cpp-bin/Manifest b/dev-util/eclipse-cpp-bin/Manifest index e059584..dade190 100644 --- a/dev-util/eclipse-cpp-bin/Manifest +++ b/dev-util/eclipse-cpp-bin/Manifest @@ -1,2 +1,3 @@ +DIST eclipse-cpp-bin-4.10.0-x86_64.tar.gz 241432203 SHA256 ec936dcba42a4b4affe0d6deb8dbc62d68ea3cc4c6fcf0eb534b45ca1c990bbf SHA512 a7fff7774d7d95a5469de07d5bb59e3bc272136cdd6226c04aa8c24a56dabde9de0bcbe050d25d9b91acca238e9387171c216d84633d090cf1487ef3ec645f5c WHIRLPOOL 8c03c2915bde60f0a3a85ac6876306ef926e6fe5a3fbbcaffa494d550ebaa87aaf235bad9e34fbb82007b28a4180b993b82b336bae4232650376a0f35a6a373d DIST eclipse-cpp-bin-4.7.3-x86_64.tar.gz 218219684 SHA256 82e790efa5c02a7447506c85a138a2cef4fae815201c157480d630da1a55d5d9 SHA512 b00598a7c9620d585353bc148b6712e6eea35afdd4e7c6f4804901fa06b91f57972581c31e6f3b17801948a3cf6a73cc3882e29baed8b58f961ad58989a9f828 WHIRLPOOL 3c91921af2778e463e644aeb9d6296621a5e82973e9d976122feb25db56526a399875d04e1f69506421684e6b77eb2d253fb3936ecec5845b2f25043b6be8a3e DIST eclipse-cpp-bin-4.9.0-x86_64.tar.gz 236908195 SHA256 f18e533650ab1961651cb3ebdcf38d6fb78d983e1edb175da1afe5b06bebc9e0 SHA512 4d93be6701169021315439e8f8ba25c4a33e584487443c10ad23e81748838ec64e4fa6540d6ec03a60d1dc313b2b6b57f8edfdabe5895b9d82d084725cda7d8c WHIRLPOOL 7cf2075a7e0d0cdb3a1791bf9bec215abcf249d3b28df2f7d36879fa072afb6f63eda27b03d919cf3623b729ac16a4ce5e4a27d74fbad1b363c90d7d2f0565f4 diff --git a/dev-util/eclipse-cpp-bin/eclipse-cpp-bin-4.10.0.ebuild b/dev-util/eclipse-cpp-bin/eclipse-cpp-bin-4.10.0.ebuild new file mode 100644 index 0000000..e6656e9 --- /dev/null +++ b/dev-util/eclipse-cpp-bin/eclipse-cpp-bin-4.10.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +RNAME="2018-12" +SR="R" + +DESCRIPTION="Eclipse IDE for C/C++" +HOMEPAGE="http://www.eclipse.org" + +SRC_BASE="https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/${RNAME}/${SR}/eclipse-cpp-${RNAME}-${SR}-linux-gtk" +#SRC_BASE="https://mirrors.xmission.com/eclipse/technology/epp/downloads/release/${RNAME}/${SR}/eclipse-cpp-${RNAME}-${SR}-linux-gtk" +SRC_URI=" + amd64? ( ${SRC_BASE}-x86_64.tar.gz&r=1 -> ${P}-x86_64.tar.gz ) +" + +LICENSE="EPL-1.0" +SLOT="4.10" +KEYWORDS="-* ~amd64" +IUSE="" + +RDEPEND=" + >=virtual/jdk-1.8 + x11-libs/gtk+:2 +" + +S=${WORKDIR}/eclipse + +src_install() { + local dest=/opt/${PN}-${SLOT} + + insinto ${dest} + doins -r features icon.xpm plugins artifacts.xml p2 eclipse.ini configuration dropins + + exeinto ${dest} + doexe eclipse + + dohtml -r readme/* + + cp "${FILESDIR}"/eclipserc-bin "${T}/eclipserc-bin-${SLOT}" || die + cp "${FILESDIR}"/eclipse-bin "${T}/eclipse-bin-${SLOT}" || die + sed "s@%SLOT%@${SLOT}@" -i "${T}"/eclipse{,rc}-bin-${SLOT} || die + + insinto /etc + newins "${T}"/eclipserc-bin-${SLOT} eclipserc-bin-${SLOT} + + newbin "${T}"/eclipse-bin-${SLOT} eclipse-cpp-${SLOT} + make_desktop_entry "eclipse-cpp-${SLOT}" "Eclipse ${PV}" "${dest}/icon.xpm" "Development;IDE" + +} -- cgit v1.2.3-65-gdbad