logo

overlay

My (experimental) gentoo overlay
commit: 97a1504d7a89452e5cc3f7e9aeb68812bd80a627
parent: 0231e2378117a6af54270053646fa72d721971d5
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed,  4 Dec 2019 16:00:43 +0100

dev-libs/libtermkey: Remove, gentoo has 0.22

Diffstat:

Ddev-libs/libtermkey/Manifest1-
Ddev-libs/libtermkey/files/libtermkey-0.21.1_no_manpage_compression.patch20--------------------
Ddev-libs/libtermkey/libtermkey-0.21.1-r1.ebuild42------------------------------------------
Ddev-libs/libtermkey/metadata.xml11-----------
4 files changed, 0 insertions(+), 74 deletions(-)

diff --git a/dev-libs/libtermkey/Manifest b/dev-libs/libtermkey/Manifest @@ -1 +0,0 @@ -DIST libtermkey-0.21.1.tar.gz 45209 BLAKE2B 04197fc019180a6745df2afc5e62fb6508455fe0483db9523dfbd8ce06199abb5295202c713169c54c14c446d35d075a6fa3889a96a160eac399d19234004776 SHA512 9cd02b7d0f0304ea9d14affabba4e0f742295e6d43c20450a71cb575bb95d28da2c757f7708c83e6de10ed8157efd66e1174b8c4e5ae33f75e52b8d2396cdfce diff --git a/dev-libs/libtermkey/files/libtermkey-0.21.1_no_manpage_compression.patch b/dev-libs/libtermkey/files/libtermkey-0.21.1_no_manpage_compression.patch @@ -1,20 +0,0 @@ -diff --git a/Makefile b/Makefile ---- a/Makefile -+++ b/Makefile -@@ -121,13 +121,13 @@ install-lib: $(LIBRARY) - install-man: - install -d $(DESTDIR)$(MAN3DIR) - install -d $(DESTDIR)$(MAN7DIR) - for F in man/*.3; do \ -- gzip <$$F >$(DESTDIR)$(MAN3DIR)/$${F#man/}.gz; \ -+ cp $$F $(DESTDIR)$(MAN3DIR)/$${F#man/}; \ - done - for F in man/*.7; do \ -- gzip <$$F >$(DESTDIR)$(MAN7DIR)/$${F#man/}.gz; \ -+ cp $$F $(DESTDIR)$(MAN7DIR)/$${F#man/}; \ - done - while read FROM EQ TO; do \ -- echo ln -sf $$TO.gz $(DESTDIR)$(MAN3DIR)/$$FROM.gz; \ -+ ln -sf $$TO $(DESTDIR)$(MAN3DIR)/$$FROM; \ - done < man/also - diff --git a/dev-libs/libtermkey/libtermkey-0.21.1-r1.ebuild b/dev-libs/libtermkey/libtermkey-0.21.1-r1.ebuild @@ -1,42 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -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 )" - -PATCHES=( "${FILESDIR}/${P}_no_manpage_compression.patch" ) - -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 -} diff --git a/dev-libs/libtermkey/metadata.xml b/dev-libs/libtermkey/metadata.xml @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>contact@hacktivis.me</email> - <name>Haelwenn (lanodan) Monnier</name> - </maintainer> - <use> - <flag name="demos">Install demos, which pulls in <pkg>dev-libs/glib</pkg></flag> - </use> -</pkgmetadata>