1 |
commit: 418826c58e5f35a2c4afd6266e32e351009db58e |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 11 06:38:28 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 11 06:38:28 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=418826c5 |
7 |
|
8 |
app-misc/wcd: add 6.0.3 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
app-misc/wcd/Manifest | 1 + |
13 |
app-misc/wcd/wcd-6.0.3.ebuild | 45 +++++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 46 insertions(+) |
15 |
|
16 |
diff --git a/app-misc/wcd/Manifest b/app-misc/wcd/Manifest |
17 |
index e0d3dcf326f..72f7a319888 100644 |
18 |
--- a/app-misc/wcd/Manifest |
19 |
+++ b/app-misc/wcd/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST wcd-6.0.2.tar.gz 713062 BLAKE2B 13a745fd698b009aedb19e688a5deec7d62c42acf2dc430b7f586f300712ad684e8530a9b2477cf2d7a6540769efc98c245215cbe756b78c3902d03430b034d9 SHA512 587a52efaf0a585e4fc8a04a0eb08445cf4c78d38abd7592658f61827aa6cc0f1e8af8643c411d22d74145479c9970b018b11fc7a2a08b4ba7c850097813b06f |
22 |
+DIST wcd-6.0.3.tar.gz 813763 BLAKE2B 2e215c427914705213590d7c5182bebf39becbf24238bd71c5fdd12f7e63894b2ad571793f6d25833edd3f7cd4f3acbb07bbc821880c22d7a5d4f373cd972055 SHA512 b48a6f8a196725b4b570701813cf8a96e13e4fd6289b6c779218acc20ea1ea841e5f8648f717bb389976b715b95856e91bad3ffb20f8d80961d75eae8eacfbe8 |
23 |
|
24 |
diff --git a/app-misc/wcd/wcd-6.0.3.ebuild b/app-misc/wcd/wcd-6.0.3.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..ba979cf0942 |
27 |
--- /dev/null |
28 |
+++ b/app-misc/wcd/wcd-6.0.3.ebuild |
29 |
@@ -0,0 +1,45 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+inherit toolchain-funcs |
36 |
+ |
37 |
+DESCRIPTION="Wherever Change Directory" |
38 |
+HOMEPAGE="http://waterlan.home.xs4all.nl/#WCD_ANCHOR" |
39 |
+SRC_URI="http://waterlan.home.xs4all.nl/${PN}/${P}.tar.gz" |
40 |
+ |
41 |
+SLOT="0" |
42 |
+LICENSE="GPL-2" |
43 |
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" |
44 |
+IUSE="nls unicode" |
45 |
+ |
46 |
+CDEPEND=" |
47 |
+ sys-libs/ncurses:0=[unicode?] |
48 |
+ unicode? ( dev-libs/libunistring:= )" |
49 |
+DEPEND="${CDEPEND} |
50 |
+ app-text/ghostscript-gpl |
51 |
+ virtual/pkgconfig |
52 |
+" |
53 |
+RDEPEND="${CDEPEND}" |
54 |
+ |
55 |
+S="${WORKDIR}/${P}/src" |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ eapply -p2 "${FILESDIR}"/${PN}-6.0.2-gentoo.patch |
59 |
+ eapply_user |
60 |
+ tc-export CC PKG_CONFIG |
61 |
+} |
62 |
+ |
63 |
+src_compile() { |
64 |
+ local mycompile="LFS=1" |
65 |
+ use nls || mycompile+=" ENABLE_NLS=" |
66 |
+ use unicode && mycompile+=" UCS=1 UNINORM=1" |
67 |
+ emake ${mycompile} |
68 |
+} |
69 |
+ |
70 |
+src_install() { |
71 |
+ local DOCS=( ../README.txt ) |
72 |
+ default |
73 |
+ emake DESTDIR="${D}" DOTWCD=1 install-profile sysconfdir="/etc" |
74 |
+} |