Diff lazarus-2.0.12 with a lazarus-2.2.0
/usr/portage/dev-lang/lazarus/lazarus-2.2.0.ebuild 2023-10-09 14:52:29.464368349 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
inherit desktop |
7 | 7 | |
8 | 8 |
# See https://wiki.freepascal.org/Lazarus_2.0_fixes_branch for notes and |
9 | 9 |
# changes in FPCVER. It *does* change between minor versions of lazarus. |
10 |
FPCVER="3.2.0" |
|
10 |
FPCVER="3.2.2" |
|
11 | 11 | |
12 | 12 |
DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi" |
13 | 13 |
HOMEPAGE="https://www.lazarus-ide.org/" |
14 |
SRC_URI="https://sourceforge.net/projects/${PN}/files/Lazarus%20Zip%20_%20GZip/Lazarus%20${PV}/${P}.tar.gz" |
|
14 |
SRC_URI="https://sourceforge.net/projects/${PN}/files/Lazarus%20Zip%20_%20GZip/Lazarus%20${PV}/${P}-0.tar.gz" |
|
15 | 15 | |
16 | 16 |
LICENSE="GPL-2 LGPL-2.1-with-linking-exception" |
17 | 17 |
SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND. |
18 |
KEYWORDS="amd64 x86" |
|
18 |
KEYWORDS="~amd64 ~x86" |
|
19 | 19 |
IUSE="minimal" |
20 | 20 | |
21 | 21 |
DEPEND=">=dev-lang/fpc-${FPCVER}[source] |
... | ... | |
39 | 39 |
sed -e 's/^FPBIN=/#&/' /usr/lib/fpc/${FPCVER}/samplecfg | |
40 | 40 |
sh -s /usr/lib/fpc/${FPCVER} "${PPC_CONFIG_PATH}" || die |
41 | 41 |
fi |
42 |
sed -i \ |
|
43 |
-e "s;SecondaryConfigPath:='/etc/lazarus';SecondaryConfigPath:=ExpandFileNameUTF8('~/.lazarus');g" \ |
|
44 |
-e "s;PrimaryConfigPath:=ExpandFileNameUTF8('~/.lazarus');PrimaryConfigPath:='/etc/lazarus';g" \ |
|
45 |
ide/include/unix/lazbaseconf.inc \ |
|
46 |
|| die |
|
47 | 42 |
} |
48 | 43 | |
49 | 44 |
src_compile() { |