1 |
commit: 67b32ca6f2613344577ed24197fe9849b1afdd83 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 3 14:19:40 2020 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 3 14:41:51 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67b32ca6 |
7 |
|
8 |
x11-misc/j4-dmenu-desktop: bump to version 2.18 |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
12 |
|
13 |
x11-misc/j4-dmenu-desktop/Manifest | 1 + |
14 |
.../j4-dmenu-desktop/j4-dmenu-desktop-2.18.ebuild | 56 ++++++++++++++++++++++ |
15 |
2 files changed, 57 insertions(+) |
16 |
|
17 |
diff --git a/x11-misc/j4-dmenu-desktop/Manifest b/x11-misc/j4-dmenu-desktop/Manifest |
18 |
index cae85a9f547..e6b92c2ca98 100644 |
19 |
--- a/x11-misc/j4-dmenu-desktop/Manifest |
20 |
+++ b/x11-misc/j4-dmenu-desktop/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST j4-dmenu-desktop-2.17.tar.gz 33531 BLAKE2B c1dd82a444efdbbf2af644ee6cdba6746a81228c5f6b2d212d5ea248628855f1cd1c4dff091ae278eb8c6458db4934b60acd8e2dd9a9c88b32537e76878824b3 SHA512 7a41bb60a6b3afa7bf6229f08674d5f31e0152d0788a17edc210986d1b1f0d4fad13ffaa13c58ed7a0c5d2e67f8f95bb2a0f6556aeb0f2cc24c7d885b346325e |
23 |
+DIST j4-dmenu-desktop-2.18.tar.gz 34785 BLAKE2B 26d5861d6d7ddcd9653a464d1175d19532001705de193811087fd42fddbdead89b8d49bd14f8e323288d6a7ba37bd4e11f4c7c52dd9b0a454f95a83a14853bcb SHA512 f8b0c825d567d60da0fb418e6f0b24a6d9daa9fb142b194b0a8b249303f4e09b6694fce72bf031007ac67253e488fc7666d4ba7beb032bc74cc2a32aca0f6c96 |
24 |
|
25 |
diff --git a/x11-misc/j4-dmenu-desktop/j4-dmenu-desktop-2.18.ebuild b/x11-misc/j4-dmenu-desktop/j4-dmenu-desktop-2.18.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..407d1d55918 |
28 |
--- /dev/null |
29 |
+++ b/x11-misc/j4-dmenu-desktop/j4-dmenu-desktop-2.18.ebuild |
30 |
@@ -0,0 +1,56 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit cmake |
37 |
+ |
38 |
+MY_PV="r${PV}" |
39 |
+ |
40 |
+DESCRIPTION="A fast desktop replacement for i3-dmenu-desktop" |
41 |
+HOMEPAGE="https://github.com/enkore/j4-dmenu-desktop" |
42 |
+SRC_URI="https://github.com/enkore/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-3+" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+IUSE="+dmenu test" |
48 |
+RESTRICT="!test? ( test )" |
49 |
+ |
50 |
+DEPEND="test? ( dev-cpp/catch:1 )" |
51 |
+RDEPEND="dmenu? ( x11-misc/dmenu )" |
52 |
+ |
53 |
+S="${WORKDIR}/${PN}-${MY_PV}" |
54 |
+ |
55 |
+src_prepare() { |
56 |
+ cmake_src_prepare |
57 |
+ |
58 |
+ # Respect users CFLAGS |
59 |
+ sed -i -e "s/-pedantic -O2//" CMakeLists.txt || die |
60 |
+} |
61 |
+ |
62 |
+src_configure() { |
63 |
+ local mycmakeargs=( |
64 |
+ -DWITH_GIT_CATCH="no" |
65 |
+ -DWITH_TESTS="$(usex test)" |
66 |
+ ) |
67 |
+ |
68 |
+ cmake_src_configure |
69 |
+} |
70 |
+ |
71 |
+src_install() { |
72 |
+ cmake_src_install |
73 |
+ |
74 |
+ doman j4-dmenu-desktop.1 |
75 |
+} |
76 |
+ |
77 |
+pkg_postinst() { |
78 |
+ if ! use dmenu; then |
79 |
+ elog "As you have disabled the 'dmenu' use flag," |
80 |
+ elog "x11-misc/dmenu won't be installed by default." |
81 |
+ elog "" |
82 |
+ elog "Since x11-misc/j4-dmenu-desktop uses x11-misc/dmenu as default," |
83 |
+ elog "you must configure your own replacement with --dmenu=<command>," |
84 |
+ elog "as otherwise it won't work." |
85 |
+ fi |
86 |
+} |