diff options
author | Guillermo Joandet <gjoandet@gmail.com> | 2023-03-11 18:13:34 -0300 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-03-11 21:22:40 +0000 |
commit | ab9087e29facf1b41401b881f436e6f972332b18 (patch) | |
tree | 5f9078efcfd7f62afc284cb344a33f005e3a3f91 /app-text/cherrytree | |
parent | app-editors/remarkable: misc fixes (diff) | |
download | gentoo-ab9087e29facf1b41401b881f436e6f972332b18.tar.gz gentoo-ab9087e29facf1b41401b881f436e6f972332b18.tar.bz2 gentoo-ab9087e29facf1b41401b881f436e6f972332b18.zip |
app-text/cherrytree: Version bump to 0.99.55
Signed-off-by: Guillermo Joandet <gjoandet@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text/cherrytree')
-rw-r--r-- | app-text/cherrytree/Manifest | 1 | ||||
-rw-r--r-- | app-text/cherrytree/cherrytree-0.99.55.ebuild | 74 |
2 files changed, 75 insertions, 0 deletions
diff --git a/app-text/cherrytree/Manifest b/app-text/cherrytree/Manifest index 9aa0c4248a97..1882814e067e 100644 --- a/app-text/cherrytree/Manifest +++ b/app-text/cherrytree/Manifest @@ -1,3 +1,4 @@ DIST cherrytree_0.99.51.tar.xz 4429456 BLAKE2B c4673e8c086882cb8be6b6d04cadb6353a82e3bb1c7062ab442992338154908a30a4cfd0b59101b7a88116846abcffaa213ddc37cd715df7eb133a333b881ae2 SHA512 98bcbfcb578970c9709f96926b0a9f5100ffe620453519e4292620fe9526c9134ac72f399703b045e4a433565d8a05e0f8fde126f48d458e7f9edb7b79ee34e6 DIST cherrytree_0.99.53.tar.xz 3465176 BLAKE2B b7af2ba4fb4be5aaba66eca55436c889bfc80fad7f6bdbfcf7fbfd2ecb05b6a0143d1c8599836d4c1a8dde3bfa235335cbebc05164ac03bca1de13b613bcbca0 SHA512 e6fdc9ae0c5638944c1a9c7d6f9cbd902c59b0823422010815e78c93133504546142211ca34456b18cadf5a25c093385927fe7f24adceb7f5997f42a957e8666 DIST cherrytree_0.99.54.tar.xz 3500772 BLAKE2B bec969f75629da0488774a4ca18abd32bf6db50d4ad66418726cdfd7894901401d7d5af21678fb0886863154aea68286e25d4bbfb21f16a616ab0aa89d44da4b SHA512 c4e8ff4440fc688ee6b24279857452e00f85614dcf094b311a768479fcc842712171e4dcd0b121b865aedd2d854ed5906e7fc615a69a76d50af71b91bb29835e +DIST cherrytree_0.99.55.tar.xz 2449336 BLAKE2B 6e034b019a70849af99766085bc2c2e777e909a8d18f9b98943c6aeb1a0285573e3651cef1a2620f0eb9aad37d9f28cd871fbcff6f57e39bc89cd60ba4191028 SHA512 3c22df32fe0a4449607862c87aac46f52047a37a6404c848ce9a1e5308f87de7c5ca47c8e4abb21d1ecbe53bb7fc714fa7e0de0302caabd18e6eb2137c3438b6 diff --git a/app-text/cherrytree/cherrytree-0.99.55.ebuild b/app-text/cherrytree/cherrytree-0.99.55.ebuild new file mode 100644 index 000000000000..589376ce484d --- /dev/null +++ b/app-text/cherrytree/cherrytree-0.99.55.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit cmake python-any-r1 xdg + +DESCRIPTION="A hierarchical note taking application (C++ version)" +HOMEPAGE="https://www.giuspen.com/cherrytree/" + +SRC_URI="https://github.com/giuspen/cherrytree/releases/download/${PV}/${P/-/_}.tar.xz" +S="${WORKDIR}"/${P/-/_} + +KEYWORDS="~amd64 ~x86" + +# GPL-3 — future/src/ct (CherryTree) +# LGPL-2.1 — future/src/7za (7zip) +# MIT — future/src/fmt (libfmt) +LICENSE="GPL-3 LGPL-2.1 MIT" +SLOT="0" +IUSE="nls test" + +# Has deps that aren't available in ::gentoo repo +RESTRICT="test" + +RDEPEND="app-i18n/uchardet + app-text/gspell:= + >=dev-cpp/glibmm-2.64.2:2 + dev-cpp/gtkmm:3.0 + dev-cpp/gtksourceviewmm:3.0 + dev-cpp/libxmlpp:2.6 + dev-cpp/pangomm:1.4 + dev-db/sqlite:3 + dev-libs/fribidi + dev-libs/glib:2 + dev-libs/libfmt:= + dev-libs/libxml2:2 + dev-libs/spdlog:= + >=x11-libs/vte-0.70.2:2.91 + net-misc/curl + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/pango" + +DEPEND="${PYTHON_DEPS} + ${RDEPEND}" + +BDEPEND=" + virtual/pkgconfig + nls? ( sys-devel/gettext ) + test? ( dev-util/cpputest )" + +src_prepare() { + # disable compress man pages + sed -i -e \ + '/install(FILES/s|${MANFILE_FULL_GZ}|${CMAKE_SOURCE_DIR}/data/cherrytree.1|' \ + CMakeLists.txt || die + + # python_fix_shebang . + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DPYTHON_EXEC="${PYTHON}" + -DUSE_NLS=$(usex nls) + -DBUILD_TESTING=$(usex test) + -DUSE_SHARED_FMT_SPDLOG=ON + ) + + cmake_src_configure +} |