summaryrefslogtreecommitdiffstats
path: root/trinity-base/kstars
diff options
context:
space:
mode:
authorormorph <roma251078@mail.ru>2021-11-15 22:06:35 +0300
committerormorph <roma251078@mail.ru>2021-11-16 00:22:50 +0300
commit9f59a1d0c834bc706d6e74f0a0dc9f026e935b41 (patch)
treedbe2babfd8aea5f985063e94dcfa22679c93526f /trinity-base/kstars
parentffbff856abb47b6fb62cdd430211c67f67478c5b (diff)
downloadtde-packaging-gentoo-9f59a1d0c834bc706d6e74f0a0dc9f026e935b41.tar.gz
tde-packaging-gentoo-9f59a1d0c834bc706d6e74f0a0dc9f026e935b41.zip
Added ebuilds for stable version 14.0.11
Signed-off-by: ormorph <roma251078@mail.ru>
Diffstat (limited to 'trinity-base/kstars')
-rw-r--r--trinity-base/kstars/Manifest1
-rw-r--r--trinity-base/kstars/kstars-14.0.11.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/trinity-base/kstars/Manifest b/trinity-base/kstars/Manifest
new file mode 100644
index 00000000..09d8e53d
--- /dev/null
+++ b/trinity-base/kstars/Manifest
@@ -0,0 +1 @@
+DIST tdeedu-trinity-14.0.11.tar.xz 24698428 BLAKE2B 18c8f88c4ed47c5d04e68663b8c5383383f1c80281c2590624ee68fd8f201a767f591b7294c44f45c7f80100085c5f3977bd0c784b274d7ebf5b95d518f48622 SHA512 a5cbe9e6f1e63cb0bab2d3e9db3e563b018acd41073f52b6179635e8854956fd83792bfc364e7cc0f57a8825330cff7792a112d7d01f37e0c26f53cbba2d8ca3
diff --git a/trinity-base/kstars/kstars-14.0.11.ebuild b/trinity-base/kstars/kstars-14.0.11.ebuild
new file mode 100644
index 00000000..044ababd
--- /dev/null
+++ b/trinity-base/kstars/kstars-14.0.11.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2021 The Trinity Desktop Project
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+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 ~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
+}