From 336d8ce82c00a00153a823a187dbc8e0bcf2c7a1 Mon Sep 17 00:00:00 2001 From: ormorph Date: Sat, 30 Apr 2022 20:47:27 +0300 Subject: Added version 14.0.12 Signed-off-by: ormorph --- trinity-base/quanta/quanta-14.0.12.ebuild | 66 +++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 trinity-base/quanta/quanta-14.0.12.ebuild (limited to 'trinity-base/quanta/quanta-14.0.12.ebuild') diff --git a/trinity-base/quanta/quanta-14.0.12.ebuild b/trinity-base/quanta/quanta-14.0.12.ebuild new file mode 100644 index 00000000..02f0f1c2 --- /dev/null +++ b/trinity-base/quanta/quanta-14.0.12.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2022 Gentoo Authors +# Copyright 2022 The Trinity Desktop Project +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +TRINITY_MODULE_NAME="tdewebdev" +TRINITY_MODULE_TYPE="core" +TSM_EXTRACT_ALSO="lib translations" + +inherit flag-o-matic trinity-meta-2 + +DESCRIPTION="Web development environment for TDE [Trinity]" +HOMEPAGE="https://trinitydesktop.org/" + +SRC_URI+=" + http://download.sourceforge.net/quanta/html.tar.bz2 + http://download.sourceforge.net/quanta/css.tar.bz2 + http://download.sourceforge.net/quanta/javascript.tar.bz2 + http://download.sourceforge.net/quanta/php_manual_en_20030401.tar.bz2" + +if [[ ${PV} != *9999* ]] ; then + KEYWORDS="~amd64 ~arm64 ~x86" +fi +IUSE="" + +DEPEND=" + app-text/htmltidy + dev-libs/libxml2 + dev-libs/libxslt + ~trinity-base/klinkstatus-${PV} + ~trinity-base/kommander-${PV} + ~trinity-base/tdefilereplace-${PV} +" + +RDEPEND="${DEPEND}" + +src_unpack() { + trinity-meta-2_src_unpack + unpack php_manual_en_20030401.tar.bz2 + cd "${S}" + unpack css.tar.bz2 + unpack javascript.tar.bz2 + unpack html.tar.bz2 +} + +src_configure() { + append-cxxflags "-std=c++11" + trinity-meta-2_src_configure +} + +src_install() { + dodir ${TDEDIR}/share/apps/quanta/doc + + for i in css html javascript ; do + pushd $i >/dev/null || die + ./install.sh </dev/null || die + rm -rf $i || die + done + cp -rf "${WORKDIR}/php" "${WORKDIR}/php.docrc" "${D}/${TDEDIR}/share/apps/quanta/doc" || die + + trinity-meta-2_src_install +} -- cgit v1.2.1