summaryrefslogtreecommitdiffstats
path: root/trinity-base/kstars
diff options
context:
space:
mode:
Diffstat (limited to 'trinity-base/kstars')
-rw-r--r--trinity-base/kstars/Manifest1
-rw-r--r--trinity-base/kstars/kstars-14.0.12.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/trinity-base/kstars/Manifest b/trinity-base/kstars/Manifest
index 09d8e53d..7c161804 100644
--- a/trinity-base/kstars/Manifest
+++ b/trinity-base/kstars/Manifest
@@ -1 +1,2 @@
DIST tdeedu-trinity-14.0.11.tar.xz 24698428 BLAKE2B 18c8f88c4ed47c5d04e68663b8c5383383f1c80281c2590624ee68fd8f201a767f591b7294c44f45c7f80100085c5f3977bd0c784b274d7ebf5b95d518f48622 SHA512 a5cbe9e6f1e63cb0bab2d3e9db3e563b018acd41073f52b6179635e8854956fd83792bfc364e7cc0f57a8825330cff7792a112d7d01f37e0c26f53cbba2d8ca3
+DIST tdeedu-trinity-14.0.12.tar.xz 24697848 BLAKE2B a30088be53ba489aeaf7d8ca5958db47bf0e710724196077465bd65220b0ba88fa4f2f5ec9bf4d5fd032d039924b1c24901eb40be5a7115cf0050b9996168159 SHA512 d5841d609169e3d1b1c7ac98dcedfc8be78bbeff11e96efb59302a42d5f7423d27bbca98032a259fd0bed999a0b3ee2f54ec9ce8bbb101b560f8d05e6439f79a
diff --git a/trinity-base/kstars/kstars-14.0.12.ebuild b/trinity-base/kstars/kstars-14.0.12.ebuild
new file mode 100644
index 00000000..fee3ab86
--- /dev/null
+++ b/trinity-base/kstars/kstars-14.0.12.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2022 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"
+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:1 )
+ 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
+ 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
+}