commit:     e6ec974ee966e19ec0cff73fdb7a968251a694a8
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 26 09:51:47 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Dec 26 10:17:17 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6ec974e

games-kids/gcompris: add 2.4

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

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

diff --git a/games-kids/gcompris/Manifest b/games-kids/gcompris/Manifest
index caa30e91afaf..4be980cd15ec 100644
--- a/games-kids/gcompris/Manifest
+++ b/games-kids/gcompris/Manifest
@@ -1 +1,2 @@
 DIST gcompris-qt-1.0.tar.xz 75856376 BLAKE2B 
d10e1c7f80d45214fea11e221cc6cc8910ddbc3446f431279b8047103b51ffe3dbcda387908bb3a66e383383ea83f85f350c1b7c3468420dea668764672422fa
 SHA512 
8ba89035f9e332b375808f3ba228f8ff211ef08a8edc0637399b5d00cd99120700c89e01c2e5ebd5e90a958229f34034f11c1bbdba044381005f588252af3c86
+DIST gcompris-qt-2.4.tar.xz 50509640 BLAKE2B 
0d0515002a979aa4dbee70bede1575eb3b8f2eb5e78ef448a75bbf50802c80beb5f34e7e307a3ab453074631a1a67bcbabfe39c214ae0b1028e6bcd02db152a8
 SHA512 
8bafb4155e8053f7648ca015d43b439635dbdee37e24f2791faab08ec6639f0285a3154cfc3cbd5588b5860542100aa6f61bfda4753f8b835d91a354fe138c9b

diff --git a/games-kids/gcompris/gcompris-2.4.ebuild 
b/games-kids/gcompris/gcompris-2.4.ebuild
new file mode 100644
index 000000000000..76d6504fe538
--- /dev/null
+++ b/games-kids/gcompris/gcompris-2.4.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="optional"
+ECM_TEST="true"
+QTMIN=5.15.5
+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/qtdeclarative-${QTMIN}:5
+       >=dev-qt/qtgui-${QTMIN}:5
+       >=dev-qt/qtmultimedia-${QTMIN}:5
+       >=dev-qt/qtnetwork-${QTMIN}:5
+       >=dev-qt/qtsensors-${QTMIN}:5
+       >=dev-qt/qtsvg-${QTMIN}:5
+"
+RDEPEND="${DEPEND}
+       >=dev-qt/qtgraphicaleffects-${QTMIN}:5
+       >=dev-qt/qtmultimedia-${QTMIN}:5[gstreamer,qml]
+       >=dev-qt/qtquickcontrols-${QTMIN}:5
+"
+BDEPEND="
+       >=dev-qt/linguist-tools-${QTMIN}:5
+       test? (
+               dev-util/cppcheck
+               sys-devel/clang
+       )
+"
+
+src_configure() {
+       local mycmakeargs=(
+               -DQML_BOX2D_MODULE=disabled
+               -DWITH_KIOSK_MODE=$(usex kiosk)
+       )
+       ecm_src_configure
+}

Reply via email to