commit:     768189442ef070c6f5f5b4224b85b5975c3167cd
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  6 22:57:34 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Feb  6 22:57:34 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76818944

games-kids/gcompris: add 25.0

Closes: https://bugs.gentoo.org/946126
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 games-kids/gcompris/Manifest             |  1 +
 games-kids/gcompris/gcompris-25.0.ebuild | 52 ++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/games-kids/gcompris/Manifest b/games-kids/gcompris/Manifest
index 1479734b442b..08a09e77e8f2 100644
--- a/games-kids/gcompris/Manifest
+++ b/games-kids/gcompris/Manifest
@@ -1 +1,2 @@
 DIST gcompris-qt-2.4.tar.xz 50509640 BLAKE2B 
0d0515002a979aa4dbee70bede1575eb3b8f2eb5e78ef448a75bbf50802c80beb5f34e7e307a3ab453074631a1a67bcbabfe39c214ae0b1028e6bcd02db152a8
 SHA512 
8bafb4155e8053f7648ca015d43b439635dbdee37e24f2791faab08ec6639f0285a3154cfc3cbd5588b5860542100aa6f61bfda4753f8b835d91a354fe138c9b
+DIST gcompris-qt-25.0.tar.xz 49665152 BLAKE2B 
b1bf8cc943e8e3b3933b13660af2bc28680c03e1c6edc5c24972217769204f234a263a1eb6a1f7948bbfd773989dfa3765be8ff9743be513ce0bdc992ac5f95a
 SHA512 
932c763e80003ab10f0c3af419380445c248a4d93564a86fdf0c2ec77696cb7a2650f3657a9ebb0898332a29241d8719ae7134bc063469dda2b0ce0c992d6555

diff --git a/games-kids/gcompris/gcompris-25.0.ebuild 
b/games-kids/gcompris/gcompris-25.0.ebuild
new file mode 100644
index 000000000000..a8f17e9da2a3
--- /dev/null
+++ b/games-kids/gcompris/gcompris-25.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="optional"
+ECM_TEST="true"
+KFMIN=6.5.0
+QTMIN=6.7.2
+inherit ecm kde.org
+
+DESCRIPTION="Full featured educational application for children from 2 to 10"
+HOMEPAGE="https://gcompris.net/";
+
+if [[ ${KDE_BUILD_TYPE} = release ]]; then
+       SRC_URI="https://gcompris.net/download/qt/src/${PN}-qt-${PV}.tar.xz";
+       KEYWORDS="~amd64 ~x86"
+       S="${WORKDIR}/${PN}-qt-${PV}"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="kiosk"
+
+DEPEND="
+       >=dev-qt/qtbase-${QTMIN}:6[gui,network,widgets]
+       >=dev-qt/qtcharts-${QTMIN}:6
+       >=dev-qt/qtdeclarative-${QTMIN}:6
+       >=dev-qt/qtmultimedia-${QTMIN}:6
+       >=dev-qt/qtsensors-${QTMIN}:6
+       >=dev-qt/qtsvg-${QTMIN}:6
+"
+RDEPEND="${DEPEND}
+       >=dev-qt/qtmultimedia-${QTMIN}:6[qml]
+       >=dev-qt/qtsensors-${QTMIN}:6[qml]
+"
+BDEPEND="
+       >=dev-qt/qttools-${QTMIN}:6[linguist]
+       test? (
+               dev-util/cppcheck
+               llvm-core/clang
+       )
+"
+
+src_configure() {
+       local mycmakeargs=(
+               -DCOMPILE_DOC=ON
+               -DQML_BOX2D_MODULE=disabled
+               -DWITH_KIOSK_MODE=$(usex kiosk)
+       )
+       ecm_src_configure
+}

Reply via email to