From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 964021382C5 for ; Mon, 22 Mar 2021 12:26:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E75A0E083B; Mon, 22 Mar 2021 12:26:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B435FE0841 for ; Mon, 22 Mar 2021 12:26:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B05CD335D67 for ; Mon, 22 Mar 2021 12:26:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3D2115CF for ; Mon, 22 Mar 2021 12:26:10 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1616414577.9934e6cd2cf173ee7bdf078df86c6c576d6c3c7e.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/xchm/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/xchm/Manifest app-text/xchm/xchm-1.32.ebuild X-VCS-Directories: app-text/xchm/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 9934e6cd2cf173ee7bdf078df86c6c576d6c3c7e X-VCS-Branch: master Date: Mon, 22 Mar 2021 12:26:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 19ff80bb-c322-49ed-883d-d21338359cbc X-Archives-Hash: f3ad9d93a64a2b8b026903c9e3e1c9ee commit: 9934e6cd2cf173ee7bdf078df86c6c576d6c3c7e Author: Marek Szuba gentoo org> AuthorDate: Mon Mar 22 12:02:57 2021 +0000 Commit: Marek Szuba gentoo org> CommitDate: Mon Mar 22 12:02:57 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9934e6cd app-text/xchm: bump to 1.32 Signed-off-by: Marek Szuba gentoo.org> app-text/xchm/Manifest | 1 + app-text/xchm/xchm-1.32.ebuild | 47 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/app-text/xchm/Manifest b/app-text/xchm/Manifest index 3c516d632e2..97e59aac51c 100644 --- a/app-text/xchm/Manifest +++ b/app-text/xchm/Manifest @@ -1 +1,2 @@ DIST xchm-1.31.tar.gz 981450 BLAKE2B c0c1908332f4d76f2c4dcf64ed713ae500d1b2022dedb5cb0df294fcdd1ce87d5144ca7347d6bc70b43af29f047ee270ffe05f1ee8da2dae5a5e0586c342900a SHA512 b5e1e979948d202163265f99357b361bb78371a2cc7cdedcc2d2c78207466c3f8291f720c92405913c7c5b9f607d3951a8bb3be3ece3ba1f408ceeb79199e9b5 +DIST xchm-1.32.tar.gz 986604 BLAKE2B f2a1d27ee747bb2d599452f1fa91864afbd2d604e9c27322d70c0925c9c313d4c80ab647ed5bb7ae3672687decfaafb2be23f7b9ed09fb95ae7490b0a65d7cab SHA512 e8250660ff28c80ddda62b886b296d98fb60e8d482ad6791c775a51a860ca78e310222bd0f5baa40c941a3f345c0bb07edb932c0417835ab0b090d14b7b4c0f6 diff --git a/app-text/xchm/xchm-1.32.ebuild b/app-text/xchm/xchm-1.32.ebuild new file mode 100644 index 00000000000..acd284a2aea --- /dev/null +++ b/app-text/xchm/xchm-1.32.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 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}" +BDEPEND="nls? ( sys-devel/gettext )" + +src_configure() { + 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 +}