diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-04-06 10:47:33 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-04-06 10:49:42 +0200 |
commit | e5413727768ebd4925b8828537541030c7187b4b (patch) | |
tree | dd630bf0de13a30902ccd0ce4da027d3a0e4c092 /app-text/xchm | |
parent | dev-ruby/sass: add 3.7.4 (diff) | |
download | gentoo-e5413727768ebd4925b8828537541030c7187b4b.tar.gz gentoo-e5413727768ebd4925b8828537541030c7187b4b.tar.bz2 gentoo-e5413727768ebd4925b8828537541030c7187b4b.zip |
app-text/xchm: Version 1.28
Package-Manager: Portage-2.3.62, Repoman-2.3.12
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.28.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/app-text/xchm/Manifest b/app-text/xchm/Manifest index 1a796e9e0731..238b15b67d50 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.26.tar.gz 785338 BLAKE2B b5aedff3de1a3c79205f27b833e339fa24ac08710ab2c97199fdd10f5674ee7d4a4689e275d9f6df4b6eb34c60cf2d36c5938924c4c0d73e37c2a464a1c63695 SHA512 8ed0281a2b2969f83d474b89e828545096b4ad9ece451cff2bdb602079751f6f6ca2c8f3c8cd79740ab0b4e5b2c3a3f8ce4e6f4985dc158b5d76007b7bc549a3 DIST xchm-1.27.tar.gz 957753 BLAKE2B 84df84712d092a29692d287570f35893fb38a47f571f112093b6b7529ee5bceb22c439e7842377b2181f823bd069911c4889dc6ff794654d18cee589cf78e897 SHA512 82b003569307fc76f35acea51fe3d615601f185e084a9789b9757db60547d45af84428b63efbe645f9e20161815a1801d6a96a38c004cb1280e4ede35b02c014 +DIST xchm-1.28.tar.gz 984545 BLAKE2B b91e6983823a3f08b2df296c7d651e1a3a017824034d86dc5cb51dd327fa240e098afe5c5a186d27d57f54e02e2c6546cfe8e82acfd21d89b2cbbedd2ed9a829 SHA512 5d773b097ec813d991ceba4842c5cf967d4f2d0e20c84aff636615a92d000bac36d5ebf244a18f416928bd9b24792a5baf19397694201372478cd13111080630 diff --git a/app-text/xchm/xchm-1.28.ebuild b/app-text/xchm/xchm-1.28.ebuild new file mode 100644 index 000000000000..9f81e492b56b --- /dev/null +++ b/app-text/xchm/xchm-1.28.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +WX_GTK_VER="3.0-gtk3" + +inherit autotools wxwidgets xdg-utils + +DESCRIPTION="Utility for viewing Compiled HTML Help (CHM) files" +HOMEPAGE="https://github.com/rzvncj/xCHM/" +SRC_URI="${HOMEPAGE}releases/download/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="nls" + +DEPEND=" + >=dev-libs/chmlib-0.36 + x11-libs/wxGTK:${WX_GTK_VER}[X] +" +RDEPEND=" + ${DEPEND} +" + +src_prepare() { + setup-wxwidgets + default + eautoreconf # Still needed on the next release? +} + +src_configure() { + econf $(use_enable nls) +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc AUTHORS README ChangeLog + + cp "${D}"/usr/share/pixmaps/xchm-32.xpm "${D}"/usr/share/pixmaps/xchm.xpm + rm -f "${D}"/usr/share/pixmaps/xchm-*.xpm + rm -f "${D}"/usr/share/pixmaps/xchmdoc*.xpm + + domenu "${FILESDIR}"/xchm.desktop + insinto /usr/share/mime/packages + doins "${FILESDIR}"/xchm.xml +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} |