1 |
commit: 309788be368dd9f4c26eb924e3dd98510946ef5d |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 24 13:47:53 2022 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 24 13:47:58 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=309788be |
7 |
|
8 |
app-text/xchm: drop live ebuild |
9 |
|
10 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
11 |
|
12 |
app-text/xchm/xchm-9999.ebuild | 58 ------------------------------------------ |
13 |
1 file changed, 58 deletions(-) |
14 |
|
15 |
diff --git a/app-text/xchm/xchm-9999.ebuild b/app-text/xchm/xchm-9999.ebuild |
16 |
deleted file mode 100644 |
17 |
index b652fcfc7a2e..000000000000 |
18 |
--- a/app-text/xchm/xchm-9999.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,58 +0,0 @@ |
21 |
-# Copyright 1999-2020 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=7 |
25 |
- |
26 |
-WX_GTK_VER="3.0-gtk3" |
27 |
- |
28 |
-inherit autotools desktop wxwidgets xdg-utils |
29 |
- |
30 |
-DESCRIPTION="Utility for viewing Compiled HTML Help (CHM) files" |
31 |
-HOMEPAGE="https://github.com/rzvncj/xCHM/" |
32 |
- |
33 |
-if [[ ${PV} == *9999 ]] ; then |
34 |
- inherit git-r3 |
35 |
- EGIT_REPO_URI="https://github.com/rzvncj/xCHM/" |
36 |
-else |
37 |
- SRC_URI="https://github.com/rzvncj/xCHM/releases/download/${PV}/${P}.tar.gz" |
38 |
- KEYWORDS="~amd64 ~ppc ~x86" |
39 |
-fi |
40 |
- |
41 |
-LICENSE="GPL-2" |
42 |
-SLOT="0" |
43 |
-IUSE="nls" |
44 |
- |
45 |
-RDEPEND=">=dev-libs/chmlib-0.36 |
46 |
- x11-libs/wxGTK:${WX_GTK_VER}[X] |
47 |
- nls? ( virtual/libintl )" |
48 |
-DEPEND="${RDEPEND}" |
49 |
-BDEPEND="nls? ( sys-devel/gettext )" |
50 |
- |
51 |
-src_prepare() { |
52 |
- default |
53 |
- eautoreconf |
54 |
-} |
55 |
- |
56 |
-src_configure() { |
57 |
- econf $(use_enable nls) |
58 |
-} |
59 |
- |
60 |
-src_install() { |
61 |
- default |
62 |
- |
63 |
- domenu "${FILESDIR}"/xchm.desktop |
64 |
- insinto /usr/share/mime/packages |
65 |
- doins "${FILESDIR}"/xchm.xml |
66 |
-} |
67 |
- |
68 |
-pkg_postinst() { |
69 |
- xdg_desktop_database_update |
70 |
- xdg_icon_cache_update |
71 |
- xdg_mimeinfo_database_update |
72 |
-} |
73 |
- |
74 |
-pkg_postrm() { |
75 |
- xdg_desktop_database_update |
76 |
- xdg_icon_cache_update |
77 |
- xdg_mimeinfo_database_update |
78 |
-} |