diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-11-25 15:48:15 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-11-25 16:09:34 +0100 |
commit | a1f4538b709f5a898c8624593deff182300452fc (patch) | |
tree | 227157c3a365f214de092c01a808487d7f99c9b6 /app-text/xchm | |
parent | sys-kernel/vanilla-sources: Linux patch 5.4.0 (diff) | |
download | gentoo-a1f4538b709f5a898c8624593deff182300452fc.tar.gz gentoo-a1f4538b709f5a898c8624593deff182300452fc.tar.bz2 gentoo-a1f4538b709f5a898c8624593deff182300452fc.zip |
app-text/xchm: Version 1.31
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'app-text/xchm')
-rw-r--r-- | app-text/xchm/Manifest | 1 | ||||
-rw-r--r-- | app-text/xchm/xchm-1.31.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/app-text/xchm/Manifest b/app-text/xchm/Manifest index 4efdabefd7ac..936a9b844527 100644 --- a/app-text/xchm/Manifest +++ b/app-text/xchm/Manifest @@ -1,3 +1,4 @@ DIST xchm-1.23.tar.gz 474274 BLAKE2B de73c04e68b876edefb1d45d9e982bcce6fd3afa06f8704d05fa5cae710d9724ed20ca50be9022570832da9954ba2af141a66e5b3ab02554441c84bac1d6ffed SHA512 c0df4362ff6db8136b20f62a76e7e93185375f6ef9eeeb1001e27ead9806d486332573ba8c3ca1863a70ce6b1d3bcc6d3af48d42add719312774dccfd7d18c90 DIST xchm-1.29.tar.gz 972533 BLAKE2B e114047f4c3e19bb4d4c28a74997c76c54a2dc286f1f0691f105824be693e3b51c7618717b5b5b5f3604ab3f4fa89d703e071a36be0bd05529b6f44710b0bd20 SHA512 678cea2947d58e9b173379d6df809be603ca77431a3181ee45e3c1f4a4a55a6c10a395eecb5c25feb14ad361d044355ae313d537f0abc9278c6e5ab37a8768f6 DIST xchm-1.30.tar.gz 981171 BLAKE2B 6b2077e9cf8fa849121cee3681bd390218de1ce83c9c49117a186ddef107b15ee8f491eb93ae41ba8a2ea07ede306883ef0f8f0c357142e9ca333bdea8ebc50a SHA512 896d94f4fa3b728e37985b1a2e918596e20bed0a43cf90711d27ebfdcbe49e4a0794c17e1f6cfefb6f272adcc7fb22464e2c25c15d0f0afcbe94b867899eb1a5 +DIST xchm-1.31.tar.gz 981450 BLAKE2B c0c1908332f4d76f2c4dcf64ed713ae500d1b2022dedb5cb0df294fcdd1ce87d5144ca7347d6bc70b43af29f047ee270ffe05f1ee8da2dae5a5e0586c342900a SHA512 b5e1e979948d202163265f99357b361bb78371a2cc7cdedcc2d2c78207466c3f8291f720c92405913c7c5b9f607d3951a8bb3be3ece3ba1f408ceeb79199e9b5 diff --git a/app-text/xchm/xchm-1.31.ebuild b/app-text/xchm/xchm-1.31.ebuild new file mode 100644 index 000000000000..07a7c38f9ed6 --- /dev/null +++ b/app-text/xchm/xchm-1.31.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +WX_GTK_VER="3.0-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 ~x86" +IUSE="nls" + +RDEPEND=" + >=dev-libs/chmlib-0.36 + x11-libs/wxGTK:${WX_GTK_VER}[X] + nls? ( virtual/libintl ) +" +DEPEND=" + ${RDEPEND} + nls? ( sys-devel/gettext ) +" + +src_configure() { + econf $(use_enable nls) +} + +src_install() { + default + + dodoc AUTHORS README ChangeLog + + 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 +} |