summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-07-31 13:34:18 +0200
committerDavid Seifert <soap@gentoo.org>2022-07-31 13:34:18 +0200
commitb082eeda0734cd2695ad00fba618e465b85e9d6d (patch)
tree86320ab4cb7bed207a1dd26265ff407f970e7ab2 /app-editors
parentsys-devel/bison: add github upstream metadata (diff)
downloadgentoo-b082eeda0734cd2695ad00fba618e465b85e9d6d.tar.gz
gentoo-b082eeda0734cd2695ad00fba618e465b85e9d6d.tar.bz2
gentoo-b082eeda0734cd2695ad00fba618e465b85e9d6d.zip
app-editors/moe: add 1.12
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/moe/Manifest1
-rw-r--r--app-editors/moe/files/moe-1.12-respect-user-flags.patch17
-rw-r--r--app-editors/moe/moe-1.12.ebuild27
3 files changed, 45 insertions, 0 deletions
diff --git a/app-editors/moe/Manifest b/app-editors/moe/Manifest
index fda80cb2889c..12f164fcd297 100644
--- a/app-editors/moe/Manifest
+++ b/app-editors/moe/Manifest
@@ -1,3 +1,4 @@
DIST moe-1.10.tar.lz 84050 BLAKE2B 2e49aba27cdd603fbc9a4eb0fef5e086a527087d72f30f68beb4e3389de0ccdd85fec5bf753b3187d64cd6549ac5738c89e94c543c141f88896c580e7c33ad42 SHA512 3908d7906aa7dcb8bd4a5d340fe94b06fc91814098c20e8939906c2b0e03e1a8a3c95847b5f8111a5d9f37636a2fafa52f9105e0e8fa0ad8b16c2f9e9dede748
DIST moe-1.11.tar.lz 89532 BLAKE2B 8479c8bb0504e614b4ad87e47ae89d1f0eb23141ff71ef3e46eb316424dfe87150f2d9474e1dbd3510fa9b1da517bd6afe47b2cd36f1aa70630b371f0f6bec3a SHA512 147f3500909739371290fc2f703ef5fab286d2ca385f6808ee3e0cb1cbae2ed58a0b5046d30ad5d24215dc28d77f0bba4efacb144c116209d89d023e731e8a39
+DIST moe-1.12.tar.lz 87917 BLAKE2B b036b24193045cd5c64812af13e6cf542700e649e78f3ba416501d0915c0ac2eef09bebdb333d145e0428dfacdccef431588ce93b1f407a41a7bd7e0acbc163c SHA512 f0d5daba70d0018ce82d6673749b8f688c0bac58de7684cc24f5badffd6868d425c9f771404186ab5cec12ab94c3e20af870bd920bfef0432a622925838ebed7
DIST moe-1.9.tar.lz 82046 BLAKE2B 9144dfc4ce17bc04f3ad9aa9ec271f173df6c581705e5d922a346f94c086a97af9429478c016d7081c1fd38787055666504f04d25a8b9f5c1020dc147aaafdb0 SHA512 277700e4a796e1a7aee42de55ba4599a350a612f95a1a2eca5078d85f6f9a7db190fb5611eb2f286c98580af847a2934bf38a4bce10176db4c5cddc2d257f929
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
new file mode 100644
index 000000000000..2a83cb7d4c2f
--- /dev/null
+++ b/app-editors/moe/files/moe-1.12-respect-user-flags.patch
@@ -0,0 +1,17 @@
+--- a/configure
++++ b/configure
+@@ -21,11 +21,9 @@
+ infodir='$(datarootdir)/info'
+ mandir='$(datarootdir)/man'
+ sysconfdir='$(prefix)/etc'
+-CXX=g++
+-CPPFLAGS=
+-CXXFLAGS='-Wall -W -O2'
+-LDFLAGS=
+-LIBS=-lncurses
++CPPFLAGS="$(${PKG_CONFIG} --cflags ncurses) ${CPPFLAGS}"
++CXXFLAGS="-Wall -W ${CXXFLAGS}"
++LIBS="$(${PKG_CONFIG} --libs ncurses) ${LIBS}"
+
+ # checking whether we are using GNU C++.
+ /bin/sh -c "${CXX} --version" > /dev/null 2>&1 || { CXX=c++ ; CXXFLAGS=-O2 ; }
diff --git a/app-editors/moe/moe-1.12.ebuild b/app-editors/moe/moe-1.12.ebuild
new file mode 100644
index 000000000000..5b893619380a
--- /dev/null
+++ b/app-editors/moe/moe-1.12.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs unpacker
+
+DESCRIPTION="A powerful and user-friendly console text editor"
+HOMEPAGE="https://www.gnu.org/software/moe/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.lz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="sys-libs/ncurses:="
+DEPEND="${RDEPEND}"
+BDEPEND="
+ $(unpacker_src_uri_depends)
+ virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.12-respect-user-flags.patch )
+
+src_configure() {
+ tc-export CXX PKG_CONFIG
+ default
+}