commit:     aeb21cafd3781e90e648f35ae96bc98c45ebd059
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 14 09:31:22 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 14 09:32:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeb21caf

dev-libs/libqt5pas: add maintainer notes to ebuild, don't rename distfiles

Don't unnecessarily rename the distfile so it can be reused rather
than downloaded twice by users with lazarus.

Bug: https://bugs.gentoo.org/934158
Bug: https://bugs.gentoo.org/934235
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/libqt5pas/Manifest                |  4 ++--
 dev-libs/libqt5pas/libqt5pas-1.2.15.ebuild | 10 ++++++----
 dev-libs/libqt5pas/libqt5pas-1.2.9.ebuild  |  2 +-
 3 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/dev-libs/libqt5pas/Manifest b/dev-libs/libqt5pas/Manifest
index d506640c7770..23f36037eb4a 100644
--- a/dev-libs/libqt5pas/Manifest
+++ b/dev-libs/libqt5pas/Manifest
@@ -1,2 +1,2 @@
-DIST libqt5pas-1.2.15.tar.gz 87513233 BLAKE2B 
26e8492194541453230832591445b97827e65b61531078cb4bd1c9f549bcd0aa531fef036f701de885e96f9e56476b0dd1c9465e2388ea43080ba418acbd097e
 SHA512 
85cb3548fab017f2fd97f5fb141d59a0d0ec1412a161f98fea726ad5d6ed32ee2eb6ef6573e058d4df7dfcc067256e842acf994b73c9a50ebfb064657db33881
-DIST libqt5pas-1.2.9.tar.gz 77272959 BLAKE2B 
2d7b2872a7399eb1a3a7d9fb20fed209900603ae433db75ac2c4244edf5e5981314ed3d8e39143ff30764e7ccbf1286edace9c38505df1cd28b44250bdd07224
 SHA512 
1a2fbc8451f1954df1d0071c586662ebc3cd0e9a7db5d910e0af86a3095252a5796d4c7abcf3861ad723af26974ac416c5bf919cd77ad5f406295ad7cdf47eb1
+DIST lazarus-2.2.4-0.tar.gz 77272959 BLAKE2B 
2d7b2872a7399eb1a3a7d9fb20fed209900603ae433db75ac2c4244edf5e5981314ed3d8e39143ff30764e7ccbf1286edace9c38505df1cd28b44250bdd07224
 SHA512 
1a2fbc8451f1954df1d0071c586662ebc3cd0e9a7db5d910e0af86a3095252a5796d4c7abcf3861ad723af26974ac416c5bf919cd77ad5f406295ad7cdf47eb1
+DIST lazarus-3.0-0.tar.gz 87513233 BLAKE2B 
26e8492194541453230832591445b97827e65b61531078cb4bd1c9f549bcd0aa531fef036f701de885e96f9e56476b0dd1c9465e2388ea43080ba418acbd097e
 SHA512 
85cb3548fab017f2fd97f5fb141d59a0d0ec1412a161f98fea726ad5d6ed32ee2eb6ef6573e058d4df7dfcc067256e842acf994b73c9a50ebfb064657db33881

diff --git a/dev-libs/libqt5pas/libqt5pas-1.2.15.ebuild 
b/dev-libs/libqt5pas/libqt5pas-1.2.15.ebuild
index 7c1e535c3618..b6d25452b1e2 100644
--- a/dev-libs/libqt5pas/libqt5pas-1.2.15.ebuild
+++ b/dev-libs/libqt5pas/libqt5pas-1.2.15.ebuild
@@ -3,20 +3,22 @@
 
 EAPI=8
 
-# Get PV from lcl/interfaces/qt5/cbindings/Qt5Pas.pro
+# Get PV from lcl/interfaces/qt6/cbindings/Qt6Pas.pro
 inherit qmake-utils
 
+LAZARUS_PV=3.0
+
 # We want to keep the version here in correspondence with dev-lang/lazarus
 # so dev-lang/lazarus can use the bindings.
-MY_P="lazarus-3.0-0"
+MY_P="lazarus-${LAZARUS_PV}-0"
 
 DESCRIPTION="Free Pascal Qt5 bindings library updated by lazarus IDE"
 HOMEPAGE="https://gitlab.com/freepascal.org/lazarus/lazarus";
-SRC_URI="https://downloads.sourceforge.net/lazarus/${MY_P}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="https://downloads.sourceforge.net/lazarus/${MY_P}.tar.gz";
 S="${WORKDIR}/lazarus/lcl/interfaces/qt5/cbindings"
 
 LICENSE="LGPL-3"
-SLOT="0/3.0"
+SLOT="0/${LAZARUS_PV}"
 KEYWORDS="~amd64 ~x86"
 
 DEPEND="

diff --git a/dev-libs/libqt5pas/libqt5pas-1.2.9.ebuild 
b/dev-libs/libqt5pas/libqt5pas-1.2.9.ebuild
index 090fe8251feb..974c623460a3 100644
--- a/dev-libs/libqt5pas/libqt5pas-1.2.9.ebuild
+++ b/dev-libs/libqt5pas/libqt5pas-1.2.9.ebuild
@@ -9,7 +9,7 @@ MY_P="lazarus-2.2.4-0"
 
 DESCRIPTION="Free Pascal Qt5 bindings library updated by lazarus IDE."
 HOMEPAGE="https://gitlab.com/freepascal.org/lazarus/lazarus";
-SRC_URI="https://downloads.sourceforge.net/lazarus/${MY_P}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="https://downloads.sourceforge.net/lazarus/${MY_P}.tar.gz";
 KEYWORDS="~amd64 ~x86"
 
 LICENSE="LGPL-3"

Reply via email to