diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-15 00:09:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-15 00:09:17 +0100 |
commit | 6a7029e0f7370d4d5dfe9e31cc2719a870482392 (patch) | |
tree | 28c6c747114eaedfd2db81f86ac2ff3d7d13111e /dev-lang/lazarus | |
parent | 5e41a38157bb40e8513e8e34426e85faba672fe7 (diff) |
gentoo auto-resync : 15:06:2024 - 00:09:17
Diffstat (limited to 'dev-lang/lazarus')
-rw-r--r-- | dev-lang/lazarus/Manifest | 4 | ||||
-rw-r--r-- | dev-lang/lazarus/lazarus-3.0-r2.ebuild (renamed from dev-lang/lazarus/lazarus-3.0.ebuild) | 8 | ||||
-rw-r--r-- | dev-lang/lazarus/lazarus-3.4-r1.ebuild | 119 |
3 files changed, 126 insertions, 5 deletions
diff --git a/dev-lang/lazarus/Manifest b/dev-lang/lazarus/Manifest index 1e5a1720678b..7115722bae15 100644 --- a/dev-lang/lazarus/Manifest +++ b/dev-lang/lazarus/Manifest @@ -5,8 +5,10 @@ DIST lazarus-2.2.4-0.tar.gz 77272959 BLAKE2B 2d7b2872a7399eb1a3a7d9fb20fed209900 DIST lazarus-2.2.4-makefile.patch.bz2 3650 BLAKE2B 4a86e0dee7759183e3311cfa9f250995dbf2bb39d1de4c0fbc0191767b5f16029285ab92c76466d261708a88ed600929e777798560161e9942a64e44f956ff89 SHA512 560ffd3d43b75a804dfdb756323cecc7f2039215ab176ca0149cfee11dfe31d7943ad4aa212e9194c2bd2acbd0835e635501ef157888daf3715be7f760b3d51b DIST lazarus-3.0-0.tar.gz 87513233 BLAKE2B 26e8492194541453230832591445b97827e65b61531078cb4bd1c9f549bcd0aa531fef036f701de885e96f9e56476b0dd1c9465e2388ea43080ba418acbd097e SHA512 85cb3548fab017f2fd97f5fb141d59a0d0ec1412a161f98fea726ad5d6ed32ee2eb6ef6573e058d4df7dfcc067256e842acf994b73c9a50ebfb064657db33881 DIST lazarus-3.0-makefile.patch.xz 3968 BLAKE2B f61d535cab6b1b04be5805fe2a321bd644b3f47092d9d76ca624e33fbfce6bd89dba7bf00adebbbe5635b898567a8b62bfd0e44142f1dc3d8640b5276014888a SHA512 c91bee56a41f31ff8b5cfb4a7149cf0856e8c7b47fe502ba9828854ba4589ab19ddfecba182e5fc89cf8b7d71bda01d67a534ecab3f09437a0d7064c2b0f1fe8 +DIST lazarus-3.4-0.tar.gz 87535234 BLAKE2B f7da0b4edacf1e93b53bcdc4093e8c6ef3487985a5054db4368a56237ac8e39dbb088dea5e0146923554cf498ef969f86f6480235cc725f7c8d0f4e3fc9345de SHA512 ab4096345d72028e89da4a284479bbe5d4ed89a6bd0463f62b7d04a23c0491dc3f7934c75b4a4a916f81db8c0b252bf382e5ab41a16ef42efc1c08efcce68aef EBUILD lazarus-2.0.12.ebuild 2667 BLAKE2B d6e1a545dd5a90f61b2f447205bdfb325f7a10e26f79891dd8fb229f76933f437277aba252253b123313ebc3189440d8b82bd1e794873e127c0f543ad514e1b8 SHA512 479430f9b6f5b15cb1fac203fe9d133706d2a01bc9020b23f35d1a5935dbf1bf116e2e9095b7e4175cad964f91def11cbfbb5f3daa21c0b3c47c834d4195643f EBUILD lazarus-2.2.0.ebuild 2413 BLAKE2B f09dee3695b75dd6c59ff54b3358c7674a445d0476cce66ca0efb30331a66eaaa5596184913a798d9ceb6b95df1f428f206c6d886dd3fd0900df3de43a2494ba SHA512 5e2090fad65e9ad74679010c704643ec290a63f022711b5b454f6c564ae38758d501aaa3045e4a794e9fdb6a5afa1b694bcbc932ca3d0174fcaa22b628924a2f EBUILD lazarus-2.2.4-r1.ebuild 3251 BLAKE2B 2722a0945c7eb9c3044f04c1dd687f22f581d20cc2cdf0843845276668b00117915cf4771cbb9234bf6045ba32001d2a1eaa27c78c2bfa033168b25817335a8e SHA512 a6cead8542a23c937ec2d35af6f738a482644adf51fa6a77c1bc985ce8abe389f5677e5153ee12c57b547bda7cc4164b11d493854e5fde7eb4c9f420b275e5e3 -EBUILD lazarus-3.0.ebuild 3453 BLAKE2B b0cf352761fd5172664735478f0dd274f0fffb5b4d574068782d8c4636381699b0a0a6b25a6cbaa037d135ca8201ac5289f8df9c218ef0435fcc4dfa3b3e5717 SHA512 cec01dd25c294bd6a86db471e758ec122c03abfac397eb24f23fe925a21c12ebab375945394f7ff47b7c1167694249613ae53a99d5b93e4a4ec11dc836cc8f0c +EBUILD lazarus-3.0-r2.ebuild 3453 BLAKE2B 4ec6e7888e36514976d9e9685b71b7166da35bc8ed8d92c891b8a7f93c0b6e5a69535bf598cb2cf25f42012a9ba4809e15837a834a5469fe5ed77f949f23886a SHA512 cb050d428f7801b589a65e9028bf4dc65a9ccc9c741db63a67650e79683fd8df83a227b7033978f339f673c11d8e9aafc79e9ac2547a673e0167a001d2346d0a +EBUILD lazarus-3.4-r1.ebuild 3427 BLAKE2B 9b28903cdff0249813e77b32fe4b469471f8c2c22dc22e15bccb120ef22d692c7cf095893a0d6d6e687b9d4afde800eced462e5e0b927eea2c7ba1f7a2ea8f23 SHA512 b3f7ac6321f5cb32d81e8816b322e3f7199117e787669f95583774d94b62c0eb3f54c6c4245a3061802770cbe307713d0996edc07b92cffbadf6d813b4acc270 MISC metadata.xml 705 BLAKE2B 7f8f2abfba78c25b044ebdf621c76bf3027e24dc3dcf8d7b9085f96b8728b77a41dab1596bd24533fa263ac357c23027005baa818436524dcc7f6f57973ec433 SHA512 24b7e63cda2b01714b3790a3f55fcc70e54186ecf9f98bd45d659361b5280280aee643d1737efffbcd0e14ee9e30c1379bb4bfd7382b5b6613b18ce7fea70146 diff --git a/dev-lang/lazarus/lazarus-3.0.ebuild b/dev-lang/lazarus/lazarus-3.0-r2.ebuild index f6e4ab89c84a..464571a70783 100644 --- a/dev-lang/lazarus/lazarus-3.0.ebuild +++ b/dev-lang/lazarus/lazarus-3.0-r2.ebuild @@ -5,7 +5,7 @@ EAPI=8 inherit desktop -# See https://wiki.freepascal.org/Lazarus_2.0_fixes_branch for notes and +# See https://wiki.freepascal.org/Lazarus_3.0_fixes_branch for notes and # changes in FPCVER. It *does* change between minor versions of lazarus. FPCVER="3.2.2" @@ -16,7 +16,7 @@ SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-3.0-mak S="${WORKDIR}/${PN}" LICENSE="GPL-2 LGPL-2.1-with-linking-exception" -SLOT="0/2.2" # Note: Slotting Lazarus needs slotting fpc, see DEPEND. +SLOT="0/3.0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND. KEYWORDS="~amd64 ~x86" IUSE="+gui gtk2 gtk qt5 qt6 extras" REQUIRED_USE="gui? ( ^^ ( gtk2 gtk qt5 qt6 ) ) extras? ( gui )" @@ -40,8 +40,8 @@ DEPEND=" gui? ( gtk2? ( x11-libs/gtk+:2 ) gtk? ( x11-libs/gtk+:3 ) - qt5? ( dev-libs/libqt5pas:0/2.2 ) - qt6? ( dev-libs/libqt6pas:0/2.2 ) + qt5? ( dev-libs/libqt5pas:0/3.0 ) + qt6? ( dev-libs/libqt6pas:0/3.0 ) ) " BDEPEND="net-misc/rsync" diff --git a/dev-lang/lazarus/lazarus-3.4-r1.ebuild b/dev-lang/lazarus/lazarus-3.4-r1.ebuild new file mode 100644 index 000000000000..8e8dc7986393 --- /dev/null +++ b/dev-lang/lazarus/lazarus-3.4-r1.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop + +# See https://wiki.freepascal.org/Lazarus_3.0_fixes_branch for notes and +# changes in FPCVER. It *does* change between minor versions of lazarus. +FPCVER="3.2.2" + +DESCRIPTION="feature rich visual programming environment emulating Delphi" +HOMEPAGE="https://www.lazarus-ide.org/" +SRC_URI="https://downloads.sourceforge.net/lazarus/${P}-0.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-3.0-makefile.patch.xz" +S="${WORKDIR}/${PN}" + +LICENSE="GPL-2 LGPL-2.1-with-linking-exception" +SLOT="0/3.0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND. +KEYWORDS="~amd64 ~x86" +IUSE="+gui gtk2 gtk qt5 qt6 extras" +# TODO: Drop REQUIRED_USE per QA policy for USE=gui +REQUIRED_USE="gui? ( ^^ ( gtk2 gtk qt5 qt6 ) ) extras? ( gui )" + +# Pascal ignores CFLAGS and does its own stripping. Nothing else can be done about it. +QA_FLAGS_IGNORED=" + usr/share/lazarus/startlazarus + usr/share/lazarus/lazarus + usr/share/lazarus/tools/lazres + usr/share/lazarus/tools/lrstolfm + usr/share/lazarus/tools/updatepofiles + usr/share/lazarus/tools/svn2revisioninc + usr/share/lazarus/lazbuild + usr/share/lazarus/components/chmhelp/lhelp/lhelp +" +QA_PRESTRIPPED="${QA_FLAGS_IGNORED}" + +DEPEND=" + >=dev-lang/fpc-${FPCVER}[source] + >=sys-devel/binutils-2.19.1-r1:= + gui? ( + gtk2? ( x11-libs/gtk+:2 ) + gtk? ( x11-libs/gtk+:3 ) + qt5? ( dev-libs/libqt5pas:0/3.0 ) + qt6? ( dev-libs/libqt6pas:0/3.0 ) + ) +" +BDEPEND="net-misc/rsync" +RDEPEND="${DEPEND}" + +RESTRICT="strip" #269221 + +PATCHES=( + "${WORKDIR}"/${PN}-3.0-makefile.patch +) + +src_prepare() { + default + # Use default configuration (minus stripping) unless specifically requested otherwise + if ! test ${PPC_CONFIG_PATH+set} ; then + local FPCVER=$(fpc -iV) + export PPC_CONFIG_PATH="${WORKDIR}" + sed -e 's/^FPBIN=/#&/' /usr/lib/fpc/${FPCVER}/samplecfg | + sh -s /usr/lib/fpc/${FPCVER} "${PPC_CONFIG_PATH}" || die + fi +} + +src_compile() { + # bug #732758 + if use gui ; then + if use gtk2 ; then + export LCL_PLATFORM=gtk2 + elif use gtk ; then + export LCL_PLATFORM=gtk3 + elif use qt5 ; then + export LCL_PLATFORM=qt5 + else + export LCL_PLATFORM=qt6 + fi + else + export LCL_PLATFORM=nogui + fi + + if use gui ; then + emake -j1 all $(usev extras "bigide lhelp") + else + emake -j1 lazbuild + fi +} + +src_install() { + diropts -m0755 + dodir /usr/share + # Using rsync to avoid unnecessary copies and cleaning... + # Note: *.o and *.ppu are needed + rsync -a \ + --exclude="CVS" --exclude=".cvsignore" \ + --exclude="*.ppw" --exclude="*.ppl" \ + --exclude="*.ow" --exclude="*.a"\ + --exclude="*.rst" --exclude=".#*" \ + --exclude="*.~*" --exclude="*.bak" \ + --exclude="*.orig" --exclude="*.rej" \ + --exclude=".xvpics" --exclude="*.compiled" \ + --exclude="killme*" --exclude=".gdb_hist*" \ + --exclude="debian" --exclude="COPYING*" \ + --exclude="*.app" \ + "${S}" "${ED}"/usr/share \ + || die "Unable to copy files!" + + if ( use gui ) ; then + dosym ../share/lazarus/startlazarus /usr/bin/startlazarus + dosym ../share/lazarus/startlazarus /usr/bin/lazarus + fi + dosym ../share/lazarus/lazbuild /usr/bin/lazbuild + use extras && dosym ../share/lazarus/components/chmhelp/lhelp/lhelp /usr/bin/lhelp + dosym ../lazarus/images/ide_icon48x48.png /usr/share/pixmaps/lazarus.png + + use gui && make_desktop_entry startlazarus "Lazarus IDE" "lazarus" +} |