diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-03-20 14:02:11 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-03-20 14:03:47 +0100 |
commit | e64592dad2e22cc58b5c19ac5d2b2c180c12f1fc (patch) | |
tree | d27303016beb41e43e20b4c6a949d6ab44fe2bfd /app-text/xchm | |
parent | desktop/gnome/package.use: enable gegl[raw,jpeg2k] for gnome-photos (diff) | |
download | gentoo-e64592dad2e22cc58b5c19ac5d2b2c180c12f1fc.tar.gz gentoo-e64592dad2e22cc58b5c19ac5d2b2c180c12f1fc.tar.bz2 gentoo-e64592dad2e22cc58b5c19ac5d2b2c180c12f1fc.zip |
app-text/xchm: Version 1.27
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.27.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/app-text/xchm/Manifest b/app-text/xchm/Manifest index 2ab69245d75a..1a796e9e0731 100644 --- a/app-text/xchm/Manifest +++ b/app-text/xchm/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/app-text/xchm/xchm-1.27.ebuild b/app-text/xchm/xchm-1.27.ebuild new file mode 100644 index 000000000000..a2c546cdaf3c --- /dev/null +++ b/app-text/xchm/xchm-1.27.ebuild @@ -0,0 +1,52 @@ +# 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 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" + +DEPEND=" + >=dev-libs/chmlib-0.36 + x11-libs/wxGTK:${WX_GTK_VER}[X] +" +RDEPEND=" + ${DEPEND} +" + +src_prepare() { + setup-wxwidgets + default +} + +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 +} |