summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillermo Joandet <gjoandet@gmail.com>2023-08-25 13:48:07 -0300
committerArthur Zamarin <arthurzam@gentoo.org>2023-08-26 20:19:55 +0300
commit1eff0c2e08cc0bede7fb0db2ad8cee53dbd27ba1 (patch)
tree196a0d87d04d97f9c5e3293409015285a9a75b67 /app-text/cherrytree
parentdev-embedded/sdcc: add 4.3.0 (diff)
downloadgentoo-1eff0c2e08cc0bede7fb0db2ad8cee53dbd27ba1.tar.gz
gentoo-1eff0c2e08cc0bede7fb0db2ad8cee53dbd27ba1.tar.bz2
gentoo-1eff0c2e08cc0bede7fb0db2ad8cee53dbd27ba1.zip
app-text/cherrytree: Version bump to 1.0.1
Closes: https://bugs.gentoo.org/888717 Signed-off-by: Guillermo Joandet <gjoandet@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/32448 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-text/cherrytree')
-rw-r--r--app-text/cherrytree/Manifest1
-rw-r--r--app-text/cherrytree/cherrytree-1.0.1.ebuild74
2 files changed, 75 insertions, 0 deletions
diff --git a/app-text/cherrytree/Manifest b/app-text/cherrytree/Manifest
index d9e97d539930..4f47478b059d 100644
--- a/app-text/cherrytree/Manifest
+++ b/app-text/cherrytree/Manifest
@@ -2,3 +2,4 @@ DIST cherrytree_0.99.53.tar.xz 3465176 BLAKE2B b7af2ba4fb4be5aaba66eca55436c889b
DIST cherrytree_0.99.54.tar.xz 3500772 BLAKE2B bec969f75629da0488774a4ca18abd32bf6db50d4ad66418726cdfd7894901401d7d5af21678fb0886863154aea68286e25d4bbfb21f16a616ab0aa89d44da4b SHA512 c4e8ff4440fc688ee6b24279857452e00f85614dcf094b311a768479fcc842712171e4dcd0b121b865aedd2d854ed5906e7fc615a69a76d50af71b91bb29835e
DIST cherrytree_0.99.55.tar.xz 2449336 BLAKE2B 6e034b019a70849af99766085bc2c2e777e909a8d18f9b98943c6aeb1a0285573e3651cef1a2620f0eb9aad37d9f28cd871fbcff6f57e39bc89cd60ba4191028 SHA512 3c22df32fe0a4449607862c87aac46f52047a37a6404c848ce9a1e5308f87de7c5ca47c8e4abb21d1ecbe53bb7fc714fa7e0de0302caabd18e6eb2137c3438b6
DIST cherrytree_1.0.0.tar.xz 3746968 BLAKE2B 0f13dc25f04bc04db7d1e35de8b2f0dce45f1edcbb32705171edd19f3f508c188182036313267fb0289e98fdd64ea7fbd673f33a494997d5a873dfbe63006b0c SHA512 aa1e32be1cb99b11e158bb4d6a079a967f1b01109df76bc416cb1a11bf3628279dbf5a8ac9d476a2a9f2446f8e77d83a453891df8ea6b94ec97c3ea9b4294508
+DIST cherrytree_1.0.1.tar.xz 3682988 BLAKE2B 59bb5fca46c090bfa219a0a90c4a2db6307d38844ecbe8e153159b8c39bc8e3d52b6d07b48fa10a481839666134fd74c195ad03c87c8b8698b7ebfbf83a405d5 SHA512 07d334b1af40b0195e600e676a45d9d72d1c13c8cedee6b7e576abecff0898ea248708a4f3795a9c3030e716ad814009013fd98cffe616c25a118b2b564528d1
diff --git a/app-text/cherrytree/cherrytree-1.0.1.ebuild b/app-text/cherrytree/cherrytree-1.0.1.ebuild
new file mode 100644
index 000000000000..837ea599e0fc
--- /dev/null
+++ b/app-text/cherrytree/cherrytree-1.0.1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+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
+}