From 345c52699ff344a3bd46c0ee5df765dc404ac3d1 Mon Sep 17 00:00:00 2001 From: ormorph Date: Fri, 28 Oct 2022 12:41:56 +0200 Subject: Added version 14.0.13 Signed-off-by: ormorph --- trinity-base/kstars/Manifest | 1 + trinity-base/kstars/kstars-14.0.13.ebuild | 45 +++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 trinity-base/kstars/kstars-14.0.13.ebuild (limited to 'trinity-base/kstars') diff --git a/trinity-base/kstars/Manifest b/trinity-base/kstars/Manifest index 420b51c7..ff4e5c04 100644 --- a/trinity-base/kstars/Manifest +++ b/trinity-base/kstars/Manifest @@ -1 +1,2 @@ DIST tdeedu-trinity-14.0.12.tar.xz 24697848 BLAKE2B a30088be53ba489aeaf7d8ca5958db47bf0e710724196077465bd65220b0ba88fa4f2f5ec9bf4d5fd032d039924b1c24901eb40be5a7115cf0050b9996168159 SHA512 d5841d609169e3d1b1c7ac98dcedfc8be78bbeff11e96efb59302a42d5f7423d27bbca98032a259fd0bed999a0b3ee2f54ec9ce8bbb101b560f8d05e6439f79a +DIST tdeedu-trinity-14.0.13.tar.xz 24701400 BLAKE2B 2e488a7826d0715d3d1c80dfa096192ddc4b83ade67bfe8f4762bee368dcea605b4e18cb545e0fbc7a231266902183497589498fca971fd38719a5db022e4d11 SHA512 a3968a695e12a6c8349b21b792f52bf6f6c138d012479fb7262612908242b27824dc62320dfdc6605b15eaa2a61a2c9602f338abd5fafbe8ec2549e29da8c8cb diff --git a/trinity-base/kstars/kstars-14.0.13.ebuild b/trinity-base/kstars/kstars-14.0.13.ebuild new file mode 100644 index 00000000..a3745f20 --- /dev/null +++ b/trinity-base/kstars/kstars-14.0.13.ebuild @@ -0,0 +1,45 @@ +# 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" +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 +} -- cgit v1.2.1