commit:     e9e563664f14a503e8e5b52faea05d4423eb4480
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 16 10:19:05 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Sep 16 10:58:14 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9e56366

app-editors/sublime-text: Version bump to final 3.0 release

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 app-editors/sublime-text/Manifest                  |  2 +
 .../sublime-text/sublime-text-3_p3143.ebuild       | 64 ++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/app-editors/sublime-text/Manifest 
b/app-editors/sublime-text/Manifest
index 522b4750750..bf034be2fb7 100644
--- a/app-editors/sublime-text/Manifest
+++ b/app-editors/sublime-text/Manifest
@@ -2,3 +2,5 @@ DIST sublime-text-2.0.2_x32.tar.bz2 5584673 SHA256 
07338e041cfb348938fa8069f0aad
 DIST sublime-text-2.0.2_x64.tar.bz2 5662968 SHA256 
01baed30d66432e30002a309ff0393967be1daba5cce653e43bba6bd6c38ab84 SHA512 
330dc9c4141d0e01f19605b397126b9ca0703377d565cbc552f4bc622ba54b38dbf2485aca71d6f24e3160e71ea40b2057ce66a3907ff6766916fb39438e9113
 WHIRLPOOL 
167a60f851ee14c1879b422987ef9c496c64d924b2fc94ce8dd19d95847d31c184bb24cbb50293044f37e60336b9349ec7f7a689f7f2d0f076db432dfdf5d713
 DIST sublime_text_3_build_3126_x32.tar.bz2 9258647 SHA256 
92ffefa470f0777897ed0dfb7c1635426105271da9b5affbe8c1e82039718e29 SHA512 
f8377adbad072577995918c7c8311ae63c7290581b00200e698ded18722893edf0baa7227480c8fc6143be30d695fae1e7312f7a9ac6728b8a397ea814a829fa
 WHIRLPOOL 
7f45a898aa036cc56ea931bc6b0ae48499d60e5b640700724874bc22414d44f0b04e4df939a5a9c968b65fdd71c2be060daf57bf269fbfdc4ef463ba6e6b058d
 DIST sublime_text_3_build_3126_x64.tar.bz2 9313954 SHA256 
18db132e9a305fa3129014b608628e06f9442f48d09cfe933b3b1a84dd18727a SHA512 
a0a683b3cef45fba2a294cb044e5dc24ed3ea8d8a669321ee15844a48b88fbd345d50f499a9feb865735b15b44ff99d6b5f8aaee453245b9fd61e9e3d1c69f26
 WHIRLPOOL 
f41520ed96db71de1fca374ba36645016f72801ea17a983c865eaeb7835cda75ee9dbd9cebca247b961dd6db29ca9f9d2c6babb076dba49b3660ef56c9c97d43
+DIST sublime_text_3_build_3143_x32.tar.bz2 9847438 SHA256 
b1ecc4b70d66b9236b876f1913c4094b6dd51436e45c74883ba70a1939e9f735 SHA512 
471716815a171f786ad5f12b743ec3c17dcde2fc165522e523d338c9184af7789095e2de41e89d0c4b0dc58bfe409f116662016e7014c528650ce074c101084b
 WHIRLPOOL 
3e0346ac03fe044787fa468030c29c4bc7b1d70657c6b4055de1577ffe3d1c026bc2aacdc724f4df33c69ce7810a5b50d25ab4841450ff078d2478543e39b4c8
+DIST sublime_text_3_build_3143_x64.tar.bz2 9857381 SHA256 
9ce120c4f28b239d3b3860ee672d9d87e1397a4c08ee6c4e62fd6e261a296519 SHA512 
db6375cbcaf1cb6e1d583aa043abeaeecf0236e1d2e23b965b6c2dd616ec2277d73786d2a9c273329c1a94890edc7ddce1551292b5170dc5b558cd7246c5093f
 WHIRLPOOL 
69d163c8ed2f244954600466d2f61d7dc6600eedaa40d53662f75dd811c35edd99ec7ee7cb012477161aed072e63c6d9fa5d7a6ee1428190960f83a81b80768f

diff --git a/app-editors/sublime-text/sublime-text-3_p3143.ebuild 
b/app-editors/sublime-text/sublime-text-3_p3143.ebuild
new file mode 100644
index 00000000000..af2f782ca95
--- /dev/null
+++ b/app-editors/sublime-text/sublime-text-3_p3143.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils gnome2-utils
+
+# get the major version from PV
+MV=${PV:0:1}
+MY_PV=${PV#*_p}
+
+DESCRIPTION="Sophisticated text editor for code, markup and prose"
+HOMEPAGE="http://www.sublimetext.com";
+SRC_URI="
+       amd64? ( 
https://download.sublimetext.com/sublime_text_${MV}_build_${MY_PV}_x64.tar.bz2 )
+       x86? ( 
https://download.sublimetext.com/sublime_text_${MV}_build_${MY_PV}_x32.tar.bz2 
)"
+
+LICENSE="Sublime"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dbus"
+RESTRICT="bindist mirror strip"
+
+RDEPEND="
+       dev-libs/glib:2
+       x11-libs/gtk+:2
+       x11-libs/libX11
+       dbus? ( sys-apps/dbus )"
+
+QA_PREBUILT="*"
+S="${WORKDIR}/sublime_text_${MV}"
+
+# Sublime bundles the kitchen sink, which includes python and other assorted
+# modules. Do not try to unbundle these because you are guaranteed to fail.
+
+src_install() {
+       insinto /opt/${PN}${MV}
+       doins -r Packages Icon
+       doins changelog.txt sublime_plugin.py sublime.py python3.3.zip
+
+       exeinto /opt/${PN}${MV}
+       doexe crash_reporter plugin_host sublime_text
+       dosym ../../opt/${PN}${MV}/sublime_text /usr/bin/subl
+
+       local size
+       for size in 32 48 128 256; do
+               dosym 
../../../../../../opt/${PN}${MV}/Icon/${size}x${size}/sublime-text.png \
+                       /usr/share/icons/hicolor/${size}x${size}/apps/subl.png
+       done
+
+       make_desktop_entry "subl" "Sublime Text ${MV}" "subl" \
+               "TextEditor;IDE;Development" "StartupNotify=true"
+
+       # needed to get WM_CLASS lookup right
+       mv "${ED%/}"/usr/share/applications/subl{-sublime-text,}.desktop || die
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+}

Reply via email to