From: | "Tim Harder (radhermit)" <radhermit@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-lang/lazarus: ChangeLog lazarus-1.2.4.ebuild |
Date: | Sun, 22 Jun 2014 04:25:19 |
Message-Id: | 20140622042515.D38E92004E@flycatcher.gentoo.org |
1 | radhermit 14/06/22 04:25:15 |
2 | |
3 | Modified: ChangeLog |
4 | Added: lazarus-1.2.4.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
9 | |
10 | Revision Changes Path |
11 | 1.44 dev-lang/lazarus/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/lazarus/ChangeLog?rev=1.44&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/lazarus/ChangeLog?rev=1.44&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/lazarus/ChangeLog?r1=1.43&r2=1.44 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v |
20 | retrieving revision 1.43 |
21 | retrieving revision 1.44 |
22 | diff -u -r1.43 -r1.44 |
23 | --- ChangeLog 29 Apr 2014 09:16:12 -0000 1.43 |
24 | +++ ChangeLog 22 Jun 2014 04:25:15 -0000 1.44 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-lang/lazarus |
27 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v 1.43 2014/04/29 09:16:12 radhermit Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v 1.44 2014/06/22 04:25:15 radhermit Exp $ |
30 | + |
31 | +*lazarus-1.2.4 (22 Jun 2014) |
32 | + |
33 | + 22 Jun 2014; Tim Harder <radhermit@g.o> +lazarus-1.2.4.ebuild: |
34 | + Version bump. |
35 | |
36 | *lazarus-1.2.2 (29 Apr 2014) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 dev-lang/lazarus/lazarus-1.2.4.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/lazarus/lazarus-1.2.4.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/lazarus/lazarus-1.2.4.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: lazarus-1.2.4.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2014 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/lazarus-1.2.4.ebuild,v 1.1 2014/06/22 04:25:15 radhermit Exp $ |
51 | |
52 | EAPI=5 |
53 | inherit eutils |
54 | |
55 | FPCVER="2.6.4" |
56 | |
57 | DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi" |
58 | HOMEPAGE="http://www.lazarus.freepascal.org/" |
59 | SRC_URI="http://downloads.sourceforge.net/project/${PN}/Lazarus%20Zip%20_%20GZip/Lazarus%20${PV}/${PN}-${PV}-0.tar.gz" |
60 | |
61 | LICENSE="GPL-2 LGPL-2.1-with-linking-exception" |
62 | SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND. |
63 | KEYWORDS="~amd64 ~ppc ~x86" |
64 | IUSE="minimal" |
65 | |
66 | DEPEND=">=dev-lang/fpc-${FPCVER}[source] |
67 | net-misc/rsync |
68 | x11-libs/gtk+:2" |
69 | RDEPEND="${DEPEND} |
70 | !=gnome-base/librsvg-2.16.1" |
71 | DEPEND="${DEPEND} |
72 | >=sys-devel/binutils-2.19.1-r1" |
73 | |
74 | RESTRICT="strip" #269221 |
75 | |
76 | S=${WORKDIR}/${PN} |
77 | |
78 | src_prepare() { |
79 | epatch "${FILESDIR}"/${PN}-0.9.26-fpcsrc.patch |
80 | |
81 | # Use default configuration (minus stripping) unless specifically requested otherwise |
82 | if ! test ${PPC_CONFIG_PATH+set} ; then |
83 | local FPCVER=$(fpc -iV) |
84 | export PPC_CONFIG_PATH="${WORKDIR}" |
85 | sed -e 's/^FPBIN=/#&/' /usr/lib/fpc/${FPCVER}/samplecfg | |
86 | sh -s /usr/lib/fpc/${FPCVER} "${PPC_CONFIG_PATH}" || die |
87 | #sed -i -e '/^-Xs/d' "${PPC_CONFIG_PATH}"/fpc.cfg || die |
88 | fi |
89 | } |
90 | |
91 | src_compile() { |
92 | LCL_PLATFORM=gtk2 emake \ |
93 | $(usex minimal "" "bigide") \ |
94 | -j1 |
95 | } |
96 | |
97 | src_install() { |
98 | diropts -m0755 |
99 | dodir /usr/share |
100 | # Using rsync to avoid unnecessary copies and cleaning... |
101 | # Note: *.o and *.ppu are needed |
102 | rsync -a \ |
103 | --exclude="CVS" --exclude=".cvsignore" \ |
104 | --exclude="*.ppw" --exclude="*.ppl" \ |
105 | --exclude="*.ow" --exclude="*.a"\ |
106 | --exclude="*.rst" --exclude=".#*" \ |
107 | --exclude="*.~*" --exclude="*.bak" \ |
108 | --exclude="*.orig" --exclude="*.rej" \ |
109 | --exclude=".xvpics" --exclude="*.compiled" \ |
110 | --exclude="killme*" --exclude=".gdb_hist*" \ |
111 | --exclude="debian" --exclude="COPYING*" \ |
112 | --exclude="*.app" \ |
113 | "${S}" "${ED%/}"/usr/share \ |
114 | || die "Unable to copy files!" |
115 | |
116 | dosym ../share/lazarus/startlazarus /usr/bin/startlazarus |
117 | dosym ../share/lazarus/startlazarus /usr/bin/lazarus |
118 | dosym ../share/lazarus/lazbuild /usr/bin/lazbuild |
119 | use minimal || dosym ../share/lazarus/components/chmhelp/lhelp/lhelp /usr/bin/lhelp |
120 | dosym ../lazarus/images/ide_icon48x48.png /usr/share/pixmaps/lazarus.png |
121 | |
122 | make_desktop_entry startlazarus "Lazarus IDE" "lazarus" || die "Failed making desktop entry!" |
123 | } |