summaryrefslogtreecommitdiffstats
path: root/trinity-base/kstars
diff options
context:
space:
mode:
authorormorph <[email protected]>2023-10-27 13:50:17 +0300
committerSlávek Banko <[email protected]>2023-10-29 10:05:05 +0100
commit271fc0de62480ffa8a1525e07b833079c96ca6bd (patch)
treefe24a566266198330ff71db390413fdf7a9d63af /trinity-base/kstars
parent8e955e3a507fd32d4b98df0893bb2dfa83b48eb8 (diff)
downloadtde-packaging-gentoo-271fc0de62480ffa8a1525e07b833079c96ca6bd.tar.gz
tde-packaging-gentoo-271fc0de62480ffa8a1525e07b833079c96ca6bd.zip
Release R14.1.1 added
Signed-off-by: ormorph <[email protected]> (cherry picked from commit 18d39ed9f062321b596258a9137f10b3e93b71e0)
Diffstat (limited to 'trinity-base/kstars')
-rw-r--r--trinity-base/kstars/Manifest1
-rw-r--r--trinity-base/kstars/kstars-14.1.1.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/trinity-base/kstars/Manifest b/trinity-base/kstars/Manifest
index feb0e189..80b7129f 100644
--- a/trinity-base/kstars/Manifest
+++ b/trinity-base/kstars/Manifest
@@ -1 +1,2 @@
DIST tdeedu-trinity-14.1.0.tar.xz 24697508 BLAKE2B fa3002581d37481b9c7e55a83ac934988b04d9164992d96e3576498af2c3e402b9b917e3e55f74a9db7d356c8c7b101fd6185916aef54b75d0c6b9eb98f2f341 SHA512 eaeacde4ed27f455faaa42d730477e4ef94d02b9902efbd86aee3ff921fc7bf2069f60c63db7ce57b5c188308745ba449f711eafe466af3b00734fd176b4a57e
+DIST tdeedu-trinity-14.1.1.tar.xz 24697532 BLAKE2B 8a516c18a1dddc6a3fae01ad96df006fe60ad22515802ffc351fbc11fcc2cc9c347877b60790d44f538f5dc167a7b491f4083b1b2350489882f83676eb4a1cac SHA512 4216fdb31db332872bc09619feb9127944092495be4cc586d4e33d0df34d06658f3ba47b8baafd33c08f8f1a752ba6c8c828f16e1569a0b5b658477328cd28f2
diff --git a/trinity-base/kstars/kstars-14.1.1.ebuild b/trinity-base/kstars/kstars-14.1.1.ebuild
new file mode 100644
index 00000000..cbd3e755
--- /dev/null
+++ b/trinity-base/kstars/kstars-14.1.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2022-2023 The Trinity Desktop Project
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+TRINITY_MODULE_NAME="tdeedu"
+TRINITY_MODULE_TYPE="core"
+TRINITY_HANDBOOK="optional"
+TSM_EXTRACT_ALSO="libtdeedu translations"
+inherit trinity-meta-2
+
+DESCRIPTION="Desktop planetarium for Trinity"
+if [[ ${PV} != *9999* ]] ; then
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+IUSE="usb v4l"
+
+DEPEND="~trinity-base/libtdeedu-${PV}
+ usb? ( virtual/libusb:0 )
+ v4l? ( media-libs/libv4l )
+ "
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -i -e '/add_subdirectory( applnk )/d' \
+ -e '/add_subdirectory( libtdeedu )/d' "${S}/CMakeLists.txt" || die
+ sed -i -e 's/tdeeduplot-shared/tdeeduplot/g' \
+ -e 's/tdeeduui-shared/tdeeduui/g' -e 's/extdate-shared/extdate/g' \
+ "${S}/${PN}/${PN}/CMakeLists.txt" || die
+ sed -i 's/tdeeduplot-shared/tdeeduplot/' "${S}/${PN}/${PN}/tools/CMakeLists.txt" || die
+ # Removing unnecessary dependencies
+ sed -i ':a;N;$!ba;s/tdeeduui/file-delet/2' "${S}/${PN}/${PN}/CMakeLists.txt" || die
+ sed -i ':a;N;$!ba;s/tdeeduplot/file-delet/2' "${S}/${PN}/${PN}/CMakeLists.txt" || die
+ sed -i ':a;N;$!ba;s/extdate/file-delet/2' "${S}/${PN}/${PN}/CMakeLists.txt" || die
+ sed -i '/file-delet/d' "${S}/${PN}/${PN}/CMakeLists.txt" || die
+ trinity-meta-2_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_LIBUSB=$(usex usb ON OFF )
+ -DWITH_V4L=$(usex v4l ON OFF )
+ )
+ trinity-meta-2_src_configure
+}