1 |
commit: b082eeda0734cd2695ad00fba618e465b85e9d6d |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 31 11:34:18 2022 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 31 11:34:18 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b082eeda |
7 |
|
8 |
app-editors/moe: add 1.12 |
9 |
|
10 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
11 |
|
12 |
app-editors/moe/Manifest | 1 + |
13 |
.../moe/files/moe-1.12-respect-user-flags.patch | 17 ++++++++++++++ |
14 |
app-editors/moe/moe-1.12.ebuild | 27 ++++++++++++++++++++++ |
15 |
3 files changed, 45 insertions(+) |
16 |
|
17 |
diff --git a/app-editors/moe/Manifest b/app-editors/moe/Manifest |
18 |
index fda80cb2889c..12f164fcd297 100644 |
19 |
--- a/app-editors/moe/Manifest |
20 |
+++ b/app-editors/moe/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST moe-1.10.tar.lz 84050 BLAKE2B 2e49aba27cdd603fbc9a4eb0fef5e086a527087d72f30f68beb4e3389de0ccdd85fec5bf753b3187d64cd6549ac5738c89e94c543c141f88896c580e7c33ad42 SHA512 3908d7906aa7dcb8bd4a5d340fe94b06fc91814098c20e8939906c2b0e03e1a8a3c95847b5f8111a5d9f37636a2fafa52f9105e0e8fa0ad8b16c2f9e9dede748 |
23 |
DIST moe-1.11.tar.lz 89532 BLAKE2B 8479c8bb0504e614b4ad87e47ae89d1f0eb23141ff71ef3e46eb316424dfe87150f2d9474e1dbd3510fa9b1da517bd6afe47b2cd36f1aa70630b371f0f6bec3a SHA512 147f3500909739371290fc2f703ef5fab286d2ca385f6808ee3e0cb1cbae2ed58a0b5046d30ad5d24215dc28d77f0bba4efacb144c116209d89d023e731e8a39 |
24 |
+DIST moe-1.12.tar.lz 87917 BLAKE2B b036b24193045cd5c64812af13e6cf542700e649e78f3ba416501d0915c0ac2eef09bebdb333d145e0428dfacdccef431588ce93b1f407a41a7bd7e0acbc163c SHA512 f0d5daba70d0018ce82d6673749b8f688c0bac58de7684cc24f5badffd6868d425c9f771404186ab5cec12ab94c3e20af870bd920bfef0432a622925838ebed7 |
25 |
DIST moe-1.9.tar.lz 82046 BLAKE2B 9144dfc4ce17bc04f3ad9aa9ec271f173df6c581705e5d922a346f94c086a97af9429478c016d7081c1fd38787055666504f04d25a8b9f5c1020dc147aaafdb0 SHA512 277700e4a796e1a7aee42de55ba4599a350a612f95a1a2eca5078d85f6f9a7db190fb5611eb2f286c98580af847a2934bf38a4bce10176db4c5cddc2d257f929 |
26 |
|
27 |
diff --git a/app-editors/moe/files/moe-1.12-respect-user-flags.patch b/app-editors/moe/files/moe-1.12-respect-user-flags.patch |
28 |
new file mode 100644 |
29 |
index 000000000000..2a83cb7d4c2f |
30 |
--- /dev/null |
31 |
+++ b/app-editors/moe/files/moe-1.12-respect-user-flags.patch |
32 |
@@ -0,0 +1,17 @@ |
33 |
+--- a/configure |
34 |
++++ b/configure |
35 |
+@@ -21,11 +21,9 @@ |
36 |
+ infodir='$(datarootdir)/info' |
37 |
+ mandir='$(datarootdir)/man' |
38 |
+ sysconfdir='$(prefix)/etc' |
39 |
+-CXX=g++ |
40 |
+-CPPFLAGS= |
41 |
+-CXXFLAGS='-Wall -W -O2' |
42 |
+-LDFLAGS= |
43 |
+-LIBS=-lncurses |
44 |
++CPPFLAGS="$(${PKG_CONFIG} --cflags ncurses) ${CPPFLAGS}" |
45 |
++CXXFLAGS="-Wall -W ${CXXFLAGS}" |
46 |
++LIBS="$(${PKG_CONFIG} --libs ncurses) ${LIBS}" |
47 |
+ |
48 |
+ # checking whether we are using GNU C++. |
49 |
+ /bin/sh -c "${CXX} --version" > /dev/null 2>&1 || { CXX=c++ ; CXXFLAGS=-O2 ; } |
50 |
|
51 |
diff --git a/app-editors/moe/moe-1.12.ebuild b/app-editors/moe/moe-1.12.ebuild |
52 |
new file mode 100644 |
53 |
index 000000000000..5b893619380a |
54 |
--- /dev/null |
55 |
+++ b/app-editors/moe/moe-1.12.ebuild |
56 |
@@ -0,0 +1,27 @@ |
57 |
+# Copyright 1999-2022 Gentoo Authors |
58 |
+# Distributed under the terms of the GNU General Public License v2 |
59 |
+ |
60 |
+EAPI=8 |
61 |
+ |
62 |
+inherit toolchain-funcs unpacker |
63 |
+ |
64 |
+DESCRIPTION="A powerful and user-friendly console text editor" |
65 |
+HOMEPAGE="https://www.gnu.org/software/moe/" |
66 |
+SRC_URI="mirror://gnu/${PN}/${P}.tar.lz" |
67 |
+ |
68 |
+LICENSE="GPL-3" |
69 |
+SLOT="0" |
70 |
+KEYWORDS="~amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux" |
71 |
+ |
72 |
+RDEPEND="sys-libs/ncurses:=" |
73 |
+DEPEND="${RDEPEND}" |
74 |
+BDEPEND=" |
75 |
+ $(unpacker_src_uri_depends) |
76 |
+ virtual/pkgconfig" |
77 |
+ |
78 |
+PATCHES=( "${FILESDIR}"/${PN}-1.12-respect-user-flags.patch ) |
79 |
+ |
80 |
+src_configure() { |
81 |
+ tc-export CXX PKG_CONFIG |
82 |
+ default |
83 |
+} |