summaryrefslogtreecommitdiff
path: root/app-text/xchm
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/xchm')
-rw-r--r--app-text/xchm/Manifest4
-rw-r--r--app-text/xchm/xchm-1.36.ebuild4
-rw-r--r--app-text/xchm/xchm-1.37.ebuild48
3 files changed, 53 insertions, 3 deletions
diff --git a/app-text/xchm/Manifest b/app-text/xchm/Manifest
index 898ef95909ac..be49f974ef3b 100644
--- a/app-text/xchm/Manifest
+++ b/app-text/xchm/Manifest
@@ -1,5 +1,7 @@
AUX xchm.desktop 251 BLAKE2B 69b8a13fbf6129aedb89f558541728bdce055a585387d1cec49c08f86b6a5d972287b63fe2ba719b83bcab9270e07c1c0d50ccaeff36bc8cd291fa7602a67863 SHA512 c17e6e3957d4c0720e43dd64b169daf221e26652fd6487d2838a4c4aa86cd9640e651d55e6bc28dd4c4cc7b37624baf83df55061583f65eeecc592bd2c9a5e54
AUX xchm.xml 257 BLAKE2B 0b32e654afe5af057c219830f61989e2266d55c726b90cc73795ab260034e162d16af2ecce463d74feb136b5b7bfd6e8544a56d883c349bf3158f750aba05212 SHA512 c2dc02da01dce9be31c92d95c28d8ada8c9532499d4f5d8875b41a42bd1f070f6f938e7f4cafdb8d42b13298d81eb03c3347e19c70b395f872888fac5a658533
DIST xchm-1.36.tar.gz 882212 BLAKE2B 8f11457664748fa3effb23102b23ee59c3184a408f6defa3bc7d7bf90c97357a74d33f5da6b7098011a1c23a9f3dd9a523076e367aa9547c9d72f25296b6c787 SHA512 0b7397cd188e47cf9e39c21081428356d858d7ff7e82dd928ef728f32d962ecd485ef2b44ff0c063bde67a605d7a4610f1f5100d1c30d691e6546434c615da65
-EBUILD xchm-1.36.ebuild 970 BLAKE2B fd7d4bc7418ddbac04bf7cddc644a0e64aac84fd71791990324cb760958e8849a179d384307831d2c461380aba50e8a2e50981e968ff976a1629423627c1a2de SHA512 0da57cd10a1c51a71f30b0ec814b3da548aea3ec46b1006ccca34c3e2d00a880f14373362f5305df890d34c11cb55191b5691419dccf10ebae14e3a3aaf0befe
+DIST xchm-1.37.tar.gz 893765 BLAKE2B 2dcfde8af982ad6ed65cd46f0897264785d5515ab8a9d1c898b9e8b794076a5be4c270da7c70f51919230881c8102bcd39054bd147e0c5e796f6f031f452d831 SHA512 284cdd92788aaa11be3cfbfb10c6537d465625bf9acfb40a0a8859f2c9b5fefc1f454a81046c86638d7dbad31a2bba7d859c34b945d9e8557287279c9572c0ac
+EBUILD xchm-1.36.ebuild 971 BLAKE2B 95430aaa0547ddb70ca05e201b7e0b4264c2d8897d905c965fa2a5c5d9cf48a15078c40335c223f0ef09db03728ce7b6edc8cf21de142cbe5fce881fc8ad953d SHA512 1390a6fb71c850b7c40752c3747dd37080fc99d37f0defc9eeddfbdd2c0464c7b4fbf849dd23299a7421013d1ba09d333e1bb20e2ea5ab66e2b235d457964dd1
+EBUILD xchm-1.37.ebuild 974 BLAKE2B f0e24780dbe3e432f151188888dfaf369c312f6cc2413a9215fb02d499c9c487745abdde3433678ea01b480b66c386ccfa7b3db334e325e38c76ee289103051b SHA512 56ea09bdd671bf59f95d28c9c4a5f2bc0ad5b97ef13917355c3430e89e5f9f4401de855d5f3602365524ff36f413833e54ff6d7ae66d416126253ac331f49745
MISC metadata.xml 244 BLAKE2B 2d972e9f5dac326cdbc31f9f3679feba1d8649c8ad7a0f6e719c5251372edcf1e806b50e199457f344af157239040b8b54ace83bd3a3a8651bb0967e5747b573 SHA512 3024c169da615543255a69d6a6d8910b4c231cdee4a098119840b8fd47a7ba73aa0d1ac078ee2796990e0a3a0ff260fca74a1442be230dbd25473beb20b56dcf
diff --git a/app-text/xchm/xchm-1.36.ebuild b/app-text/xchm/xchm-1.36.ebuild
index 4abfca557e5d..96d2b5563bf2 100644
--- a/app-text/xchm/xchm-1.36.ebuild
+++ b/app-text/xchm/xchm-1.36.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -11,7 +11,7 @@ DESCRIPTION="Utility for viewing Compiled HTML Help (CHM) files"
HOMEPAGE="https://github.com/rzvncj/xCHM/"
SRC_URI="https://github.com/rzvncj/xCHM/releases/download/${PV}/${P}.tar.gz"
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ppc ~riscv x86"
IUSE="nls"
diff --git a/app-text/xchm/xchm-1.37.ebuild b/app-text/xchm/xchm-1.37.ebuild
new file mode 100644
index 000000000000..4dfc4de5e884
--- /dev/null
+++ b/app-text/xchm/xchm-1.37.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+WX_GTK_VER="3.2-gtk3"
+
+inherit desktop wxwidgets xdg-utils
+
+DESCRIPTION="Utility for viewing Compiled HTML Help (CHM) files"
+HOMEPAGE="https://github.com/rzvncj/xCHM/"
+SRC_URI="https://github.com/rzvncj/xCHM/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~riscv ~x86"
+IUSE="nls"
+
+RDEPEND=">=dev-libs/chmlib-0.36
+ x11-libs/wxGTK:${WX_GTK_VER}[X]
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}"
+BDEPEND="nls? ( sys-devel/gettext )"
+
+src_configure() {
+ setup-wxwidgets
+ econf $(use_enable nls)
+}
+
+src_install() {
+ default
+
+ domenu "${FILESDIR}"/xchm.desktop
+ insinto /usr/share/mime/packages
+ doins "${FILESDIR}"/xchm.xml
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+ xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+ xdg_mimeinfo_database_update
+}