From 94ec1d06986a97431ffc44951e92b075da19b93b Mon Sep 17 00:00:00 2001 From: ormorph Date: Sun, 28 Apr 2024 17:23:47 +0300 Subject: Add new TDE-14.1.2 Signed-off-by: ormorph (cherry picked from commit 30335515923be5f5ee02981121d2cdb6ad89978d) --- trinity-base/kstars/kstars-14.1.2.ebuild | 45 ++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 trinity-base/kstars/kstars-14.1.2.ebuild (limited to 'trinity-base/kstars/kstars-14.1.2.ebuild') diff --git a/trinity-base/kstars/kstars-14.1.2.ebuild b/trinity-base/kstars/kstars-14.1.2.ebuild new file mode 100644 index 00000000..2e4527fd --- /dev/null +++ b/trinity-base/kstars/kstars-14.1.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 2022-2024 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" +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