summaryrefslogtreecommitdiffstats
path: root/trinity-base/quanta
diff options
context:
space:
mode:
Diffstat (limited to 'trinity-base/quanta')
-rw-r--r--trinity-base/quanta/Manifest1
-rw-r--r--trinity-base/quanta/quanta-14.1.2.ebuild71
2 files changed, 72 insertions, 0 deletions
diff --git a/trinity-base/quanta/Manifest b/trinity-base/quanta/Manifest
index 3da4dd46..2f4563c5 100644
--- a/trinity-base/quanta/Manifest
+++ b/trinity-base/quanta/Manifest
@@ -3,3 +3,4 @@ DIST html.tar.bz2 93487 BLAKE2B e92e5d1266d465fab9a443bb190b5870bf3fae3a0e2a5726
DIST javascript.tar.bz2 331710 BLAKE2B 3cbd68a69efb2e549506ae0bdc211267ed27948fef23310d34c7a9a8da55d7c238f598a0532c0ac54a6efc399f95c99698a959b1e4663587473b81b120b80fbf SHA512 996a65e1f29ec8cda85ef06c6f56a4b7cceabf8ae82454ccd1e5caa36537b8c9a406992b60cc7ad9f29fcb5b2ffd63a82b4cf10ab73cd4b66ca2d7ec9c01a00b
DIST php_manual_en_20030401.tar.bz2 1346608 BLAKE2B 298f8e95b1a4384d7f7393682b1bdbf797fae53a6ce4e258cf246529ff6faecf3fa92fd12ee6e9108684218f154f5079bcd7961747ce10dd81735946c9ac84b8 SHA512 b52ac0d7ef75ab6d13f28d1a77ed3975530be3cb2a1ac58b7bf45a4834b85cb832c8449e68a8c27d2f9c991cfb526c4206edc3598db957c36d620b7c81b77bb9
DIST tdewebdev-trinity-14.1.1.tar.xz 4136900 BLAKE2B c7d72ce08253bf94bf93bd6f1d9d41566e63f0629a7c07c872c899a9b563be4f41bd9ca092aa1f72a67f5b09e38998aec1bb019331e683cfb1353840c620d8c4 SHA512 f9c11514ccf36e638cef036994c4c3dc984387b0455ea392742a329de142a738575a0db54a0ac61adec9e5253a2f7d6fda95807f8aa6e5cee6edd868a99cb93f
+DIST tdewebdev-trinity-14.1.2.tar.xz 4136096 BLAKE2B f21256b842b3443876582adbc749e8f1be0461d6d54f99a406d8322c610feaefe7679a2109986572e664a31360515c85a172a33eb83047c42ad304d7479488ed SHA512 a8c37f5bfd637144a9baf303d86967796502b2572f0c918ba5891a609879f96738417a52a23f56978996a24e7cf4456a3a55cbf201528aa06234716e43e04a7c
diff --git a/trinity-base/quanta/quanta-14.1.2.ebuild b/trinity-base/quanta/quanta-14.1.2.ebuild
new file mode 100644
index 00000000..54476495
--- /dev/null
+++ b/trinity-base/quanta/quanta-14.1.2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2024 Gentoo Authors
+# Copyright 2022-2024 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"
+TRINITY_HANDBOOK="optional"
+TSM_EXTRACT_ALSO="lib"
+
+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
+
+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_prepare() {
+ cp "${FILESDIR}/externalpreview.sh" "${S}/quanta/scripts/externalpreview.sh" || die
+ trinity-meta-2_src_prepare
+}
+
+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 <<EOF
+${D}/${TDEDIR}/share/apps/quanta/doc
+EOF
+ popd >/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
+}