diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-04 22:13:37 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-04 22:13:37 +0000 |
commit | 39ca6159b9ac903dc56818918d9f97bc831f0955 (patch) | |
tree | e9b34845be7f96bc244fd239f6dd8090096ce703 /app-text/sigil | |
parent | bc968d15e7f24968eb69567c7f2fca470fdedacd (diff) |
gentoo auto-resync : 04:11:2023 - 22:13:37
Diffstat (limited to 'app-text/sigil')
-rw-r--r-- | app-text/sigil/Manifest | 4 | ||||
-rw-r--r-- | app-text/sigil/sigil-2.0.1-r2.ebuild | 2 | ||||
-rw-r--r-- | app-text/sigil/sigil-2.0.2.ebuild | 103 |
3 files changed, 107 insertions, 2 deletions
diff --git a/app-text/sigil/Manifest b/app-text/sigil/Manifest index 6e258459936e..250616b88a76 100644 --- a/app-text/sigil/Manifest +++ b/app-text/sigil/Manifest @@ -1,6 +1,8 @@ DIST Sigil_User_Guide_2022.05.17.epub 8894634 BLAKE2B 8a7c5b5add54d87dfe791a0dbbc0c6cd37ae2eb2ff77f46ae36643785fb714d9fbc0fe470d024f7112be2933ca4fb57a4bfdfd340083be15fffca69296640ea9 SHA512 bac3f55d28d02f53c8fdac51333194e0f27c6669876360a6d0244b1e2683dae0e7046977fab6e75dba7170c8aca3a7539f3d6cddab3ddc3e45985930c455968a DIST sigil-1.9.30.tar.gz 26602897 BLAKE2B 554af2aa4c26994c065023839ea29b190eea501cac1183d58dcf2439ebca89e0a56848aaec1d668cfb84555c6830eaf6d32efdc82b08e0c94d7b6ba95dd7ff8b SHA512 80dcaa9dcee51c36a42bcd57fc87acda94002af74602d934c7e9bfd275339d9ac200cd1f141fb9e2709ac054569bc22f1869623498ce16c636a3fab8dae4e70f DIST sigil-2.0.1.tar.gz 26778961 BLAKE2B d2bdd3c24410285eea3e3655638f2aa2ec8b84b60b8dadda9ad2e40a404e61eebf93ecc188b0aa08967aef42e34c83c884853cdd782a7bc8c5a0d6d235058cfe SHA512 9ba8fd2e844288eae01be9e65e3fc210eeeb096e54c83ebcea5c95be9c1ce44054f19589c294e812f8bc6bb489aebdf237670121b254e9b1c55cc10622f03f81 +DIST sigil-2.0.2.tar.gz 26683849 BLAKE2B 4e72f63553569339710b7dd19992d9498c068235cf90189df2957ed8cec9963e5b53d2ba96313734e911d55e665ac95317b334274ed118874d8e499971f2e85a SHA512 b6fa7ff7e9fa568f93c61755f531e51cb26e149118da7873dafccacb1495346276389780435270237ed3d60e9c56fc153de9548859563039ea3070d347a1f6ca EBUILD sigil-1.9.30-r1.ebuild 1939 BLAKE2B a04c014fc9382636eeb70bd26315506010c7b5747f9f5b580ea3293f738279453c3e0537394eadde09c73cf99e7c479411e9e41cb265be4a174aeeefdc54bee8 SHA512 84e0231a1c97493a31b09ba1ff7fe34bf109a86c79e815dc3f26571024019a970f2603fd289a866df343c234a66eedcac53ac33c0e589837c00d7b8b39c206fc -EBUILD sigil-2.0.1-r2.ebuild 2659 BLAKE2B 71655c62ea58fb2c4fe457c0826fe7df5a77ce4dcf97b493f7cbbab3016a5b0894d081621c31a410c902e9913dec5886804850e9e52e0212a90531867630bd6b SHA512 6729ded321d8a0d93144bcf4e2317ac0a97b371e7892a2c6d4cbf222d79f9af426f265e6ffc72a02d72668c7b945fdd8c79934f277547d6a2105af34e20bc169 +EBUILD sigil-2.0.1-r2.ebuild 2658 BLAKE2B b114133de77fb6c32cc37b4114914279490bfd92d75a843221dc1d23159b21b6c4a6dc380455af7d7eeee05c19e6e225b12440e5d286234cf4860b344d5bad72 SHA512 be2508c968d194bb38442a04bea8fb1abb63093acc0822f954a353810cf0a6c9b04b1170831a3021daf8d627e5d8e78f19ff0f940f5ce73ed6a610ccf1a3cd32 +EBUILD sigil-2.0.2.ebuild 2660 BLAKE2B f883a2316f07a4c8f19c62a381939096d6d65e70f689c05a39973f78a16c250e1c95030e08a1bed2504d13411b719fd0d460c74745f16fb0e4260c846c0e3ce0 SHA512 0595a80e82a86c029168375be9cfd48d433db174d6c8825614311ba25ca81f1861a456ab22575c45008dd54f3a7c3f912af4de624956c5bd787495a61f9c6b83 MISC metadata.xml 706 BLAKE2B 394811d292869d61297ed01ce36223cd0eb33b6ea21db9cfe6e87911d7f30801977f8b66663085a289bf9f6870fd64d72c1d706c7b9516d2e09585783772a4dc SHA512 a98d16ad1760d359f9ab915d472747fe3f1dc229f41b10980f1ccd3436091f8dec0ee800fed7e531413eb77826a7873ce3e2e3bf8c2d478b4d1ec1ccc16e5b68 diff --git a/app-text/sigil/sigil-2.0.1-r2.ebuild b/app-text/sigil/sigil-2.0.1-r2.ebuild index 811273ac57e9..931bfcbf5f66 100644 --- a/app-text/sigil/sigil-2.0.1-r2.ebuild +++ b/app-text/sigil/sigil-2.0.1-r2.ebuild @@ -18,7 +18,7 @@ S="${WORKDIR}/${P^}" LICENSE="GPL-3+ Apache-2.0" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="doc +plugins qt6" REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/app-text/sigil/sigil-2.0.2.ebuild b/app-text/sigil/sigil-2.0.2.ebuild new file mode 100644 index 000000000000..3d649a6bb01b --- /dev/null +++ b/app-text/sigil/sigil-2.0.2.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) + +inherit xdg cmake python-single-r1 + +DOC_VERSION="2022.05.17" +DOC_FILE="Sigil_User_Guide_${DOC_VERSION}.epub" + +DESCRIPTION="Multi-platform WYSIWYG ebook editor for ePub format" +HOMEPAGE="https://sigil-ebook.com/ https://github.com/Sigil-Ebook/Sigil" +SRC_URI="https://github.com/Sigil-Ebook/Sigil/archive/${PV}.tar.gz -> ${P}.tar.gz + doc? ( https://github.com/Sigil-Ebook/sigil-user-guide/releases/download/${DOC_VERSION}/${DOC_FILE} )" +S="${WORKDIR}/${P^}" + +LICENSE="GPL-3+ Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc +plugins qt6" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + app-text/hunspell:= + dev-libs/libpcre2:=[pcre16] + sys-libs/zlib[minizip] + $(python_gen_cond_dep ' + dev-python/css-parser[${PYTHON_USEDEP}] + dev-python/dulwich[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}]') + plugins? ( $(python_gen_cond_dep ' + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/cssselect[${PYTHON_USEDEP}] + dev-python/html5lib[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/regex[${PYTHON_USEDEP}] + ') + $(python_gen_impl_dep 'tk') ) + !qt6? ( + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtprintsupport:5 + dev-qt/qtwebengine:5[widgets] + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + plugins? ( $(python_gen_cond_dep ' + dev-python/PyQt5[${PYTHON_USEDEP}] + dev-python/PyQtWebEngine[${PYTHON_USEDEP}] + ') ) + ) + qt6? ( + dev-qt/qtbase:6[concurrent,cups,network,widgets,xml] + dev-qt/qt5compat:6 + dev-qt/qtwebengine:6[widgets] + plugins? ( $(python_gen_cond_dep ' + dev-python/PyQt6[${PYTHON_USEDEP}] + dev-python/PyQt6-WebEngine[${PYTHON_USEDEP}] + ') ) + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + virtual/pkgconfig + !qt6? ( dev-qt/linguist-tools:5 ) + qt6? ( dev-qt/qttools:6[linguist] ) +" + +DOCS=( ChangeLog.txt README.md ) + +src_configure() { + local mycmakeargs=( + -DTRY_NEWER_FINDPYTHON3=1 + -DPython3_INCLUDE_DIR="$(python_get_includedir)" + -DPython3_LIBRARY="$(python_get_library_path)" + -DPython3_EXECUTABLE="${PYTHON}" + + -DUSE_QT5=$(usex !qt6) + -DINSTALL_BUNDLED_DICTS=0 + -DSYSTEM_LIBS_REQUIRED=1 + -DUSE_SYSTEM_LIBS=1 + ) + # use system-mathjax && mycmakeargs+=( -DMATHJAX3_DIR="${EPREFIX}"/usr/share/mathjax ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + python_fix_shebang "${ED}"/usr/share/sigil/ + python_optimize "${ED}"/usr/share/sigil/ + + if use doc; then + dodoc "${DISTDIR}/${DOC_FILE}" + docompress -x /usr/share/doc/${PF}/${DOC_FILE} + fi +} |