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.0.11.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/trinity-base/quanta/Manifest b/trinity-base/quanta/Manifest
index 7aa2f7ce..9f0c8470 100644
--- a/trinity-base/quanta/Manifest
+++ b/trinity-base/quanta/Manifest
@@ -2,3 +2,4 @@ DIST css.tar.bz2 121594 BLAKE2B d35e72ed4f9a17b9324aaca5bb3817ef6acbe46ca40be537
DIST html.tar.bz2 93487 BLAKE2B e92e5d1266d465fab9a443bb190b5870bf3fae3a0e2a57265ff85d7f9db4e36275368f4c0b0e53de1ce413e994a6ac9178912ead3312ef2872a54f2bf0400f8e SHA512 b48b37efbd444bde4c1177ad5aeef0e95721d4d73b8b8b57d384c93932394d8e161ec2230ec8d2c83b66f00704cf66220c01dc0c53aecca3bfa22a77785ad18e
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.0.11.tar.xz 4959612 BLAKE2B 4490ec3b18f9afdb083163c1abf1cfd758826ab6ae11e721e061f3a8c7cc25eb7a72d28e791bf4e557c1dd0a79d644e40594102ce33f043611587266b4333f9b SHA512 a19fae6682d70e33605a18666ee1de57517398c3039784adc5bbeb2f84f705e8d27510b8a751371fbc07c0a315cb95f72d0bc0bb2f7c3363fc15f6e6a601b2f4
diff --git a/trinity-base/quanta/quanta-14.0.11.ebuild b/trinity-base/quanta/quanta-14.0.11.ebuild
new file mode 100644
index 00000000..7a4070a2
--- /dev/null
+++ b/trinity-base/quanta/quanta-14.0.11.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2021 Gentoo Authors
+# Copyright 2021 The Trinity Desktop Project
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+TRINITY_MODULE_NAME="tdewebdev"
+TRINITY_MODULE_TYPE="core"
+
+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 ~x86"
+fi
+IUSE=""
+
+DEPEND="
+ app-text/tidy-html5
+ dev-libs/libxml2
+ dev-libs/libxslt
+ ~trinity-base/klinkstatus-${PV}
+ ~trinity-base/kommander-${PV}
+ ~trinity-base/tdefilereplace-${PV}
+"
+
+RDEPEND="${DEPEND}"
+
+TSM_EXTRACT_ALSO="lib/"
+
+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 <<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
+}