commit: fb0949b5cfdacdd5c1d00a52ecbf9259e5cba803 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Jun 14 09:24:56 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Jun 14 09:32:43 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb0949b5
dev-libs/libqt6pas: add 6.2.7, drop 1.0.0-r1 Use the proper version from Qt6Pas.pro. This version is tied to what's in lazarus-3.0 but it's the same in lazarus-3.2. Also, 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/libqt6pas/Manifest | 2 +- .../{libqt6pas-1.0.0-r1.ebuild => libqt6pas-6.2.7.ebuild} | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/dev-libs/libqt6pas/Manifest b/dev-libs/libqt6pas/Manifest index decf4b455c49..bafdbea1a0b3 100644 --- a/dev-libs/libqt6pas/Manifest +++ b/dev-libs/libqt6pas/Manifest @@ -1 +1 @@ -DIST libqt6pas-1.0.0.tar.gz 87513233 BLAKE2B 26e8492194541453230832591445b97827e65b61531078cb4bd1c9f549bcd0aa531fef036f701de885e96f9e56476b0dd1c9465e2388ea43080ba418acbd097e SHA512 85cb3548fab017f2fd97f5fb141d59a0d0ec1412a161f98fea726ad5d6ed32ee2eb6ef6573e058d4df7dfcc067256e842acf994b73c9a50ebfb064657db33881 +DIST lazarus-3.0-0.tar.gz 87513233 BLAKE2B 26e8492194541453230832591445b97827e65b61531078cb4bd1c9f549bcd0aa531fef036f701de885e96f9e56476b0dd1c9465e2388ea43080ba418acbd097e SHA512 85cb3548fab017f2fd97f5fb141d59a0d0ec1412a161f98fea726ad5d6ed32ee2eb6ef6573e058d4df7dfcc067256e842acf994b73c9a50ebfb064657db33881 diff --git a/dev-libs/libqt6pas/libqt6pas-1.0.0-r1.ebuild b/dev-libs/libqt6pas/libqt6pas-6.2.7.ebuild similarity index 72% rename from dev-libs/libqt6pas/libqt6pas-1.0.0-r1.ebuild rename to dev-libs/libqt6pas/libqt6pas-6.2.7.ebuild index 7f46fe8537ee..7d80f173c527 100644 --- a/dev-libs/libqt6pas/libqt6pas-1.0.0-r1.ebuild +++ b/dev-libs/libqt6pas/libqt6pas-6.2.7.ebuild @@ -3,17 +3,22 @@ EAPI=8 +# Get PV from lcl/interfaces/qt6/cbindings/Qt6Pas.pro inherit qmake-utils -MY_P="lazarus-3.0-0" +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-${LAZARUS_PV}-0" DESCRIPTION="Free Pascal Qt6 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/qt6/cbindings" LICENSE="LGPL-3" -SLOT="0/3.0" +SLOT="0/${LAZARUS_PV}" KEYWORDS="~amd64 ~x86" DEPEND="
