summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-08-23 07:36:47 -0400
committerTim Harder <radhermit@gentoo.org>2017-08-23 07:36:47 -0400
commit3723ed6308c70aaf0478fbf8b6e2c6866213b4ca (patch)
tree72af885895bf71ab3ec05db1f684935e1231daf1 /dev-libs/libtermkey
parentmedia-libs/libdvdnav: use https for git repo (diff)
downloadgentoo-3723ed6308c70aaf0478fbf8b6e2c6866213b4ca.tar.gz
gentoo-3723ed6308c70aaf0478fbf8b6e2c6866213b4ca.tar.bz2
gentoo-3723ed6308c70aaf0478fbf8b6e2c6866213b4ca.zip
dev-libs/libtermkey: version bump to 0.20
Diffstat (limited to 'dev-libs/libtermkey')
-rw-r--r--dev-libs/libtermkey/Manifest1
-rw-r--r--dev-libs/libtermkey/libtermkey-0.20.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-libs/libtermkey/Manifest b/dev-libs/libtermkey/Manifest
index 1ddf624b7667..0e3a551d49b4 100644
--- a/dev-libs/libtermkey/Manifest
+++ b/dev-libs/libtermkey/Manifest
@@ -1,3 +1,4 @@
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
DIST libtermkey-0.19.tar.gz 43148 SHA256 c505aa4cb48c8fa59c526265576b97a19e6ebe7b7da20f4ecaae898b727b48b7 SHA512 052ea6bcc7e440808e90e2f4912370985f3429866539a01f28676f1deb29381176bfa43de4c54ec1fa2682b399432c7a85c236c9de648a3c0f60087d2908e2d1 WHIRLPOOL d2a74067756c7da8ae46dc6bb4c84062e66d7f04b9f78ea424d16435dcde8401ed778fd357fcb6cbbe9a52c8395622296570d9236254086b86b4bfee27dcf6ec
+DIST libtermkey-0.20.tar.gz 45167 SHA256 6c0d87c94ab9915e76ecd313baec08dedf3bd56de83743d9aa923a081935d2f5 SHA512 81a4bc5917c60ca692ec3065ac0252ae5dc1adccc2832be1c83c82318c97473d883900ab88a8a0ee08ab3f831ff07f3a4827ee3d8e936a3a42c4708ee58f6301 WHIRLPOOL 0379b75cd014345dc8d7f03614e7b1304d516b69ace8b7df2e1e4e6bb31e53a6a4e5d6c1aad5d7e181b6be0f710bbaa4820b66a55a0711d1ed2ef88973d67741
diff --git a/dev-libs/libtermkey/libtermkey-0.20.ebuild b/dev-libs/libtermkey/libtermkey-0.20.ebuild
new file mode 100644
index 000000000000..dfd18c20e65d
--- /dev/null
+++ b/dev-libs/libtermkey/libtermkey-0.20.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit flag-o-matic
+
+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 static-libs"
+
+RDEPEND="dev-libs/unibilium:="
+DEPEND="${RDEPEND}
+ sys-devel/libtool
+ virtual/pkgconfig
+ demos? ( dev-libs/glib:2 )"
+
+src_prepare() {
+ default
+
+ if ! use demos; then
+ sed -e '/^all:/s:$(DEMOS)::' -i Makefile || die
+ fi
+}
+
+src_compile() {
+ append-flags -fPIC
+ emake PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" all
+}
+
+src_install() {
+ emake PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" DESTDIR="${D}" install
+ use static-libs || rm "${ED}"/usr/$(get_libdir)/${PN}.a || die
+ rm "${ED}"/usr/$(get_libdir)/${PN}.la || die
+}