diff options
Diffstat (limited to 'trinity-base/quanta')
-rw-r--r-- | trinity-base/quanta/Manifest | 1 | ||||
-rw-r--r-- | trinity-base/quanta/quanta-14.0.13.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/trinity-base/quanta/Manifest b/trinity-base/quanta/Manifest index 945b232b..3521b326 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.0.12.tar.xz 4976768 BLAKE2B 6a508b68e5efc1d423eb657b3a888ba20583ee1f23c3bab93ba8874b12320219a78e056e9e0fe8ad85c1ae476af0cdda9c4f9aa406431198f4ee56c1c206d7db SHA512 23d76a12f603db12f9378413106d32e181928221ea867b816f974d170f7424ea28640d10520a89d547af88ce6718519e598c877530f238c19dac048e1cd52ab5 +DIST tdewebdev-trinity-14.0.13.tar.xz 4976352 BLAKE2B dd89118e447b2355097a20d91d2671cc9b19d579e4ce2c20a257ea67e4d2413ebb2ad86afc489534040575aecda3512fb58aa08964c50fe34b009cc9d11781ff SHA512 b70f042fd3ff46ec70767b088fb0c8d3fa77b7851d0b6643ecabee578ddb72aac3b5a8193e096b7b0c3ddb2f4f39fe05ef06de65920e812ec0bbafb5c1dbec91 diff --git a/trinity-base/quanta/quanta-14.0.13.ebuild b/trinity-base/quanta/quanta-14.0.13.ebuild new file mode 100644 index 00000000..5e888940 --- /dev/null +++ b/trinity-base/quanta/quanta-14.0.13.ebuild @@ -0,0 +1,67 @@ +# 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" +TRINITY_HANDBOOK="optional" +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 <<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 +} |