summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Schulz <jason@schulz.name>2015-12-06 14:47:42 -0800
committerJason Schulz <jason@schulz.name>2015-12-07 12:00:29 -0800
commit0d3e12ca80607b9669f65fad7a5df3adf6ffbbfc (patch)
tree69f1c7b01a856050efed42bdbce73b2e979aa2d6 /dev-libs
parentapp-crypt/gnupg: Version bump to 2.1.10 (diff)
downloadgentoo-0d3e12ca80607b9669f65fad7a5df3adf6ffbbfc.tar.gz
gentoo-0d3e12ca80607b9669f65fad7a5df3adf6ffbbfc.tar.bz2
gentoo-0d3e12ca80607b9669f65fad7a5df3adf6ffbbfc.zip
dev-libs/libtermkey: version update to 0.18
This fixes a bug with <=app-editor/neovim-0.1.0. Gentoo-Bug: 566692 Suggested-By: Jason Schulz <jason@schulz.name>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libtermkey/Manifest1
-rw-r--r--dev-libs/libtermkey/libtermkey-0.18.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/libtermkey/Manifest b/dev-libs/libtermkey/Manifest
index e3c9ef48e65..8224b434961 100644
--- a/dev-libs/libtermkey/Manifest
+++ b/dev-libs/libtermkey/Manifest
@@ -1 +1,2 @@
DIST libtermkey-0.17.tar.gz 42176 SHA256 68949364ed5eaad857b3dea10071cde74b00b9f236dfbb702169f246c3cef389 SHA512 8b96f9961ff77872a974b376c73abc4afbe444a761f96b3681fc5420e33548a02609bf8b2b24494965824ca5dd80c953d1d4e2701070559365633d7bf0fdcb12 WHIRLPOOL ef755c2de422d8778d8501be3aefe249b6194e71ffd862a2479158c009dd483508e6a4e35a5a1338d219e585ad465ccd3cfecfc8db6c7cd0440aa802d71f645a
+DIST libtermkey-0.18.tar.gz 42317 SHA256 239746de41c845af52bb3c14055558f743292dd6c24ac26c2d6567a5a6093926 SHA512 7507d7bf22ab075e932401b2194dcc69b40138955dc398c86327a072603df2a1010474fa9a1c75aa7cab936fa500e5e53118675b0ec6e9a85b66a1b6b7f5332e WHIRLPOOL 065b7ec2ae25002846ba579a2c225c603f45798724a2366a1bf50da4b2ad027bda0306376438b722b00b0adb4c9a1060412c77b5b272896f533ac731dc862622
diff --git a/dev-libs/libtermkey/libtermkey-0.18.ebuild b/dev-libs/libtermkey/libtermkey-0.18.ebuild
new file mode 100644
index 00000000000..1bdda24cf39
--- /dev/null
+++ b/dev-libs/libtermkey/libtermkey-0.18.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils flag-o-matic multilib
+
+DESCRIPTION="Library for easy processing of keyboard entry from terminal-based programs"
+HOMEPAGE="http://www.leonerd.org.uk/code/libtermkey/"
+SRC_URI="http://www.leonerd.org.uk/code/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="demos"
+
+RDEPEND="dev-libs/unibilium:="
+DEPEND="${RDEPEND}
+ sys-devel/libtool
+ virtual/pkgconfig
+ demos? ( dev-libs/glib:2 )"
+
+src_prepare() {
+ if ! use demos; then
+ sed -e '/^all:/s:$(DEMOS)::' -i Makefile || die
+ fi
+}
+
+src_compile() {
+ append-flags -fPIC -fPIE
+ emake PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" all
+}
+
+src_install() {
+ emake PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+ DESTDIR="${D}" install
+ prune_libtool_files
+}