1 |
commit: fbe344914dc06216c57c274a46a145183e790284 |
2 |
Author: Amy Winston <amynka <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 21 21:22:16 2016 +0000 |
4 |
Commit: Amy Winston <amynka <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 21 21:22:16 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbe34491 |
7 |
|
8 |
dev-lang/lazarus: 1.6.0 version bump bug #553650 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
dev-lang/lazarus/Manifest | 1 + |
13 |
dev-lang/lazarus/lazarus-1.6.0.ebuild | 75 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 76 insertions(+) |
15 |
|
16 |
diff --git a/dev-lang/lazarus/Manifest b/dev-lang/lazarus/Manifest |
17 |
index 9e2a3cf..13df310 100644 |
18 |
--- a/dev-lang/lazarus/Manifest |
19 |
+++ b/dev-lang/lazarus/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST lazarus-1.0.12-0.tar.gz 47687878 SHA256 542ddd60f4a404d7020ed6962a545db910a |
21 |
DIST lazarus-1.2.2-0.tar.gz 51558117 SHA256 ac2154c38b3918a08d762977073e606c272c5d4ba5cb4805bf8cd25965f3bd58 SHA512 ed6d228eae355860a8608263205ce00569785f8e39e06990fe8f17a5d070c05e2602d42e9258e42b0345f857e02b287083898f56dc5f4069157c9bace136988c WHIRLPOOL 514b9eac0bd59a0621d6c30f16d9d78f384dd6efddda163ee97b73ab24a42e6e630ec8fa17bc271b02a209618cd104ccb98d07637c67035a84141f148945cacb |
22 |
DIST lazarus-1.2.4-0.tar.gz 51606253 SHA256 e8622f2b29988514c9b7b7ff6cf2058a8b73e9ef0fd7998c82e1e958d2347d28 SHA512 c1858a2b89402d3cfb4baa704cdeb51dc541bf5dcac91230f93f62035988b5e5fec3851bf033876128db5da18713389a9eb6ca73c944dae36c0d6fb30e7727f8 WHIRLPOOL fddb4d650e3400b2fe1cfde1d431be3d752f81dbe715b821f55368628097225ce9156e4065f58c27346cba5a041127c25e7cc80ca15b77aab9e6188cfdd3b215 |
23 |
DIST lazarus-1.2.6-0.tar.gz 51618690 SHA256 c0c7e648716f27edd6f1adf908fd5733654c3cd3db6458582ccd4343a8605eea SHA512 f7f227621ee69b7056dd87dab19e2217496ac2f280e3aa6dacdac890e55dfb9595a0562c06e50cb4b4f50d021739785d840eb19ec6d77040febb86fe78a5a47a WHIRLPOOL aff1abb59380553e92d956d35393689eed55bd8684a8c182b048cea774236defe9107b0449131a7868526721658f72e7d0c68578a55d56e53e3a68dc7d51fe3a |
24 |
+DIST lazarus-1.6.0-0.tar.gz 55911739 SHA256 cbce02be1ed902a4978a13144446023d955c0db69a1dba42c93a83b8a24f3ca8 SHA512 6ac84325aa2caf7896b3cb55df72199ab04bf25320257510b288cde8fb679161834dca9ad3d07d39c164c05ab35c0cd248651a13c826d454c0dc84a558589576 WHIRLPOOL 2e3b1ac39fd79dcb457bfbe22c73ddcf781e9e5f0c263d88bd9b6e2ff9e417f2e1094702e1bc190788a1f5a86470b8165bc586f22d02a8b370db9245cfd9131e |
25 |
|
26 |
diff --git a/dev-lang/lazarus/lazarus-1.6.0.ebuild b/dev-lang/lazarus/lazarus-1.6.0.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..171ae1b |
29 |
--- /dev/null |
30 |
+++ b/dev-lang/lazarus/lazarus-1.6.0.ebuild |
31 |
@@ -0,0 +1,75 @@ |
32 |
+# Copyright 1999-2016 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+inherit eutils |
38 |
+ |
39 |
+FPCVER="2.6.4" |
40 |
+ |
41 |
+DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi" |
42 |
+HOMEPAGE="http://www.lazarus.freepascal.org/" |
43 |
+SRC_URI="https://sourceforge.net/projects/${PN}/files/Lazarus%20Zip%20_%20GZip/Lazarus%201.6/${P}-0.tar.gz" |
44 |
+ |
45 |
+LICENSE="GPL-2 LGPL-2.1-with-linking-exception" |
46 |
+SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND. |
47 |
+KEYWORDS="~amd64 ~ppc ~x86" |
48 |
+IUSE="minimal" |
49 |
+ |
50 |
+DEPEND=">=dev-lang/fpc-${FPCVER}[source] |
51 |
+ net-misc/rsync |
52 |
+ x11-libs/gtk+:2 |
53 |
+ >=sys-devel/binutils-2.19.1-r1:=" |
54 |
+RDEPEND="${DEPEND} |
55 |
+ !=gnome-base/librsvg-2.16.1" |
56 |
+ |
57 |
+RESTRICT="strip" #269221 |
58 |
+ |
59 |
+S=${WORKDIR}/${PN} |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ epatch "${FILESDIR}"/${PN}-0.9.26-fpcsrc.patch |
63 |
+ |
64 |
+ # Use default configuration (minus stripping) unless specifically requested otherwise |
65 |
+ if ! test ${PPC_CONFIG_PATH+set} ; then |
66 |
+ local FPCVER=$(fpc -iV) |
67 |
+ export PPC_CONFIG_PATH="${WORKDIR}" |
68 |
+ sed -e 's/^FPBIN=/#&/' /usr/lib/fpc/${FPCVER}/samplecfg | |
69 |
+ sh -s /usr/lib/fpc/${FPCVER} "${PPC_CONFIG_PATH}" || die |
70 |
+ #sed -i -e '/^-Xs/d' "${PPC_CONFIG_PATH}"/fpc.cfg || die |
71 |
+ fi |
72 |
+} |
73 |
+ |
74 |
+src_compile() { |
75 |
+ LCL_PLATFORM=gtk2 emake \ |
76 |
+ $(usex minimal "" "bigide") \ |
77 |
+ -j1 |
78 |
+} |
79 |
+ |
80 |
+src_install() { |
81 |
+ diropts -m0755 |
82 |
+ dodir /usr/share |
83 |
+ # Using rsync to avoid unnecessary copies and cleaning... |
84 |
+ # Note: *.o and *.ppu are needed |
85 |
+ rsync -a \ |
86 |
+ --exclude="CVS" --exclude=".cvsignore" \ |
87 |
+ --exclude="*.ppw" --exclude="*.ppl" \ |
88 |
+ --exclude="*.ow" --exclude="*.a"\ |
89 |
+ --exclude="*.rst" --exclude=".#*" \ |
90 |
+ --exclude="*.~*" --exclude="*.bak" \ |
91 |
+ --exclude="*.orig" --exclude="*.rej" \ |
92 |
+ --exclude=".xvpics" --exclude="*.compiled" \ |
93 |
+ --exclude="killme*" --exclude=".gdb_hist*" \ |
94 |
+ --exclude="debian" --exclude="COPYING*" \ |
95 |
+ --exclude="*.app" \ |
96 |
+ "${S}" "${ED%/}"/usr/share \ |
97 |
+ || die "Unable to copy files!" |
98 |
+ |
99 |
+ dosym ../share/lazarus/startlazarus /usr/bin/startlazarus |
100 |
+ dosym ../share/lazarus/startlazarus /usr/bin/lazarus |
101 |
+ dosym ../share/lazarus/lazbuild /usr/bin/lazbuild |
102 |
+ use minimal || dosym ../share/lazarus/components/chmhelp/lhelp/lhelp /usr/bin/lhelp |
103 |
+ dosym ../lazarus/images/ide_icon48x48.png /usr/share/pixmaps/lazarus.png |
104 |
+ |
105 |
+ make_desktop_entry startlazarus "Lazarus IDE" "lazarus" || die "Failed making desktop entry!" |
106 |
+} |