mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-lang/lazarus: update lazarus-3.0 and libqt6pas-1.0 dependency
1. remove qt5 from possible USE flags, we're targeting on qt6 2. use 3.0 for 3rd major version of lazarus and dependencies Signed-off-by: Denis Pronin <dannftk@yandex.ru> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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,10 +16,10 @@ 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 )"
|
||||
IUSE="+gui gtk2 gtk qt6 extras"
|
||||
REQUIRED_USE="extras? ( gui )"
|
||||
|
||||
# Pascal ignores CFLAGS and does its own stripping. Nothing else can be done about it.
|
||||
QA_FLAGS_IGNORED="
|
||||
@@ -40,8 +40,7 @@ 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 )
|
||||
qt6? ( dev-libs/libqt6pas:0/3.0 )
|
||||
)
|
||||
"
|
||||
BDEPEND="net-misc/rsync"
|
||||
@@ -71,8 +70,6 @@ src_compile() {
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user