public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-editors/hexcurse/files/, app-editors/hexcurse/
@ 2017-08-01 15:00 Lars Wendler
  0 siblings, 0 replies; only message in thread
From: Lars Wendler @ 2017-08-01 15:00 UTC (permalink / raw
  To: gentoo-commits

commit:     ceb830de0133e302a9db9589b0aaf9f5f0e7ce9e
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  1 14:59:56 2017 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Aug  1 15:00:07 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ceb830de

app-editors/hexcurse: Bump to version 1.60.0

Package-Manager: Portage-2.3.6, Repoman-2.3.3
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 app-editors/hexcurse/Manifest                      |  1 +
 .../hexcurse/files/hexcurse-1.60.0-tinfo.patch     | 13 +++++++++
 app-editors/hexcurse/hexcurse-1.60.0.ebuild        | 32 ++++++++++++++++++++++
 app-editors/hexcurse/metadata.xml                  | 17 +++++++-----
 4 files changed, 56 insertions(+), 7 deletions(-)

diff --git a/app-editors/hexcurse/Manifest b/app-editors/hexcurse/Manifest
index 69ec25732b1..5ce4605e23e 100644
--- a/app-editors/hexcurse/Manifest
+++ b/app-editors/hexcurse/Manifest
@@ -1 +1,2 @@
 DIST hexcurse-1.55.tar.gz 113512 SHA256 b8d589f80acfa590fddd60d9482cf6ba38b295bf785ae4e0aff37b5ab436cb16 SHA512 39f9eae0bb891bdfb702fb871b75c53d15acf6e74b3272b616f00303f444bfddced6fbe3041eb3769fa90fbc226dd584f5d84f7427b659e63f3b74511938a4a7 WHIRLPOOL ee8a5ac7db87db654db1486872687bd8c7dcea7b5376704522a16d58cc467a6ec5409dadacd2ddcb36fd30689268dec334f59cd5885a19b78e666a5ffb7befec
+DIST hexcurse-1.60.0.tar.gz 171904 SHA256 f6919e4a824ee354f003f0c42e4c4cef98a93aa7e3aa449caedd13f9a2db5530 SHA512 2301f10e9190922fc61cbbe3a834826ebf87bc5ece9191d368181e2336af240e68cbe46e3a60dee3e0e42281b2f05ae4a7060ee1083b37f4906eacc66e58a094 WHIRLPOOL 738961ef81afe56f36b3930e16b52f88fb98c5c8ffd026ec2d2dd155355365ec03996a023139400c0c22ccd902fbd4ab683237efee55198e6223515a405226e0

diff --git a/app-editors/hexcurse/files/hexcurse-1.60.0-tinfo.patch b/app-editors/hexcurse/files/hexcurse-1.60.0-tinfo.patch
new file mode 100644
index 00000000000..e5e0fe0ac40
--- /dev/null
+++ b/app-editors/hexcurse/files/hexcurse-1.60.0-tinfo.patch
@@ -0,0 +1,13 @@
+--- hexcurse-1.60.0/configure.ac
++++ hexcurse-1.60.0/configure.ac
+@@ -15,7 +15,9 @@
+ 
+ dnl Checks for libraries.
+ dnl Replace `main' with a function in -lncurses:
+-AC_CHECK_LIB(ncurses, initscr,,[AC_CHECK_LIB(curses, initscr,,[AC_MSG_ERROR([ncurses library not found])])])
++AC_CHECK_LIB(ncurses, initscr)
++AC_SEARCH_LIBS(initscr,curses)
++AC_SEARCH_LIBS(LINES,tinfo)
+ 
+ dnl Checks for header files.
+ AC_HEADER_STDC

diff --git a/app-editors/hexcurse/hexcurse-1.60.0.ebuild b/app-editors/hexcurse/hexcurse-1.60.0.ebuild
new file mode 100644
index 00000000000..568f74ebbb8
--- /dev/null
+++ b/app-editors/hexcurse/hexcurse-1.60.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools
+
+DESCRIPTION="ncurses based hex editor"
+HOMEPAGE="https://github.com/LonnyGomes/hexcurse"
+SRC_URI="https://github.com/LonnyGomes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+RDEPEND=">=sys-libs/ncurses-5.2:0="
+DEPEND="
+	${RDEPEND}
+"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-1.60.0-tinfo.patch"
+)
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_install() {
+	emake install DESTDIR="${D}"
+	dodoc AUTHORS ChangeLog NEWS README
+}

diff --git a/app-editors/hexcurse/metadata.xml b/app-editors/hexcurse/metadata.xml
index b75e8cfaa4d..05c3859ddba 100644
--- a/app-editors/hexcurse/metadata.xml
+++ b/app-editors/hexcurse/metadata.xml
@@ -1,11 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer type="project">
-	<email>base-system@gentoo.org</email>
-	<name>Gentoo Base System</name>
-</maintainer>
-<longdescription>
-A console-based hex editor for the *NIX platform which uses the ncurses library.
-</longdescription>
+	<maintainer type="project">
+		<email>base-system@gentoo.org</email>
+		<name>Gentoo Base System</name>
+	</maintainer>
+	<longdescription>
+		A console-based hex editor for the *NIX platform which uses the ncurses library.
+	</longdescription>
+	<upstream>
+		<remote-id type="github">LonnyGomes/hexcurse</remote-id>
+	</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-08-01 15:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-01 15:00 [gentoo-commits] repo/gentoo:master commit in: app-editors/hexcurse/files/, app-editors/hexcurse/ Lars Wendler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox